Heap buffer over-write in ImageMagick readImages and montage C++ API
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-j4x4-q2rm-qxjf. Fix status from GitHub.
Summary
ImageMagick versions before 7.1.2-36 and before 6.9.13-61 are affected. The readImages and montage C++ API writes a single zero byte past the end of a heap buffer (CWE-787). An attacker who can call these API functions can trigger the write, and the CVSS vector rates the impact as low.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the GitHub advisory
An attacker that can call the readImages and montage C++ api can cause a heap buffer over-write of a single zero byte.
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-j4x4-q2rm-qxjf |
| — | ImageMagick (c/c++) | < 6.9.13-61 | 6.9.13-61 | Patch available | GHSA-j4x4-q2rm-qxjf |
- ImageMagick (c/c++) Vendor— Affected < 7.1.2-36 Fixed in 7.1.2-36 Patch available GHSA-j4x4-q2rm-qxjf
- ImageMagick (c/c++) Vendor— Affected < 6.9.13-61 Fixed in 6.9.13-61 Patch available GHSA-j4x4-q2rm-qxjf
Remediation
Upgrade ImageMagick 7 to 7.1.2-36 or ImageMagick 6 to 6.9.13-61. The fixed versions are listed per branch in the affected product entries.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · GHSA-j4x4-q2rm-qxjf ImageMagick (c/c++) Fixed in 7.1.2-36 Advisory →
- Fix · GHSA-j4x4-q2rm-qxjf ImageMagick (c/c++) Fixed in 6.9.13-61 Advisory →
Timeline
- 2026-11-16 Threatist record created from GHSA-j4x4-q2rm-qxjf
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences