CVE Database›Document archive›CVE-2026-25988

CVE-2026-25988

ImageMagick: ImageMagick: Denial of Service due to memory leak in image processing

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · February 24, 2026

Updated · August 18, 2026

Description

A flaw was found in ImageMagick. When processing certain images, the msl.c component fails to correctly update the stack index, causing an image to be stored in an incorrect memory location. This memory is then not properly freed, leading to memory leaks. A remote attacker could exploit this vulnerability by providing a specially crafted image, which can lead to a Denial of Service (DoS) condition.

Statement

MODERATE: A flaw in ImageMagick can lead to memory leaks when processing images. This issue arises because the MSL image stack index is not consistently refreshed, causing images to be stored in incorrect memory locations and not properly deallocated. Red Hat products utilizing ImageMagick for image manipulation may experience resource exhaustion under specific processing conditions.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To reduce the risk of memory exhaustion, it is recommended to avoid processing untrusted or maliciously crafted image files with ImageMagick. Deploying ImageMagick operations within a sandboxed environment with appropriate resource limits can further contain potential impacts from this vulnerability.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CWE-911 · Improper Update of Reference Count