Read the docs

Heap buffer overwrite in ImageMagick ICON decoder

Priority LOW 37CWE-681Published · 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-rqg8-7wq4-54hj. Fix status from GitHub.

Summary

ImageMagick's ICON image decoder contains a heap buffer over-write that a crafted ICON image can trigger during decoding. The weakness is classified as CWE-787 (Out-of-bounds Write) and CWE-681 (Incorrect Conversion between Numeric Types). CVSS 3.1 scores the issue 4.8 (MEDIUM), with a network attack vector, high attack complexity, no privileges or user interaction required, and low confidentiality, integrity and availability impact. Microsoft's Codename MDASH first found the issue, and Youngjoo Lee and Cen Zhang of Microsoft Security FORGE Lab validated it.

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

Description from the GitHub advisory

A crafted ICON image could cause a heap buffer over-write when decoding the image. ### 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-rqg8-7wq4-54hj
—ImageMagick (c/c++)< 6.9.13-616.9.13-61Patch availableGHSA-rqg8-7wq4-54hj
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-36 Fixed in 7.1.2-36 Patch available GHSA-rqg8-7wq4-54hj
  • ImageMagick (c/c++) Vendor— Affected < 6.9.13-61 Fixed in 6.9.13-61 Patch available GHSA-rqg8-7wq4-54hj

Remediation

Upgrade ImageMagick 7 to 7.1.2-36 or later, and ImageMagick 6 to 6.9.13-61 or later. Versions before these are affected.

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

  • Fix · GHSA-rqg8-7wq4-54hj ImageMagick (c/c++) Fixed in 7.1.2-36 Advisory →
  • Fix · GHSA-rqg8-7wq4-54hj ImageMagick (c/c++) Fixed in 6.9.13-61 Advisory →

Timeline

  1. 2026-11-16 Threatist record created from GHSA-rqg8-7wq4-54hj

References

Sources

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