Read the docs

Heap buffer over-write in ImageMagick MAC decoder

Priority LOW 37CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-8c8r-vjh3-j578. Fix status from GitHub.

Summary

ImageMagick versions before 7.1.2-36 and before 6.9.13-61 contain a heap buffer over-write in the MAC decoder. A crafted image can trigger the flaw when a specific failure occurs. The weakness is classified as CWE-122 (Heap-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The issue was discovered by Microsoft's Codename MDASH and validated by Youngjoo Lee and Cen Zhang of Microsoft Security FORGE Lab.

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 the MAC decoder when a specific failure occurs. ### 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

Fix Fixed ImageMagick (c/c++): 7.1.2-36, 6.9.13-61

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ImageMagick (c/c++)< 7.1.2-367.1.2-36Patch availableGHSA-8c8r-vjh3-j578
—ImageMagick (c/c++)< 6.9.13-616.9.13-61Patch availableGHSA-8c8r-vjh3-j578
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-36 Fixed in 7.1.2-36 Patch available GHSA-8c8r-vjh3-j578
  • ImageMagick (c/c++) Vendor— Affected < 6.9.13-61 Fixed in 6.9.13-61 Patch available GHSA-8c8r-vjh3-j578

Remediation

Upgrade ImageMagick 7.x to 7.1.2-36 or later, and ImageMagick 6.x to 6.9.13-61 or later. No exploitation has been reported, and the vulnerability is not listed in CISA KEV.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · GHSA-8c8r-vjh3-j578 ImageMagick (c/c++) Fixed in 7.1.2-36 Advisory →
  • Fix · GHSA-8c8r-vjh3-j578 ImageMagick (c/c++) Fixed in 6.9.13-61 Advisory →

Timeline

  1. 2026-11-16 Threatist record created from GHSA-8c8r-vjh3-j578

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences