Description
ImageMagick before 7.1.2-26 (and 6.x before 6.9.13-51) contains a memory leak in the TIFF encoder that occurs when a temporary file cannot be created, resulting in a small memory leak.
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 7.1.2‑26 (and 6.x before 6.9.13‑51) has a memory‑leak flaw in its TIFF encoder. When the encoder attempts to create a temporary file and fails, it does not release the memory allocated for that operation, causing a persistently small leak. If an attacker or a benign workload repeatedly processes TIFF images, the unused memory accumulates and can eventually lead to resource exhaustion or service disruption. The likely attack vector is inferred from the requirement to supply TIFF input that triggers the encoder’s failure path.

Affected Systems

The vulnerability affects all ImageMagick releases prior to 7.1.2‑26 on the main branch and prior to 6.9.13‑51 on the 6.x branch. Administrators should verify the installed version against these boundaries and plan an upgrade or mitigation strategy.

Risk and Exploitability

The CVSS score of 2.1 denotes low severity, and the EPSS score of less than 1% indicates a very low probability of exploitation at present. The vulnerability is not listed in CISA’s KEV catalog. Attackers would need to supply TIFF files to invoke the encoder, so the risk is higher in systems that accept untrusted image uploads or invoke the encoder on remote input. The likely attack vector is inferred from the description that the encoder’s crash path is triggered by TIFF input, implying that repeated processing of such files is required. The leak grows over time, meaning large numbers of processed files may be required before a noticeable impact manifests.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑26 or newer, or to 6.9.13‑51 or newer for the 6.x branch, to remove the memory‑leak bug. This addresses the root cause related to CWE‑401 and CWE‑772.
  • If an upgrade is not possible, disable TIFF processing or restrict it to trusted, pre‑validated sources so the encoder does not run on untrusted data, mitigating the risk of unreleased memory usage noted in CWE‑401 and CWE‑772.
  • Implement runtime resource controls, such as limiting memory usage per image operation and monitoring for unexpected memory growth, to detect and mitigate potential leaks before they cause service issues.
  • Apply memory leak detection tools during development and in production to catch and mitigate similar issues, ensuring compliance with CWE‑401 and CWE‑772 guidelines.

Generated by OpenCVE AI on July 31, 2026 at 03:51 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 (and 6.x before 6.9.13-51) contains a memory leak in the TIFF encoder that occurs when a temporary file cannot be created, resulting in a small memory leak.
Title ImageMagick before 7.1.2-26 Memory Leak in TIFF 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:42:28.945Z

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

Link: CVE-2026-61863

cve-icon Vulnrichment

Updated: 2026-07-15T17:42:24.942Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

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

Links: CVE-2026-61863 - 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