CVE-2026-61863

ImageMagick before 7.1.2-26 Memory Leak in TIFF Encoder

Published Jul 15, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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-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'}

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 29, 2026, 9:16 PM
Reserved
Jul 10, 2026, 9:53 PM
Status
Analyzed
Published
Jul 15, 2026, 12:18 PM
Modified
Oct 29, 2026, 9:17 PM
Severity
Low
Public date
Jul 15, 2026, 11:25 AM