Description
ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the JNG encoder when a blob cannot be opened. Attackers can trigger the memory leak by providing malformed JNG files that fail blob operations, causing resource exhaustion.
Published: 2026-07-15
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick before version 7.1.2‑26 suffers from a memory leak in the JNG encoder when a blob operation fails to open a file. The leak occurs because the program allocates memory during the failure path and does not release it, as identified by CWE‑401 and CWE‑772. Repeatedly supplying malformed JNG files that trigger this failure can drain system memory, leading to degraded performance or a denial of service if the host runs out of resources. The CVSS score of 2.1 reflects the relatively low severity, as the vulnerability only causes resource exhaustion and does not directly provide an attacker with code execution or arbitrary network access.

Affected Systems

All installations of ImageMagick released before 7.1.2‑26 are affected regardless of operating system. Users running any earlier version on any platform are exposed, and the vulnerability applies to the ImageMagick product as a whole.

Risk and Exploitability

The EPSS score of less than 1% indicates a very low likelihood of exploitation under current data, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an attacker who can supply crafted JNG data to the ImageMagick encoder, for example through a web upload, email attachment, or any file ingestion endpoint that accepts JNG files. Successful exploitation would lead to resource exhaustion, affecting availability but not confidentiality or integrity.

Generated by OpenCVE AI on July 31, 2026 at 03:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑26 or later
  • Disable or reject JNG file processing before attempting to open blobs when malformed data is detected
  • Apply system resource limits (e.g., ulimit, cgroups) and monitor memory usage to detect and mitigate unexpected growth

Generated by OpenCVE AI on July 31, 2026 at 03:50 UTC.

Tracking

Sign in to view the affected projects.

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

Thu, 16 Jul 2026 12:15:00 +0000

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

None

threat_severity

Low


Wed, 15 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 15 Jul 2026 12:00:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the JNG encoder when a blob cannot be opened. Attackers can trigger the memory leak by providing malformed JNG files that fail blob operations, causing resource exhaustion.
Title ImageMagick before 7.1.2-26 Memory Leak in JNG 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': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:L/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-15T17:54:18.204Z

Reserved: 2026-07-10T21:53:55.769Z

Link: CVE-2026-61866

cve-icon Vulnrichment

Updated: 2026-07-15T17:54:14.140Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-15T11:25:51Z

Links: CVE-2026-61866 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T04:00:15Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime