Description
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the PNG encoder, which does not release allocated memory when libpng initialization fails. Attackers who can repeatedly trigger PNG encoding operations in which libpng initialization fails can exhaust memory and cause a denial of service.
Published: 2026-10-12
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

ImageMagick contains a memory leak in its PNG encoder that is triggered when the libpng initialization routine fails. The failed initialization path does not release any memory that was allocated, allowing the process to steadily consume more RAM until it exhausts the system’s memory quota and stops functioning. This flaw is a classic example of CWE‑401: Memory Management Issues, and it could be used by an attacker to force a denial of service on the system or application which uses ImageMagick for PNG processing. It also involves a resource exhaustion scenario categorized as CWE‑772.

Affected Systems

The vulnerability affects all ImageMagick releases in the 6.x line up to and including 6.9.13‑56, and all releases in the 7.x line up to and including 7.1.2‑31. Users of the 6.x series should upgrade to 6.9.13‑57 or newer, and users of the 7.x series should upgrade to 7.1.2‑32 or newer.

Risk and Exploitability

With a CVSS score of 6.3, the issue is classified as moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that widespread exploitation has not been documented. The likely attack surface involves an application that accepts PNG data from untrusted sources; repeating malformed PNG encoding operations can trigger the memory leak. While no public exploit is known, the nature of the flaw means that an attacker who can feed many failing PNG inputs to a running service can exhaust memory, terminate the service, and cause a denial of service.

Generated by OpenCVE AI on October 13, 2026 at 01:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to release 6.9.13‑57 or later for the 6.x series, or to 7.1.2‑32 or later for the 7.x series.
  • Test that libpng initialization failures do not cause memory leakage by supplying malformed PNG inputs as part of a regression test suite.
  • If an immediate upgrade is not possible, restrict PNG processing to trusted inputs only or enforce system‑level memory limits (for example, using ulimit or container resource quotas) to prevent a single process from exhausting RAM.

Generated by OpenCVE AI on October 13, 2026 at 01:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4875-1 imagemagick security update
History

Tue, 13 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

threat_severity

Low


Mon, 12 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the PNG encoder, which does not release allocated memory when libpng initialization fails. Attackers who can repeatedly trigger PNG encoding operations in which libpng initialization fails can exhaust memory and cause a denial of service.
Title ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in PNG Encoder
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:L/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-10-13T18:18:20.398Z

Reserved: 2026-10-12T14:10:14.200Z

Link: CVE-2026-109260

cve-icon Vulnrichment

Updated: 2026-10-13T18:18:13.457Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-12T17:17:17.730

Modified: 2026-11-03T16:26:42.293

Link: CVE-2026-109260

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-12T16:04:30Z

Links: CVE-2026-109260 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T01:30:06Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime