Read the docs

ImageMagick memory leak when XML parsing hits depth limit

Priority LOW 39Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · GHSA-8ghq-p369-g395. Fix status from GitHub.

Summary

A memory leak occurs when ImageMagick hits a depth limit while parsing XML data. The flaw affects ImageMagick versions before 7.1.2-33 and before 6.9.13-58. The CVSS 3.1 base score is 5.3 (MEDIUM), with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. CISA has not added it to KEV.

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

Description from the GitHub advisory

A memory leak will occur when hitting a depth limit while parsing xml data.

Why it matters now

Fix Fixed ImageMagick (c/c++): 7.1.2-33, 6.9.13-58

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-337.1.2-33Patch availableGHSA-8ghq-p369-g395
—ImageMagick (c/c++)< 6.9.13-586.9.13-58Patch availableGHSA-8ghq-p369-g395
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-33 Fixed in 7.1.2-33 Patch available GHSA-8ghq-p369-g395
  • ImageMagick (c/c++) Vendor— Affected < 6.9.13-58 Fixed in 6.9.13-58 Patch available GHSA-8ghq-p369-g395

Remediation

Upgrade ImageMagick 7.x to 7.1.2-33 or later, and ImageMagick 6.x to 6.9.13-58 or later.

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

  • Fix · GHSA-8ghq-p369-g395 ImageMagick (c/c++) Fixed in 7.1.2-33 Advisory →
  • Fix · GHSA-8ghq-p369-g395 ImageMagick (c/c++) Fixed in 6.9.13-58 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-8ghq-p369-g395

References

Sources

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