CVE-2026-109260

ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in PNG Encoder

Published Oct 12, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 6:18 PM
Reserved
Oct 12, 2026, 2:10 PM
Status
Analyzed
Published
Oct 12, 2026, 5:17 PM
Modified
Nov 3, 2026, 4:26 PM
Severity
Low
Public date
Oct 12, 2026, 4:04 PM