ImageMagick <7.1.2-15,6.9.13-40: heap use-after-free in meta coder leads to DoS
CVE-2026-56376 Published on June 23, 2026
ImageMagick - Heap Use-After-Free in Meta Coder
ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory allocation fails, a single byte is written to a stale pointer. Remote attackers can trigger it by processing specially crafted image files, causing a denial of service.
Vulnerability Analysis
CVE-2026-56376 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a small impact on availability.
Weakness Type
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2026-56376 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2026-56376
Want to know whenever a new CVE is published for ImageMagick? stack.watch will email you.
Affected Versions
ImageMagick:- Before 7.1.2-15 is affected.
- Version 7.1.2-15 is unaffected.
- Before 6.9.13-40 is affected.
- Version 6.9.13-40 is unaffected.