Arbitrary code execution via ImageIO buffer overflow
Published Sep 7, 2023 · Updated Nov 4, 2025
A buffer overflow in ImageIO in Apple iOS, iPadOS, and macOS allows attackers to execute arbitrary code via a crafted image. Apple has not disclosed the exact ImageIO parser or memory operation; it states that improved memory handling corrected the overflow. In the observed iOS exploit chain, an iMessage-delivered PassKit image triggered processing without user interaction and installed Pegasus spyware.
Summary
What happened
A buffer overflow in ImageIO in Apple iOS, iPadOS, and macOS allows attackers to execute arbitrary code via a crafted image. Apple has not disclosed the exact ImageIO parser or memory operation; it states that improved memory handling corrected the overflow. In the observed iOS exploit chain, an iMessage-delivered PassKit image triggered processing without user interaction and installed Pegasus spyware.
The record
- CVE
- CVE-2023-41064
- Published
- Sep 7, 2023
- Updated
- Nov 4, 2025
- Vendor
- Apple
- Product
- iOS and iPadOS
- Classifications
- CWE-120, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 7, 2023CVE publishedPublication date reported by the CVE source.
- Sep 11, 2023Exploitation reportedCISA Known Exploited Vulnerabilities listing
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <15.7
- Affected versionversion=unspecified <16.6
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- BLASTPASS Pegasus deploymentthreat actor
- CISA Known Exploited Vulnerabilities listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo