Use After Free Affecting imagemagick package, versions <8:7.1.2.26+dfsg1-1


Severity

Recommended
0.0
low
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.32% (25th 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-DEBIAN14-IMAGEMAGICK-17951310
  • published12 Jul 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?

Upgrade Debian:14 imagemagick to version 8:7.1.2.26+dfsg1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Debian. See How to fix? for Debian:14 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