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.
Published: 2026-06-30
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick before 7.1.2-19 contains a memory leak in the PNG encoder when writing MNG images, allowing an attacker to trigger the encoder failure condition, which exhausts memory resources and results in a denial of service. The weakness is a memory management issue, classified as CWE-401. The vulnerability does not confer confidentiality or integrity benefits, but it can disrupt service availability for local or remote consumers of the image processing function until the process crashes or restarts.

Affected Systems

The affected vendor is ImageMagick, product ImageMagick. Versions prior to 7.1.2-19 are vulnerable. No specific sub‑versions are listed; all releases before the release date of 7.1.2-19 may be impacted.

Risk and Exploitability

The CVSS score is 6.3, indicating moderate severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers likely need the ability to supply an MNG image to the affected PNG encoder, suggesting a remote or local attack path if an image‑processing service is exposed or if the application processes user‑supplied images. Once the leak is triggered, available memory drains, causing the process to crash or become unresponsive, thereby denying service to legitimate users.

Generated by OpenCVE AI on July 1, 2026 at 00:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-19 or later
  • If user‑supplied images are processed, configure the application to reject or remove support for MNG files to eliminate the trigger for the memory leak
  • Configure process resource limits (e.g., ulimit or cgroups) to cap memory usage of the image processing service, preventing the system from exhausting memory

Generated by OpenCVE AI on July 1, 2026 at 00:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4680-1 imagemagick security update
Debian DSA Debian DSA DSA-6383-1 imagemagick security update
History

Thu, 02 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Wed, 01 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 30 Jun 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title ImageMagick - Memory Leak in PNG Encoder via MNG Image Writing
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-401
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-01T13:16:12.822Z

Reserved: 2026-06-20T21:16:53.711Z

Link: CVE-2026-56365

cve-icon Vulnrichment

Updated: 2026-07-01T13:16:08.647Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-06-30T22:08:38Z

Links: CVE-2026-56365 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T06:15:16Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime