GitHub Advisoryadvisory · NuGet

GHSA-pmq6-8289-hx3v ImageMagick has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)

MEDIUM Published 2026-03-12 Modified 2026-03-12 Official page ↗
Aliases
CVE-2026-25982
Ecosystem
NuGet
Packages
Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q16-HDRI-arm64, Magick.NET-Q16-HDRI-x64, Magick.NET-Q16-HDRI-x86, Magick.NET-Q16-OpenMP-arm64, Magick.NET-Q16-OpenMP-x64, Magick.NET-Q16-OpenMP-x86, Magick.NET-Q16-arm64, Magick.NET-Q16-x64, Magick.NET-Q16-x86, Magick.NET-Q16-HDRI-OpenMP-x64, Magick.NET-Q8-AnyCPU, Magick.NET-Q8-OpenMP-arm64, Magick.NET-Q8-OpenMP-x64, Magick.NET-Q8-arm64, Magick.NET-Q8-x64, Magick.NET-Q8-x86
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Weaknesses
CWE-125
Reviewed
2026-03-12

Affected packages

• NuGet Magick.NET-Q16-AnyCPU: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-AnyCPU: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-OpenMP-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-x86: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-OpenMP-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-OpenMP-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-OpenMP-x86: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-x86: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-OpenMP-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-AnyCPU: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-OpenMP-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-OpenMP-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-x86: < 14.10.3 → fixed in 14.10.3

Description

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).

Related

Alias · CVE (1)

  • CVE-2026-25982 ImageMagick is free and open-source software used for editing and manipulating digital images. vulnerability

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References