Out-of-bounds write in Apple macOS
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
The issue was addressed with improved memory handling. This issue is fixed in macOS Monterey 12.6.2, macOS Ventura 13.1, macOS Big Sur 11.7.2, iOS 15.7.2 and iPadOS 15.7.2, iOS 16.2 and iPadOS 16.2. An app may be able to execute arbitrary code with kernel privileges.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apple | macOS | before 11.7 | 11.7 | Patch available | CNA |
| Apple | macOS | before 13.1 | 13.1 | Patch available | CNA |
| Apple | macOS | before 12.6 | 12.6 | Patch available | CNA |
| Apple | macOS | before 16.2 | 16.2 | Patch available | CNA |
| Apple | macOS | before 15.7 | 15.7 | Patch available | CNA |
- macOS VendorApple Affected before 11.7 Fixed in 11.7 Patch available CNA
- macOS VendorApple Affected before 13.1 Fixed in 13.1 Patch available CNA
- macOS VendorApple Affected before 12.6 Fixed in 12.6 Patch available CNA
- macOS VendorApple Affected before 16.2 Fixed in 16.2 Patch available CNA
- macOS VendorApple Affected before 15.7 Fixed in 15.7 Patch available CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:* | before 15.7.2; 16.0 to before 16.2 | Vulnerable | Apple |
| cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* | before 15.7.2; 16.0 to before 16.2 | Vulnerable | Apple |
| cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* | 11.0 to before 11.7.2; 12.0.0 to before 12.6.2 | Vulnerable | Apple |
| cpe:2.3:o:apple:macos:13.0:*:*:*:*:*:*:* | 13.0 | Vulnerable | Apple |
- cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:* Versions before 15.7.2; 16.0 to before 16.2 Vulnerable ·Apple
- cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* Versions before 15.7.2; 16.0 to before 16.2 Vulnerable ·Apple
- cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* Versions 11.0 to before 11.7.2; 12.0.0 to before 12.6.2 Vulnerable ·Apple
- cpe:2.3:o:apple:macos:13.0:*:*:*:*:*:*:* Versions 13.0 Vulnerable ·Apple
Remediation
- Fix · CNA macOS (Apple) Fixed in 11.7
- Fix · CNA macOS (Apple) Fixed in 13.1
- Fix · CNA macOS (Apple) Fixed in 12.6
- Fix · CNA macOS (Apple) Fixed in 16.2
- Fix · CNA macOS (Apple) Fixed in 15.7
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apple macOS 13.1
12 records Highest priority Priority MEDIUM 2 MEDIUM, 10 LOW
Other records, highest priority first
- TI-2022-20847 Improper input validation in Apple macOSPriority MEDIUM 53
- TI-2022-20870 Improper access control in Apple macOSPriority MEDIUM 40
- TI-2022-23087 Out-of-bounds write in Apple macOSPriority LOW 36
- Release ·
Apple macOS 11.7
8 records Highest priority Priority MEDIUM 2 MEDIUM, 6 LOW
Other records, highest priority first
- TI-2022-23079 Race condition in Apple macOSPriority MEDIUM 63
- TI-2022-20852 Out-of-bounds write in Apple macOSPriority MEDIUM 53
- TI-2022-20855 Out-of-bounds write in Apple macOSPriority LOW 37
Show 3 more groups
- Release ·
Apple macOS 12.6
6 records Highest priority Priority MEDIUM 1 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2022-20870 Improper access control in Apple macOSPriority MEDIUM 40
- TI-2022-20851 Type confusion in Apple macOSPriority LOW 36
- TI-2022-14465 Out-of-bounds read in Apple macOSPriority LOW 36
- Release ·
Apple macOS 16.2
6 records Highest priority Priority MEDIUM 2 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2022-20847 Improper input validation in Apple macOSPriority MEDIUM 53
- TI-2022-20870 Improper access control in Apple macOSPriority MEDIUM 40
- TI-2022-14466 Out-of-bounds read in Apple macOSPriority LOW 31
- Release ·
Apple macOS 15.7
3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2022-20847 Improper input validation in Apple macOSPriority MEDIUM 53
- TI-2022-20870 Improper access control in Apple macOSPriority MEDIUM 40
Timeline
- 2026-10-02 Threatist record created from CVE-2022-42840
- 2026-10-03 Alias added: GHSA-cj65-9hr7-j38f
References
Advisory 10
- https://support.apple.com/en-us/HT213532
- https://support.apple.com/en-us/HT213530
- https://support.apple.com/en-us/HT213531
- https://support.apple.com/en-us/HT213534
- https://support.apple.com/en-us/HT213533
- 20221220 APPLE-SA-2022-12-13-1 iOS 16.2 and iPadOS 16.2
- 20221220 APPLE-SA-2022-12-13-2 iOS 15.7.2 and iPadOS 15.7.2
- 20221220 APPLE-SA-2022-12-13-6 macOS Big Sur 11.7.2
- 20221220 APPLE-SA-2022-12-13-4 macOS Ventura 13.1
- 20221220 APPLE-SA-2022-12-13-5 macOS Monterey 12.6.2
More Apple Ipados vulnerabilities
- TI-2025-28008 Out-of-bounds write in Apple iOS and iPadOS KEVCVSS 3.1CRITICAL 10.0
- TI-2025-22441 Apple iOS and iPadOS: An attacker with arbitrary read and write capability may be able to… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-22440 Memory corruption in Apple iOS and iPadOS KEVCVSS 3.1CRITICAL 9.8
- TI-2025-17951 Out-of-bounds write in Apple Safari KEVCVSS 3.1CRITICAL 10.0
- TI-2025-17847 Use after free in Apple iOS and iPadOS KEVCVSS 3.1CRITICAL 10.0
- TI-2022-06854 Out-of-bounds write in Apple iOS and iPadOS KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2022-42840 · CVE Program
- CVE-2022-42840 · NVD
- FIRST EPSS
- GHSA-cj65-9hr7-j38f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences