| Name | CVE-2026-25982 |
| 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 into the image). Versions 7.1.2-15 and 6.9.13-40 contain a patch. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| imagemagick (PTS) | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | vulnerable |
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u9 | vulnerable | |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u5 | vulnerable | |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u6 | vulnerable | |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u4 | vulnerable | |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u6 | vulnerable | |
| forky, sid | 8:7.1.2.15+dfsg1-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| imagemagick | source | (unstable) | 8:7.1.2.15+dfsg1-1 |
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmq6-8289-hx3v
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/4e1f5381d4ccbb6b71927e94c5d257fa883b3af7 (7.1.2-14)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/b4c37614b6da7695cb4f5b3c6e326a37bdf2b1a9 (6.9.13-39)
for imagemagick6 fix in included in a jumbo security patch with other fix like CVE-2026-25797