Description
ImageMagick before 7.1.2-18 contains a memory leak vulnerability in the META reader when processing APP1JPEG input paths. Attackers can trigger this memory leak by providing specially crafted APP1JPEG image files, causing denial of service through resource exhaustion.
Published: 2026-07-10
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a memory leak in ImageMagick’s META reader when processing APP1JPEG image headers. An attacker can provide a specially crafted APP1JPEG file that causes memory to be allocated and never released, leading to a gradual increase in memory consumption and eventual exhaustion of system resources. The flaw corresponds to CWE-401 (Improper Release of Memory) and CWE-772 (Missing Release of Memory after Effective Lifetime). The result is a denial‑of‑service condition that can affect any process using ImageMagick when it parses such input.

Affected Systems

Any deployment of ImageMagick that contains the vulnerable META reader code and processes APP1JPEG image paths is potentially impacted. This includes any system that accepts external image uploads, email attachments, or other input mechanisms that trigger ImageMagick’s image‑processing libraries if the installed version predates the fix. The exact affected releases are those before 7.1.2‑18, as noted in the advisory, but the specific versions are not publicly listed in the CVE payload.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. The EPSS score of < 1 % reflects a very low likelihood of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The attack path is inferred to be remote; an adversary only needs to deliver a malicious image that will be processed by ImageMagick. No authentication is required for the code path, and the leak can accumulate across successive image processing calls.

Generated by OpenCVE AI on July 31, 2026 at 13:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to a release where this issue has been fixed; refer to the vendor’s documentation for the appropriate update.
  • Disable or strip APP1JPEG metadata on input using the ‘-strip’ option or relevant configuration settings.
  • Limit memory usage for image processing with the ‘-limit’ option or by setting appropriate environment variables to prevent exhaustion.

Generated by OpenCVE AI on July 31, 2026 at 13:04 UTC.

Tracking

Sign in to view the affected projects.

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

Tue, 14 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 11 Jul 2026 12:15:00 +0000

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

None

threat_severity

Low


Fri, 10 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-18 contains a memory leak vulnerability in the META reader when processing APP1JPEG input paths. Attackers can trigger this memory leak by providing specially crafted APP1JPEG image files, causing denial of service through resource exhaustion.
Title ImageMagick - Memory Leak in META Reader APP1JPEG Error Path
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'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T01:45:51.729Z

Reserved: 2026-06-21T02:05:21.919Z

Link: CVE-2026-56366

cve-icon Vulnrichment

Updated: 2026-07-14T01:45:48.384Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-10T13:57:58Z

Links: CVE-2026-56366 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T13:15:03Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime