CVE-2026-61465

ImageMagick before 7.1.2-26 Memory Allocation Policy Bypass

Published Jul 11, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 7.1.2-26 and 6.9.13-51 is missing a check for the allowed memory allocation limit in matrix-backed operations such as -canny. An attacker can supply a crafted image that causes ImageMagick to allocate more memory than permitted by the configured policy, resulting in a denial of service.

Analysis

AI-generated

Technical impact

ImageMagick before 7.1.2-26 and 6.9.13-51 lacks a check for the allowed memory allocation limit when performing matrix-backed operations such as -canny. An attacker can supply a crafted image that causes the library to allocate more memory than the configured policy permits, which can exhaust system resources and lead to a denial of service. This weakness corresponds to CWE-770, indicating a failure in proper resource management.

Affected Systems

The affected product is ImageMagick, specifically versions prior to 7.1.2-26 and 6.9.13-51. Any system or application that relies on these versions to process images is potentially impacted.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate impact. likelihood of exploitation, and the vulnerability is not listed in CISA KEV, further reducing the chances of widespread attacks. Attack vector is inferred to involve an attacker supplying a malicious image to. Successful exploitation would consume memory resources and may crash or halt the service handling the image, leading to denial of service. The practical feasibility depends on whether the application memory‑allocation path in the version in use. The EPSS score of < 1% indicates a very low probability of exploitation.

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, to include the patch that restores the memory allocation limit check.
  • If an upgrade cannot be performed immediately, reduce the configured memory allocation policy limit or disable matrix-backed operations such as -canny to prevent excessive memory usage.
  • Implement input validation for all images before they reach ImageMagick, ensuring that size, format and integrity are checked to prevent maliciously crafted images from triggering the vulnerability.

Generated by OpenCVE AI on August 1, 2026 at 11:24 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 is missing a check for the allowed memory allocation limit in matrix-backed operations such as -canny. An attacker can supply a crafted image that causes ImageMagick to allocate more memory than permitted by the configured policy, resulting in a denial of service.
Title ImageMagick before 7.1.2-26 Memory Allocation Policy Bypass
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-770
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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:16 PM
Reserved
Jul 9, 2026, 2:07 PM
Status
Analyzed
Published
Jul 11, 2026, 2:16 PM
Modified
Oct 29, 2026, 9:17 PM
Severity
Moderate
Public date
Jul 11, 2026, 1:01 PM