CVE-2026-61865

ImageMagick before 7.1.2-26 Memory Leak in Hough Lines

Published Jul 15, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
Description
ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the hough lines operation: when a specific operation fails, a small memory leak occurs.

Analysis

AI-generated

Technical impact

A memory leak occurs in the hough lines operation when certain failures happen in ImageMagick prior to version 7.1.2‑26 and in the 6.9.13‑51 release. The leak is small; the description does not specify the cumulative effect on system memory or performance. This weakness is classified as CWE‑401 and CWE‑772 and is reflected in a low CVSS score of 2.1, indicating limited impact when used alone.

Affected Systems

ImageMagick, versions before 7.1.2‑26 and the 6.9.13‑51 release.

Risk and Exploitability

The CVSS score of 2.1 and an EPSS of less than 1% suggest this vulnerability is rarely exploited and of low severity. It is not listed in the CISA KEV catalog. Based on the description, it is inferred that exploitation would require an attacker to trigger in the hough lines operation. The vulnerability description does not specify an attack vector, so it is inferred that such a failure might be induced by providing malformed image input. Therefore, the overall risk is modest, with a limited chance of causing resource exhaustion over time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2‑26 or later, or to the latest 6.x release that contains the fix.
  • Validate or sanitize image data before calling the hough lines operation to avoid failures that trigger the leak.
  • Apply memory usage limits or container constraints to contain any potential leak.

Generated by OpenCVE AI on August 1, 2026 at 08:58 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.9.13-51 contains a memory leak in the hough lines operation: when a specific operation fails, a small memory leak occurs.
Title ImageMagick before 7.1.2-26 Memory Leak in Hough Lines
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
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