{"id":"CVE-2026-25982","published":"2026-02-24T01:40:45Z","modified":"2026-02-28T02:03:58Z","title":"ImageMagick Has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00467,"percentile":0.32494,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmq6-8289-hx3v","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":6.5},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":[">= 7.0.0, < 7.1.2-15","< 6.9.13-40"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-28T02:03:44.035870Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-pmq6-8289-hx3v"],"provenance":"source"}],"summary":{"text":"A heap out-of-bounds read in ImageMagick's DCM (DICOM) decoder, located in the coders/dcm.c module, is triggered when the decoder loop processes DICOM files under a specific configuration, because it reads the wrong number of bytes per iteration. An attacker who can supply a crafted DICOM file for ImageMagick to process over the network, without authentication or user interaction, can crash the process or leak heap memory into the resulting image.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:11Z"},"euvd":{"id":"EUVD-2026-7425","exploited":false,"provenance":"source"}}