What is the Apple XNU Kernel?
The XNU kernel is the core of all Apple operating systems — iOS, iPadOS, macOS, tvOS, and watchOS. It manages hardware resources, enforces security boundaries between apps and the system, and provides the foundation for all platform security features including the app sandbox, code signing, and process isolation. A kernel privilege escalation means an attacker can bypass every user-space security control on the device.
Overview
CVE-2022-32917 is a kernel out-of-bounds write vulnerability affecting Apple iOS, iPadOS, and macOS. An application with local code execution can exploit the flaw to execute code with kernel-level privileges, enabling a complete sandbox escape and full device or system compromise. Apple confirmed active in-the-wild exploitation at time of disclosure. CISA added the vulnerability to KEV two days after the patch — the same day patches were publicly confirmed as addressing a zero-day.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| iOS | < 15.7 | 15.7 |
| iPadOS | < 15.7 | 15.7 |
| macOS Monterey | < 12.6 | 12.6 |
| macOS Big Sur | Affected | Security Update 2022-005 |
Technical Details
The vulnerability is an out-of-bounds write (CWE-787) in the XNU kernel. The exact subsystem was not publicly identified by Apple, consistent with the company's practice of limiting technical details on actively exploited kernel bugs.
- Attack vector: Local — requires an existing foothold (sandboxed app or other local execution)
- Privileges required: Low — a normal unprivileged application is sufficient to trigger the flaw
- User interaction: None — once an attacker has app-level execution, escalation to kernel is automatic
- Chaining model: This vulnerability is typically used as the second stage in a two-stage exploit chain. The first stage (WebKit, FaceTime, or other parser bug) achieves sandboxed code execution; this bug escalates to kernel for full device control
The out-of-bounds write allows corruption of kernel memory adjacent to the target buffer, enabling overwrite of security-critical kernel data structures such as task credentials or memory page protections.
Discovery
Reported by an anonymous researcher, as credited in Apple's security advisories for iOS 15.7 and macOS Monterey 12.6.
Exploitation Context
Apple confirmed exploitation in the wild prior to the September 12 patch release. The two-day gap between the patch and CISA's KEV addition is unusually fast, suggesting the urgency of real-world exploitation. Kernel privilege escalation vulnerabilities on Apple platforms are primarily used by commercial surveillance software (mercenary spyware) vendors and nation-state actors in full-device compromise chains targeting high-value individuals.
Remediation
- Update iPhones and iPads to iOS/iPadOS 15.7 or later (or iOS 16 if device-compatible)
- Update Macs to macOS Monterey 12.6 or later; apply Security Update 2022-005 for Big Sur
- Enable automatic updates: System Preferences → Software Update → Automatically keep my Mac up to date
- For enterprise device fleets, enforce minimum OS version via MDM (Jamf, Mosyle, Kandji) and flag non-compliant devices for emergency patching
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2022-32917 |
| Vendor / Product | Apple — iOS, iPadOS, and macOS |
| NVD Published | 2022-09-20 |
| NVD Last Modified | 2025-10-23 |
| CVSS 3.1 Score | 7.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-787 find similar ↗ |
| CISA KEV Added | 2022-09-14 |
| CISA KEV Deadline | 2022-10-05 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2022-09-12 | Apple releases iOS 15.7, iPadOS 15.7, and macOS Monterey 12.6 patching CVE-2022-32917 |
| 2022-09-14 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-10-05 | CISA BOD 22-01 remediation deadline |
| 2022-09-20 | CVE published |
References
| Resource | Type |
|---|---|
| Apple Security Advisory — iOS 15.7 and iPadOS 15.7 | Vendor Advisory |
| Apple Security Advisory — macOS Monterey 12.6 | Vendor Advisory |
| NVD — CVE-2022-32917 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |