Heap buffer overwrite when encoding 12 bit images in ImageMagick
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-cf7p-m88c-h9jh. Fix status from GitHub.
Summary
ImageMagick before 7.1.2-36 and before 6.9.13-61 are affected. A crafted image can cause a heap buffer overwrite in encoders that export pixels for 12 bit images before the image data is encoded (CWE-787). A local attacker with no privileges can trigger it if a user processes the crafted image.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the GitHub advisory
A crafted image could cause a heap buffer over-write in encoders that export pixels for 12 bit images before encoding the image data. ### Credit This issue was initially discovered by Microsoft's Codename MDASH and validated by Youngjoo Lee and Cen Zhang of Microsoft Security FORGE Lab.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ImageMagick (c/c++) | < 7.1.2-36 | 7.1.2-36 | Patch available | GHSA-cf7p-m88c-h9jh |
| — | ImageMagick (c/c++) | < 6.9.13-61 | 6.9.13-61 | Patch available | GHSA-cf7p-m88c-h9jh |
- ImageMagick (c/c++) Vendor— Affected < 7.1.2-36 Fixed in 7.1.2-36 Patch available GHSA-cf7p-m88c-h9jh
- ImageMagick (c/c++) Vendor— Affected < 6.9.13-61 Fixed in 6.9.13-61 Patch available GHSA-cf7p-m88c-h9jh
Remediation
Fixed versions are 7.1.2-36 and 6.9.13-61.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · GHSA-cf7p-m88c-h9jh ImageMagick (c/c++) Fixed in 7.1.2-36 Advisory →
- Fix · GHSA-cf7p-m88c-h9jh ImageMagick (c/c++) Fixed in 6.9.13-61 Advisory →
Timeline
- 2026-11-16 Threatist record created from GHSA-cf7p-m88c-h9jh
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences