Conversion crash via undersized TIFF tile buffer
Published Aug 29, 2022 · Updated Aug 2, 2024
Heap buffer overflow in ImageMagick before 6.9.12-44 and 7.0.0-0 through 7.1.0-28 allows local users to crash conversion via a TIFF file. ReadTIFFImage allocates a tile buffer without the fourfold space required for 32-bit TIFF samples, so PushShortPixel reads beyond the heap allocation during pixel import. A user or workflow must pass the crafted TIFF to a local conversion process; the documented consequence is process abort and service interruption, not data disclosure or modification.
Summary
What happened
Heap buffer overflow in ImageMagick before 6.9.12-44 and 7.0.0-0 through 7.1.0-28 allows local users to crash conversion via a TIFF file. ReadTIFFImage allocates a tile buffer without the fourfold space required for 32-bit TIFF samples, so PushShortPixel reads beyond the heap allocation during pixel import. A user or workflow must pass the crafted TIFF to a local conversion process; the documented consequence is process abort and service interruption, not data disclosure or modification.
The record
- CVE
- CVE-2022-1115
- Published
- Aug 29, 2022
- Updated
- Aug 2, 2024
- Vendor
- ImageMagick Studio LLC
- Product
- ImageMagick
- Classifications
- CWE-787, CWE-119, T1204.002
- 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 ImageMagick6 v6.9.12-44, ImageMagick7 v7.1.0-29
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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
- ImageMagick issue 4974 TIFF reproducerproof 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