« List of all CVEs

CVE-2026-25982

ImageMagick Has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)

Published: 2/24/2026 Last updated: 2/28/2026 Reserved: 2/9/2026

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.

CNA assigner: GitHub_M (a0819718-46f1-4df5-94e2-005712e83aaa) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 6.5 Medium CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Opam packages affected (2)

conf-libMagickCore ocsigen-start

Products affected (2)

Product Vendor Version
ImageMagick ImageMagick 5.19
ImageMagick ImageMagick AMD Software: Adrenalin Edition 25.6.1 (25.10.x.y), AMD Software: PRO Edition 25.Q2 (25.10.10)

References (2)