CVE-2026-25982Out-of-bounds Read in Imagemagick

CWE-125Out-of-bounds Read8 documents7 sources
Severity
6.5MEDIUMNVD
EPSS
0.0%
top 95.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 24
Latest updateMar 12

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, a heap out-of-bounds read vulnerability exists in the `coders/dcm.c` module. When processing DICOM files with a specific configuration, the decoder loop incorrectly reads bytes per iteration. This causes the function to read past the end of the allocated buffer, potentially leading to a Denial of Service (crash) or Information Disclosure (leaking heap memory in

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LExploitability: 3.9 | Impact: 2.5

Affected Packages3 packages

CVEListV5imagemagick/imagemagick< 6.9.13-40+1
NVDimagemagick/imagemagick7.0.0-07.1.2-15+1
Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u10+3

🔴Vulnerability Details

4
OSV
ImageMagick has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)2026-03-12
GHSA
ImageMagick has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)2026-03-12
OSV
CVE-2026-25982: ImageMagick is free and open-source software used for editing and manipulating digital images2026-02-24
CVEList
ImageMagick Has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)2026-02-24

📋Vendor Advisories

2
Red Hat
ImageMagick: ImageMagick: Denial of Service or Information Disclosure via heap out-of-bounds read in DICOM file processing2026-02-24
Debian
CVE-2026-25982: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-25982 Impact, Exploitability, and Mitigation Steps | Wiz