Memory Leak Affecting imagemagick package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.46% (38th 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-UBUNTU2004-IMAGEMAGICK-17486922
  • published26 Aug 2026
  • disclosed24 Jun 2026

Introduced: 24 Jun 2026

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

How to fix?

There is no fixed version for Ubuntu:20.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:20.04 relevant fixed versions and status.

ImageMagick before 7.1.2-15 contains a memory leak vulnerability in multiple coders that write raw pixel data where allocated objects are not properly freed. Attackers can trigger this leak by processing specially crafted images, causing memory exhaustion and denial of service.

CVSS Base Scores

version 3.1