CVE-2026-61872

ImageMagick before 7.1.2-26 Memory Leak via TIFF Encoder

Published Jul 15, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
Description
ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the TIFF encoder when an invalid tiff:tile-geometry is specified. Supplying malformed tile geometry parameters causes allocated memory not to be released, which can lead to increased memory consumption.

Analysis

AI-generated

Technical impact

The vulnerability is a memory leak in the TIFF encoder of ImageMagick that occurs when an invalid tiff:tile-geometry value is supplied. The fault arises from missing resource release (CWE-401) and improper handling of allocated memory (CWE-772), causing memory to remain allocated and never be freed. The effect is increased memory consumption without providing code execution or privilege escalation. At its worst, the leak can lead to a denial of service if an attacker continuously feeds malformed TIFFs.

Affected Systems

Both major branches of ImageMagick are impacted. Versions before 7.1.2-26 and before 6.9.13-51, to which the vulnerability applies, are distributed under the ImageMagick umbrella.

Risk and Exploitability

The CVSS score of 2 signals low severity, and the EPSS score of less than 1% indicates that exploitation is unlikely but not impossible. Based on the description, the likely attack vector involves an attacker providing a malformed TIFF with an invalid tiff:tile-geometry to a process that runs ImageMagick. If the application processes external images, the threat may be limited to users with local or elevated privileges. Overall, the risk level remains low, though repeated exploitation could cause memory exhaustion. The vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-26 or newer if using the 7.x line.
  • Upgrade ImageMagick to version 6.9.13-51 or newer if using the 6.x line.
  • If an upgrade cannot be applied immediately, sanitize or reject any tiff:tile-geometry values before passing them to ImageMagick, ensuring strict validation of input image parameters.
  • Continuously monitor the memory usage of ImageMagick processes and set limits or alerts to detect abnormal growth.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4696-1 imagemagick security update
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.9.13-51 contains a memory leak in the TIFF encoder when an invalid tiff:tile-geometry is specified. Supplying malformed tile geometry parameters causes allocated memory not to be released, which can lead to increased memory consumption.
Title ImageMagick before 7.1.2-26 Memory Leak via 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.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/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:54 PM
Status
Deferred
Published
Jul 15, 2026, 12:18 PM
Modified
Oct 29, 2026, 9:17 PM
Severity
Low
Public date
Jul 15, 2026, 11:25 AM