CVE-2019-6218

HIGH

iPhone OS < 12.1.3, macOS < 10.14.3, tvOS < 12.1.2 - Out-of-bounds Write

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2019-6218. PoCs published by Google Security Research.

AI-analyzed exploit summary This exploit leverages a vulnerability in libxpc's _xpc_serializer_unpack function, where a mach message with the MACH_MSGH_BITS_COMPLEX bit set but a msgh_descriptor_count of 0 can lead to an integer underflow. This causes the code to read an excessive number of port descriptors, potentially allowing arbitrary mach port name deallocation.

Description

A memory corruption issue was addressed with improved input validation. This issue is fixed in iOS 12.1.3, macOS Mojave 10.14.3, tvOS 12.1.2. A malicious application may be able to execute arbitrary code with kernel privileges.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Google Security Research · cdosmultiple
https://www.exploit-db.com/exploits/46297

This exploit leverages a vulnerability in libxpc's _xpc_serializer_unpack function, where a mach message with the MACH_MSGH_BITS_COMPLEX bit set but a msgh_descriptor_count of 0 can lead to an integer underflow. This causes the code to read an excessive number of port descriptors, potentially allowing arbitrary mach port name deallocation.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: libxpc on macOS 10.14.1 (18B75)
No auth needed
Prerequisites: Access to send mach messages to a vulnerable XPC service
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/106695
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT209446
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT209443
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/46297/
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT209447

Scores

CVSS v3 7.8
EPSS 0.0645
EPSS Percentile 91.3%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (3)
apple/iphone_os < 12.1.3
apple/mac_os_x < 10.14.3
apple/tvos < 12.1.2
Published Mar 05, 2019
Tracked Since Feb 18, 2026