ImageMagick <=7.1.2-18 PNG Encoder Memory Leak (PNG MNG)
CVE-2026-56365 Published on June 30, 2026
ImageMagick - Memory Leak in PNG Encoder via MNG Image Writing
ImageMagick before 7.1.2-19 contains a memory leak vulnerability in the PNG encoder when writing MNG images. Attackers can trigger the encoder failure condition to exhaust memory resources and cause denial of service.
Vulnerability Analysis
CVE-2026-56365 can be exploited 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 Memory Leak Vulnerability?
The software does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. This is often triggered by improper handling of malformed data or unexpectedly interrupted sessions. In some languages, developers are responsible for tracking memory allocation and releasing the memory. If there are no more pointers or references to the memory, then it can no longer be tracked and identified for release.
CVE-2026-56365 has been classified to as a Memory Leak vulnerability or weakness.
Products Associated with CVE-2026-56365
Want to know whenever a new CVE is published for ImageMagick? stack.watch will email you.
Affected Versions
ImageMagick:- Before 7.1.2-19 is affected.
- Version 7.1.2-19 is unaffected.
- Before 6.9.13-44 is affected.
- Version 6.9.13-44 is unaffected.