cbcvebase.
CVE-2019-8646
published 2019-12-18

CVE-2019-8646: An out-of-bounds read was addressed with improved input validation. This issue is fixed in iOS 12.4, macOS Mojave 10.14.6, tvOS 12.4, watchOS 5.3. A remote…

PriorityP182high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
ITWEXPLOITVulnCheck KEVRansomware
Exploited in the wild
EPSS
11.03%
95.4th percentile
An out-of-bounds read was addressed with improved input validation. This issue is fixed in iOS 12.4, macOS Mojave 10.14.6, tvOS 12.4, watchOS 5.3. A remote attacker may be able to leak memory.

Affected

12 ranges
VendorProductVersion rangeFixed in
appleios
appleios>= unspecified < iOS 12.4iOS 12.4
appleiphone_os< 12.412.4
applemac_os_x< 10.14.610.14.6
applemacos>= unspecified < macOS Mojave 10.14.6macOS Mojave 10.14.6
applemacos_mojave_10.14.6_security_update_2019-004_high_sierra_security_update_2019-0
appletvos< 12.412.4
appletvos
appletvos>= unspecified < tvOS 12.4tvOS 12.4
applewatchos< 5.35.3
applewatchos
applewatchos>= unspecified < watchOS 5.3watchOS 5.3

Detection & IOCsextracted from sources · hover to see the quote

domainnatashenka.party
urlhttp://natashenka.party//System/Library/ColorSync/Resources/ColorTables.data
urlhttp://natashenka.party//System/Library/ColorSync/Resources/ColorTables.data?val=a
urlhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/47194.zip
path/System/Library/ColorSync/Resources/ColorTables.data
  • Monitor for deserialization of the class _NSDataFileBackedFuture via NSKeyedUnarchiver, especially when secure encoding is enabled — this class bypasses secure coding restrictions and should not appear in remote iMessage payloads.
  • Alert on _NSDataFileBackedFuture instances whose fileURL uses a remote (http/https) scheme but whose path component resolves to a valid local filesystem path — the class checks path existence but not URL scheme.
  • Detect deserialization of INDeferredLocalizedString in iMessage/Springboard contexts — it is abused to smuggle invalid URL characters past NSURL validation to exfiltrate leaked memory bytes.
  • Detect deserialization of ACZeroingString backed by a _NSDataFileBackedFuture in iMessage deserialization paths — this combination is used to trigger the out-of-bounds read.
  • Monitor Springboard (SpringBoard process) for unexpected outbound HTTP connections to attacker-controlled domains, particularly those whose URL path matches a valid local filesystem path — indicative of CVE-2019-8646 memory leak exfiltration.
  • Flag iMessage payloads containing serialized objects with NSData lengths significantly larger than the actual backing buffer — this is the mechanism used to create out-of-bounds read conditions.
  • ·The PoC exploit requires Frida to be installed on the sending device and only works on iOS 12 or later; it does not affect earlier iOS versions.
  • ·The attacker-controlled domain (natashenka.party in the PoC) must be replaced with an operator-controlled server for the memory-leak exfiltration stage to function; the domain itself is a PoC artifact, not a persistent threat infrastructure indicator.
  • ·The server-side output file length limits in myserver.py are artificially constrained in the PoC and can be removed to expose more leaked data — production exploitation may not have these limits.

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
vulncheck7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.