CVE-2023-41064: Heap buffer overflow in Apple ImageIO
- Vendor
- Apple
CVE-2023-41064 is a buffer overflow vulnerability in Apple's ImageIO framework affecting iOS, iPadOS, and macOS. Processing a maliciously crafted image may corrupt memory and allow arbitrary code execution. Analysis comparing Apple's patch with the related libwebp vulnerability CVE-2023-4863 links the flaw to insufficient bounds checking during Huffman-table construction for lossless WebP decoding, where malformed, incomplete trees can cause writes beyond preallocated heap memory. The vulnerability was used alongside the Wallet vulnerability CVE-2023-41061 in BLASTPASS, an iMessage-delivered zero-click exploit chain associated with NSO Group's Pegasus spyware. Apple acknowledged a report of possible active exploitation.
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 may enable arbitrary code execution in the context processing the malicious image. The associated decoding analysis identifies a partially controllable heap out-of-bounds write primitive. Exploitation as part of BLASTPASS supports spyware deployment, but device-wide privileges, sandbox escape, and surveillance capabilities should not be attributed to CVE-2023-41064 alone.
Mitigation
If you can’t patch tonight, do this now.
Enable Apple's Lockdown Mode on supported devices, particularly for users at heightened risk of targeted spyware attacks. Apple confirmed, and Citizen Lab verified, that Lockdown Mode blocks the BLASTPASS exploit chain. This is a chain-specific mitigation and does not establish that every possible ImageIO exploitation path is blocked; install the security updates regardless.
Remediation
Patch, then assume compromise.
Install Apple's fixes: iOS 16.6.1 or iPadOS 16.6.1, iOS 15.7.9 or iPadOS 15.7.9 for the corresponding older release branches, macOS Ventura 13.5.2, macOS Monterey 12.6.9, or macOS Big Sur 11.7.10, or a later supported release containing the fix. The updates improve memory handling; patch analysis identifies bounds checking that aborts unsafe WebP Huffman-table construction.
Exploits
No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
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.
References
Frequently asked questions
- Is CVE-2023-41064 exploited in the wild?
- Yes. As of Oct 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 11, 2023.
- Is there a public exploit for CVE-2023-41064?
- As of Oct 27, 2026, Mallory has found no public exploit for CVE-2023-41064.
- Is there a patch for CVE-2023-41064?
- Install Apple's fixes: iOS 16.6.1 or iPadOS 16.6.1, iOS 15.7.9 or iPadOS 15.7.9 for the corresponding older release branches, macOS Ventura 13.5.2, macOS Monterey 12.6.9, or macOS Big Sur 11.7.10, or a later supported release containing the fix. The updates improve memory handling; patch analysis identifies bounds checking that aborts unsafe WebP Huffman-table construction.
- What products are affected by CVE-2023-41064?
- Apple Ipados, Apple Macos, Apple Iphone Os, and Apple Watchos.
- How severe is CVE-2023-41064?
- CVE-2023-41064 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 1.3% (70th percentile) as of Oct 27, 2026.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.