Heap buffer over-write when exporting pixel data in ImageMagick
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-qw9c-mq27-w844. Fix status from GitHub.
Summary
ImageMagick versions before 7.1.2-36 and before 6.9.13-61 are affected. An out-of-bounds write (CWE-787) during pixel export lets a crafted image overwrite a small heap buffer. A local attacker with no privileges can trigger it by supplying such an image, with a low impact on availability.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the GitHub advisory
A crafted image could cause a small heap buffer over-write when exporting pixels in a very specific situation. ## 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-qw9c-mq27-w844 |
| — | ImageMagick (c/c++) | < 6.9.13-61 | 6.9.13-61 | Patch available | GHSA-qw9c-mq27-w844 |
- ImageMagick (c/c++) Vendor— Affected < 7.1.2-36 Fixed in 7.1.2-36 Patch available GHSA-qw9c-mq27-w844
- ImageMagick (c/c++) Vendor— Affected < 6.9.13-61 Fixed in 6.9.13-61 Patch available GHSA-qw9c-mq27-w844
Remediation
Upgrade ImageMagick 7.x to 7.1.2-36 and ImageMagick 6.x to 6.9.13-61, the fixed versions listed for each branch.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · GHSA-qw9c-mq27-w844 ImageMagick (c/c++) Fixed in 7.1.2-36 Advisory →
- Fix · GHSA-qw9c-mq27-w844 ImageMagick (c/c++) Fixed in 6.9.13-61 Advisory →
Timeline
- 2026-11-16 Threatist record created from GHSA-qw9c-mq27-w844
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences