Use After Free Affecting imagemagick package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.55% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-IMAGEMAGICK-17958549
  • published10 Aug 2026
  • disclosed11 Jul 2026

Introduced: 11 Jul 2026

CVE-2026-61861  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:26.04 imagemagick.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

ImageMagick before 7.1.2-26 contains a use-after-free vulnerability in the FormatMagickCaption method when memory allocation fails. Attackers can trigger memory allocation failures to cause a dangling pointer to reference freed memory, potentially enabling denial of service or code execution.

CVSS Base Scores

version 3.1