Heap buffer over-read in ImageMagick stream operation
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-4cmr-g39q-mh38. Fix status from GitHub.
Summary
ImageMagick versions before 7.1.2-36 and before 6.9.13-61 are affected. A specific stream operation can read past the end of a heap buffer, which is an out-of-bounds read (CWE-125). A local attacker with no privileges and no user interaction can trigger it under high attack complexity, with low confidentiality and availability impact.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the GitHub advisory
When using a specific stream operation a heap buffer over-read can occur. ### 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-4cmr-g39q-mh38 |
| — | ImageMagick (c/c++) | < 6.9.13-61 | 6.9.13-61 | Patch available | GHSA-4cmr-g39q-mh38 |
- ImageMagick (c/c++) Vendor— Affected < 7.1.2-36 Fixed in 7.1.2-36 Patch available GHSA-4cmr-g39q-mh38
- ImageMagick (c/c++) Vendor— Affected < 6.9.13-61 Fixed in 6.9.13-61 Patch available GHSA-4cmr-g39q-mh38
Remediation
Upgrade to ImageMagick 7.1.2-36 for the 7.x branch and to 6.9.13-61 for the 6.x branch.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · GHSA-4cmr-g39q-mh38 ImageMagick (c/c++) Fixed in 7.1.2-36 Advisory →
- Fix · GHSA-4cmr-g39q-mh38 ImageMagick (c/c++) Fixed in 6.9.13-61 Advisory →
Timeline
- 2026-11-16 Threatist record created from GHSA-4cmr-g39q-mh38
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences