Memory disclosure and crash via mismatched pixel object
Published Aug 29, 2022 · Updated Aug 2, 2024
Heap buffer over-read in ImageMagick before 7.1.0-20 allows local users to disclose memory or crash the process via a crafted TIFF image. WritePICONImage passes a PICON pixel pointer to GetPixelAlpha with the original image object, causing channel-offset calculation to read beyond the PICON pixel buffer. Exploitation requires conversion of the crafted TIFF to PICON; the bounded consequences are process termination and exposure of adjacent heap data.
Summary
What happened
Heap buffer over-read in ImageMagick before 7.1.0-20 allows local users to disclose memory or crash the process via a crafted TIFF image. WritePICONImage passes a PICON pixel pointer to GetPixelAlpha with the original image object, causing channel-offset calculation to read beyond the PICON pixel buffer. Exploitation requires conversion of the crafted TIFF to PICON; the bounded consequences are process termination and exposure of adjacent heap data.
The record
- CVE
- CVE-2022-0284
- Published
- Aug 29, 2022
- Updated
- Aug 2, 2024
- Vendor
- ImageMagick Studio LLC
- Product
- ImageMagick
- Classifications
- CWE-125, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 29, 2022CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record 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=Fixed in ImageMagick-7.1.0-20
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.
Public exploit references
- Issue 4729 proof-of-concept TIFFproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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