CVE-2026-61860

ImageMagick before 7.1.2-26 Use-After-Free via freetype

Published Jul 15, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 7.1.2-26 and 6.9.13-51 contains a use-after-free vulnerability that occurs when freetype initialization fails: the method does not exit and continues to use memory that was already freed. This can be triggered during image processing and may lead to a denial of service.

Analysis

AI-generated

Technical impact

ImageMagick versions before 7.1.2‑26 and 6.9.13‑51 contain a use‑after‑free flaw that occurs when the freetype library fails to initialize. Instead of aborting, the program continues to use memory that has already been freed, which can cause crashes during image processing and lead to denial of service. The weakness matches CWE‑416 and the broader memory corruption CWE‑825.

Affected Systems

The vulnerability affects ImageMagick installations from the ImageMagick vendor. Any system running a version older than 7.1.2‑26 or older than 6.9.13‑51 is susceptible.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity, while the EPSS score of <1% suggests a very low but non‑zero exploitation probability. The flaw is not listed in the CISA KEV catalog. It can be triggered by supplying a crafted image to an ImageMagick instance that processes user data; the likely attack vector is remote, via an application that accepts arbitrary images, but local exploitation is also possible and does not require special privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2‑26 or newer, or to 6.9.13‑51 or newer to eliminate the use‑after‑free flaw.
  • Replace or remove older ImageMagick binaries from servers and services that handle untrusted images.
  • If an immediate upgrade is not feasible, restrict image input to trusted sources, validate image integrity before processing, and monitor for crashes or hangs that may indicate exploitation attempts.

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
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 use-after-free vulnerability that occurs when freetype initialization fails: the method does not exit and continues to use memory that was already freed. This can be triggered during image processing and may lead to a denial of service.
Title ImageMagick before 7.1.2-26 Use-After-Free via freetype
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-416
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

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