CVE-2019-8662
Description
A use-after-free in NSDictionary deserialization could allow an attacker to crash or execute arbitrary code via a crafted NSDictionary.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A use-after-free in NSDictionary deserialization could allow an attacker to crash or execute arbitrary code via a crafted NSDictionary.
Vulnerability
A use-after-free vulnerability exists in the deserialization of NSDictionary objects in Foundation framework. When an application deserializes an untrusted NSDictionary, the memory management can be mishandled, leading to a use-after-free condition. This issue affects iOS versions prior to 12.4, macOS Mojave prior to 10.14.6, tvOS prior to 12.4, and watchOS prior to 5.3 [1][2][3][4].
Exploitation
An attacker can exploit this vulnerability by providing a maliciously crafted NSDictionary to a vulnerable application that deserializes untrusted data. No authentication or special privileges are required if the application processes external input. The attacker must deliver the crafted object via a vector such as a malicious app, email attachment, or web content. Upon deserialization, the use-after-free is triggered, potentially allowing the attacker to control program flow.
Impact
Successful exploitation could lead to arbitrary code execution in the context of the affected application, or cause a denial of service via application crash. The impact is limited to the sandbox of the application, but could be escalated if the application has elevated privileges.
Mitigation
Apple addressed this issue with improved checks in iOS 12.4, macOS Mojave 10.14.6, tvOS 12.4, and watchOS 5.3, all released on July 22, 2019 [1][2][3][4]. Users should update to the latest available versions. No workarounds are documented. This CVE is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog.
- About the security content of macOS Mojave 10.14.6, Security Update 2019-004 High Sierra, Security Update 2019-004 Sierra - Apple Support
- About the security content of iOS 12.4 - Apple Support
- About the security content of tvOS 12.4 - Apple Support
- About the security content of watchOS 5.3 - Apple Support
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
8- Range: < 10.14.6
< 12.4+ 1 more
- (no CPE)range: < 12.4
- (no CPE)range: unspecified
< 5.3+ 1 more
- (no CPE)range: < 5.3
- (no CPE)range: unspecified
< 12.4+ 1 more
- (no CPE)range: < 12.4
- (no CPE)range: unspecified
- Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
4- support.apple.com/HT210346mitrex_refsource_MISC
- support.apple.com/HT210348mitrex_refsource_MISC
- support.apple.com/HT210351mitrex_refsource_MISC
- support.apple.com/HT210353mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.