CVE-2019-8540: Kernel Memory Layout Disclosure in Apple Operating Systems
- Vendor
- Apple
CVE-2019-8540 is a memory initialization vulnerability in Apple operating systems (iOS, macOS, tvOS, watchOS) that allowed a malicious application to determine the kernel memory layout. The issue was due to improper memory initialization, which could result in information disclosure about the kernel's memory organization.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a malicious application to gain knowledge of the kernel memory layout, which can be leveraged to bypass kernel-level security mechanisms such as KASLR (Kernel Address Space Layout Randomization). This increases the likelihood of successful exploitation of other kernel vulnerabilities, potentially leading to privilege escalation or arbitrary code execution.
Mitigation
If you can’t patch tonight, do this now.
Until the system is updated, restrict the installation and execution of untrusted applications, and limit local access to the device to reduce the risk of exploitation.
Remediation
Patch, then assume compromise.
Apple addressed this issue by improving memory handling and initialization in the affected operating systems. Users should update to iOS 12.2, macOS Mojave 10.14.4, tvOS 12.2, or watchOS 5.2 to remediate the vulnerability.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2019-8540 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2019-8540 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2019-8540?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2019-8540, the earliest disclosed May 17, 2019.
- Is there a patch for CVE-2019-8540?
- Apple addressed this issue by improving memory handling and initialization in the affected operating systems. Users should update to iOS 12.2, macOS Mojave 10.14.4, tvOS 12.2, or watchOS 5.2 to remediate the vulnerability.
- What products are affected by CVE-2019-8540?
- Apple Tvos, Apple Watchos, Apple Iphone Os, and Apple Mac Os X.
- How severe is CVE-2019-8540?
- CVE-2019-8540 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 1.6% (76th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.