CVE-2026-56365
Analyzed Analyzed - Analysis Complete

Memory Leak in ImageMagick PNG Encoder

Vulnerability report for CVE-2026-56365, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-07-02

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-07-02
Generated
2026-07-21
AI Q&A
2026-07-01
EPSS Evaluated
2026-07-19
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
imagemagick imagemagick to 6.9.13-44 (exc)
imagemagick imagemagick From 7.0.0-0 (inc) to 7.1.2-19 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in ImageMagick versions before 7.1.2-19 and involves a memory leak in the PNG encoder when writing MNG images.

Attackers can exploit this flaw by triggering the encoder failure condition, which causes the program to consume excessive memory resources.

This can lead to a denial of service as the system's memory is exhausted.

Detection Guidance

This vulnerability affects ImageMagick versions prior to 7.1.2-19 and 6.9.13-44 when the PNG encoder attempts to write MNG images, leading to a memory leak and potential denial of service.

To detect if your system is vulnerable, first check the installed ImageMagick version using the command:

  • magick --version

If the version is older than 7.1.2-19 or 6.9.13-44, your system may be vulnerable.

To test for the vulnerability, you can attempt to process a crafted MNG image that triggers the PNG encoder failure condition, but no specific detection commands or signatures are provided in the available resources.

Monitoring for unusual memory usage or crashes in ImageMagick processes when handling MNG images may also help identify exploitation attempts.

Impact Analysis

The primary impact of this vulnerability is a denial of service condition.

By exploiting the memory leak in the PNG encoder, an attacker can cause the affected system to run out of memory, potentially crashing or becoming unresponsive.

Compliance Impact

The provided information does not specify any direct impact of this memory leak vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade ImageMagick to version 7.1.2-19 or later (or 6.9.13-44 or later for the 6.x branch), as these versions contain the fix for the memory leak in the PNG encoder when writing MNG images.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56365. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart