CVE-2026-56368

ImageMagick - Memory Leak in Raw Pixel Data Coders

Published Jun 24, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 7.1.2-15 contains a memory leak vulnerability in multiple coders that write raw pixel data where allocated objects are not properly freed. Attackers can trigger this leak by processing specially crafted images, causing memory exhaustion and denial of service.

Analysis

AI-generated

Technical impact

ImageMagick versions earlier than 7.1.2‑15 contain a memory leak in coders that handle raw pixel data. The bug occurs because allocated objects are not freed, which is a classic example of CWE‑401 (Memory Leak). When the software processes multiple images, the memory usage grows continually, leading to exhaustion. This results in a denial‑of‑service condition where the affected system can become unresponsive or crash.

Affected Systems

The flaw affects all deployments of ImageMagick invoking raw pixel coders, including the popular ImageMagick 7 series. All releases prior to 7.1.2‑15 are vulnerable. Users running earlier or unsupported versions are at risk.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity, and the EPSS score is unavailable, suggesting limited public exploitation data. The vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the leak by providing crafted image files to the vulnerable ImageMagick instance. Successful exploitation drains system memory and can culminate in service interruption, especially in high‑image‑processing environments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade all ImageMagick installations to version 7.1.2‑15 or newer.
  • Restrict access to untrusted image processing or run ImageMagick within a sandboxed environment to prevent memory exhaustion from affecting the host.
  • Implement resource limits or set memory quotas for ImageMagick processes and monitor memory usage to detect abnormal consumption early.

Generated by OpenCVE AI on June 24, 2026 at 14:20 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
Github GHSA Github GHSA GHSA-wfx3-6g53-9fgc ImageMagick: Memory Leak in multiple coders that write raw pixel data
Ubuntu USN Ubuntu USN USN-8739-1 ImageMagick vulnerabilities
Ubuntu USN Ubuntu USN USN-8739-2 ImageMagick vulnerabilities
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 7.1.2-15 contains a memory leak vulnerability in multiple coders that write raw pixel data where allocated objects are not properly freed. Attackers can trigger this leak by processing specially crafted images, causing memory exhaustion and denial of service.
Title ImageMagick - Memory Leak in Raw Pixel Data Coders
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'}

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:15 PM
Reserved
Jun 21, 2026, 2:05 AM
Status
Analyzed
Published
Jun 24, 2026, 1:16 PM
Modified
Oct 29, 2026, 9:17 PM
Severity
Low
Public date
Jun 24, 2026, 11:53 AM