CVE & CISA-KEV Catalog

CVE-2026-25898

MEDIUM
6.5
CVSS v3
NVD

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the UIL and XPM image encoder do not validate the pixel index value returned by `GetPixelIndex()` before using it as an array subscript. In HDRI builds, `Quantum` is a floating-point type, so pixel index values can be negative. An attacker can craft an image with negative pixel index values to trigger a global buffer overflow read during conversion, leading to information disclosure or a process crash. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

How to fix

Remediation Available
imagemagickDebian
Fixed in:8:6.9.11.60+dfsg-1.3+deb11u10CVE-2026-25898
Fixed in:8:6.9.11.60+dfsg-1.6+deb12u7CVE-2026-25898
Fixed in:8:7.1.1.43+dfsg1-1+deb13u6CVE-2026-25898
Fixed in:8:7.1.2.15+dfsg1-1CVE-2026-25898
imagemagickUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm19USN-8069-1
Fixed in:8:6.7.7.10-6ubuntu3.13+esm21USN-8263-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm20USN-8263-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm18USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
imagemagick-6.q16Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm20USN-8263-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm18USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
imagemagick-6.q16hdriUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
imagemagick-7.q16Ubuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
imagemagick-7.q16hdriUbuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
imagemagick-commonUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm19USN-8069-1
libimage-magick-q16-perlUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm18USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
libimage-magick-q16hdri-perlUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
libmagick++-6-headersUbuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
libmagick++-6.q16-5v5Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm20USN-8263-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm18USN-8069-1
libmagick++-6.q16-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
libmagick++-6.q16-8Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
libmagick++-6.q16-9t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
libmagick++-6.q16hdri-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
libmagick++-6.q16hdri-8Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
libmagick++-6.q16hdri-9t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
libmagick++-7.q16-5Ubuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
libmagick++-7.q16hdri-5Ubuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
libmagick++5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm19USN-8069-1
Fixed in:8:6.7.7.10-6ubuntu3.13+esm21USN-8263-1
libmagickcore-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm20USN-8263-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm18USN-8069-1
libmagickcore-6.q16-2-extraUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm20USN-8263-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm18USN-8069-1
libmagickcore-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
libmagickcore-6.q16-3-extraUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
libmagickcore-6.q16-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
libmagickcore-6.q16-6-extraUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
libmagickcore-6.q16-7-extraUbuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
libmagickcore-6.q16-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
libmagickcore-6.q16hdri-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
libmagickcore-6.q16hdri-3-extraUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
libmagickcore-6.q16hdri-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8USN-8069-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
libmagickcore-6.q16hdri-6-extraUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8USN-8069-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
libmagickcore-6.q16hdri-7-extraUbuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
libmagickcore-6.q16hdri-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
libmagickcore-7.q16-10Ubuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
libmagickcore-7.q16-10-extraUbuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
libmagickcore-7.q16hdri-10Ubuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
libmagickcore-7.q16hdri-10-extraUbuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
libmagickcore5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm21USN-8263-1
Fixed in:8:6.7.7.10-6ubuntu3.13+esm19USN-8069-1
libmagickcore5-extraUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm19USN-8069-1
Fixed in:8:6.7.7.10-6ubuntu3.13+esm21USN-8263-1
libmagickwand-6-headersUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm20USN-8263-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
libmagickwand-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm18USN-8069-1
Fixed in:8:6.8.9.9-7ubuntu5.16+esm20USN-8263-1
libmagickwand-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
libmagickwand-6.q16-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
libmagickwand-6.q16-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
libmagickwand-6.q16hdri-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm10USN-8069-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
libmagickwand-6.q16hdri-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10USN-8263-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8USN-8069-1
libmagickwand-6.q16hdri-7t64Ubuntu
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9USN-8263-1
Fixed in:8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7USN-8069-1
libmagickwand-7.q16-10Ubuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
libmagickwand-7.q16hdri-10Ubuntu
Fixed in:8:7.1.2.3+dfsg1-1ubuntu0.1USN-8263-1
libmagickwand5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm21USN-8263-1
Fixed in:8:6.7.7.10-6ubuntu3.13+esm19USN-8069-1
perlmagickUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.13+esm19USN-8069-1
ImageMagick Q16Windows application
Affected:6.9.13-40Fixed in:6.9.13-40ImageMagick Studio LLC
Affected:7.0.0-0 7.1.2-15Fixed in:7.1.2-15ImageMagick Studio LLC
ImageMagick Q16-HDRIWindows application
Affected:7.0.0-0 7.1.2-15Fixed in:7.1.2-15ImageMagick Studio LLC
Affected:6.9.13-40Fixed in:6.9.13-40ImageMagick Studio LLC

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityLow

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

Exploit Intelligence

0.35%probability of exploitation in 30 days
27thpercentile

Low risk: more likely to be exploited than 27% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-125 (Out-of-bounds Read) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0160High7.5100%KEVFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2021-4034High7.895%KEVFix
CVE-2023-21769High7.592%-Fix
CVE-2023-49285High8.689%-Fix
CVE-2020-8794Critical9.889%-Fix
Embed a live status badge for CVE-2026-25898
CVE-2026-25898 severity badge

Markdown

[![CVE-2026-25898](https://tridentstack.com/cve/badge/CVE-2026-25898.svg)](https://tridentstack.com/cve/CVE-2026-25898)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-25898"><img src="https://tridentstack.com/cve/badge/CVE-2026-25898.svg" alt="CVE-2026-25898"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-02-25.