CVE-2026-116159

ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via -cdl Option

Published Oct 25, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in the handling of the -cdl (color decision list) option, where allocated memory is not cleaned up after use. Attackers can supply input that causes the -cdl option to be processed, repeatedly leaking memory and degrading availability through resource exhaustion.

Analysis

AI-generated

Technical impact

ImageMagick versions prior to 6.9.13‑58 and 7.x earlier than 7.1.2‑33 contain a memory leak when the -cdl (color decision list) option is processed. The bug prevents the deallocation of memory that was allocated for the color decision list, which is a classic instance of CWE‑401 and CWE‑772. An attacker can cause the option to be invoked by supplying crafted image data or command‑line parameters, leading to progressive consumption of system memory and eventual service degradation or crash.

Affected Systems

Any system that has ImageMagick 6.x versions older than 6.9.13‑58 or 7.x versions older than 7.1.2‑33 is affected. This includes common Linux distributions, web and media servers, and standalone image‑processing utilities that use the default ImageMagick binaries.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate severity vulnerability. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation. However, the flaw can be triggered remotely if an attacker can submit image data or command‑line arguments that enable the -cdl option, or locally if the software processes untrusted input. Repeated exploitation can lead to denial‑of‑service by exhausting system memory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 6.9.13‑58 or newer, or to 7.1.2‑33 or later, which resolves the memory‑leak bug associated with CWE‑401 and CWE‑772.
  • If an immediate upgrade is not feasible, configure ImageMagick to disable the -cdl option or remove its support to prevent the leak from being triggered.
  • Enforce process resource limits—such as cgroup memory caps or container sandboxing—and monitor memory usage to mitigate potential denial‑of‑service from lingering leaks.

Generated by OpenCVE AI on October 26, 2026 at 01:23 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-58 and 7.x before 7.1.2-33 contains a memory leak in the handling of the -cdl (color decision list) option, where allocated memory is not cleaned up after use. Attackers can supply input that causes the -cdl option to be processed, repeatedly leaking memory and degrading availability through resource exhaustion.
Title ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via -cdl Option
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.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/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 26, 2026, 4:48 PM
Reserved
Oct 25, 2026, 12:24 PM
Status
Analyzed
Published
Oct 25, 2026, 2:16 PM
Modified
Nov 3, 2026, 6:31 PM
Severity
Low
Public date
Oct 25, 2026, 1:20 PM