Heap buffer overwrite in ImageMagick ShearRotateImage method
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-8xm2-q8hq-m68q. Fix status from GitHub.
Summary
ImageMagick versions before 7.1.2-36 and before 6.9.13-61 are affected. A specific argument to the ShearRotateImage method can cause a heap buffer overwrite (CWE-787). A local attacker with no privileges can trigger it, but a user must interact and the method is only available through the API.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the GitHub advisory
A specific argument can cause a heap buffer over-write when executing the ShearRotateImage method that is only available through the api. ### 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-8xm2-q8hq-m68q |
| — | ImageMagick (c/c++) | < 6.9.13-61 | 6.9.13-61 | Patch available | GHSA-8xm2-q8hq-m68q |
- ImageMagick (c/c++) Vendor— Affected < 7.1.2-36 Fixed in 7.1.2-36 Patch available GHSA-8xm2-q8hq-m68q
- ImageMagick (c/c++) Vendor— Affected < 6.9.13-61 Fixed in 6.9.13-61 Patch available GHSA-8xm2-q8hq-m68q
Remediation
Fixed versions are ImageMagick 7.1.2-36 and ImageMagick 6.9.13-61.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · GHSA-8xm2-q8hq-m68q ImageMagick (c/c++) Fixed in 7.1.2-36 Advisory →
- Fix · GHSA-8xm2-q8hq-m68q ImageMagick (c/c++) Fixed in 6.9.13-61 Advisory →
Timeline
- 2026-11-16 Threatist record created from GHSA-8xm2-q8hq-m68q
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences