What is Apple ImageIO?
ImageIO is Apple's system framework for reading and writing image file formats including JPEG, PNG, TIFF, WebP, GIF, HEIC, and many others. It is used by virtually every Apple application that displays or processes images — Camera, Messages, Mail, Photos, Safari, and thousands of third-party apps. Critically, ImageIO processes images automatically when rendering previews, including in iMessage when an attachment is received. A buffer overflow in ImageIO that can be triggered by a crafted image file is exploitable via the automatic preview mechanism without the user tapping or opening the attachment.
Overview
CVE-2023-41064 is a buffer overflow in Apple's ImageIO framework that allows code execution when processing a maliciously crafted image. It is the initial exploitation stage of the BLASTPASS zero-click iMessage attack chain, attributed to NSO Group's Pegasus spyware and discovered by Citizen Lab. When a device receives an iMessage containing a malicious PassKit (wallet pass) image attachment, ImageIO processes the image automatically to generate a preview — triggering the buffer overflow with no user interaction required. Apple patched it on September 7, 2023 with emergency releases across all platforms.
Affected Versions
| Product | Affected | Fixed |
|---|---|---|
| iOS | Prior to 16.6.1 | 16.6.1 |
| iPadOS | Prior to 16.6.1 | 16.6.1 |
| macOS Ventura | Prior to 13.5.2 | 13.5.2 |
| watchOS | Prior to 9.6.2 | 9.6.2 |
Technical Details
The vulnerability is a classic buffer overflow (CWE-120) in ImageIO's parsing code for a specific image format. When ImageIO processes a crafted image — in BLASTPASS, this was delivered as a .pkpass PassKit wallet attachment — the parsing logic fails to properly validate the size of data being written to a fixed-size buffer. The overflow writes attacker-controlled data beyond the buffer's bounds, corrupting adjacent memory.
In the BLASTPASS attack chain, CVE-2023-41064 serves as the entry point:
- Attacker sends iMessage containing a malicious PassKit attachment.
- iMessage automatically renders the attachment preview, triggering ImageIO parsing.
- Buffer overflow fires (CVE-2023-41064), achieving code execution in the ImageIO/Messages context.
- CVE-2023-41061 (Wallet validation issue) is used to continue the privilege escalation chain.
- The Pegasus spyware payload is installed with full device access.
The "user interaction required" in the CVSS rating refers to receiving the iMessage — the user does not need to tap, open, or acknowledge anything. In practice, this is a zero-click exploit.
Discovery
Bill Marczak of The Citizen Lab at the University of Toronto discovered BLASTPASS on September 6, 2023, on a device belonging to an individual at risk of targeting by Pegasus. Citizen Lab reported the findings to Apple immediately; Apple shipped patches the following day — an unusually rapid response reflecting the severity.
Exploitation Context
The BLASTPASS chain (CVE-2023-41064 + CVE-2023-41061) was the most actively weaponized zero-click iOS exploit at the time of its discovery. Attributed to NSO Group, the chain required no user interaction and could compromise a fully updated iPhone. Citizen Lab had observed similar Pegasus delivery mechanisms previously, but BLASTPASS used a novel PassKit-based delivery technique.
Apple's Rapid Security Response mechanism — introduced with iOS 16.4 — was designed for exactly this scenario: deploying emergency patches for actively exploited zero-days without requiring a full OS update. The September 7, 2023 patches were among the fastest emergency responses Apple has issued for a zero-click exploit chain.
Remediation
- Update to iOS 16.6.1, iPadOS 16.6.1, macOS Ventura 13.5.2 — or any later version.
- Enable Lockdown Mode for individuals at elevated risk — it restricts iMessage PassKit attachment processing, directly mitigating the BLASTPASS delivery mechanism.
- Stay on the latest iOS/iPadOS version — Apple's ability to rapidly patch zero-click chains depends on users applying updates; outdated devices remain vulnerable to subsequent chains.
- For enterprise/MDM deployments: enforce iOS version compliance and auto-update enrollment; zero-click exploits are the primary threat vector for targeted device compromise.
- If compromise is suspected: the Mobile Verification Toolkit (MVT) from Amnesty International can detect Pegasus artifacts on device backups or filesystem dumps.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2023-41064 |
| Vendor / Product | Apple — iOS, iPadOS, and macOS |
| NVD Published | 2023-09-07 |
| NVD Last Modified | 2025-11-06 |
| CVSS 3.1 Score | 7.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-120 find similar ↗ |
| CISA KEV Added | 2023-09-11 |
| CISA KEV Deadline | 2023-10-02 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2023-09-06 | Citizen Lab discovers BLASTPASS exploit on a targeted individual's device and reports to Apple |
| 2023-09-07 | Apple releases iOS 16.6.1, iPadOS 16.6.1, macOS Ventura 13.5.2, watchOS 9.6.2 patching CVE-2023-41064 and CVE-2023-41061 |
| 2023-09-11 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2023-10-02 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Apple Security Advisory — iOS 16.6.1 and iPadOS 16.6.1 | Vendor Advisory |
| Apple Security Advisory — macOS Ventura 13.5.2 | Vendor Advisory |
| Citizen Lab: BLASTPASS — NSO Group iPhone Zero-Click, Zero-Day Exploit Captured in the Wild | Security Research |
| NVD — CVE-2023-41064 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |