Memory Leak Affecting imagemagick package, versions <8:7.1.2.18+dfsg1-1ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.1% (1st 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-17995345
  • published28 Aug 2026
  • disclosed15 Jul 2026

Introduced: 15 Jul 2026

CVE-2026-61865  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 imagemagick to version 8:7.1.2.18+dfsg1-1ubuntu0.1~esm2 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 Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1