CVE Vulnerabilities

CVE-2023-38598

Use After Free

Published: Jul 28, 2023 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

A use-after-free issue was addressed with improved memory management. This issue is fixed in watchOS 9.6, macOS Big Sur 11.7.9, iOS 15.7.8 and iPadOS 15.7.8, macOS Monterey 12.6.8, tvOS 16.6, iOS 16.6 and iPadOS 16.6, macOS Ventura 13.5. An app may be able to execute arbitrary code with kernel privileges.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Ipados Apple * 15.7.8 (excluding)
Ipados Apple 16.0 (including) 16.6 (excluding)
Iphone_os Apple * 15.7.8 (excluding)
Iphone_os Apple 16.0 (including) 16.6 (excluding)
Macos Apple * 11.7.9 (excluding)
Macos Apple 12.0 (including) 12.6.8 (excluding)
Macos Apple 13.0 (including) 13.5 (excluding)
Tvos Apple * 16.6 (excluding)
Watchos Apple * 9.6 (excluding)

Potential Mitigations

References