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 into the image). Versions 7.1.2-15 and 6.9.13-40 contain a patch.
References
| Link | Resource |
|---|---|
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmq6-8289-hx3v | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
25 Feb 2026, 12:01
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Imagemagick
Imagemagick imagemagick |
|
| CPE | cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | |
| Summary |
|
|
| References | () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmq6-8289-hx3v - Third Party Advisory |
24 Feb 2026, 02:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-02-24 02:16
Updated : 2026-02-25 12:01
NVD link : CVE-2026-25982
Mitre link : CVE-2026-25982
CVE.ORG link : CVE-2026-25982
JSON object : View
Products Affected
imagemagick
- imagemagick
CWE
CWE-125
Out-of-bounds Read
