CVE-2026-25982
ImageMagick has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)
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.
How to fix CVE-2026-25982
To remediate CVE-2026-25982, upgrade the affected package to a fixed version below.
- —upgrade to 8:6.9.11.60+dfsg-1.3+deb11u10 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —upgrade to 14.10.3 or later
- —
Is CVE-2026-25982 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (20)
- from 0, < 8:6.9.11.60+dfsg-1.3+deb11u10
- from 0, < 14.10.3
- from 0, < 14.10.3
- from 0, < 14.10.3
- from 0, < 14.10.3
- from 0, < 14.10.3
- from 0, < 14.10.3
- from 0, < 14.10.3
- from 0, < 14.10.3
- from 0, < 14.10.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |