Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Magick.NET-Q8-x86
  4. ›
  5. CVE-2026-25982

CVE-2026-25982: ImageMagick has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)

March 12, 2026

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

References

  • github.com/ImageMagick/ImageMagick
  • github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmq6-8289-hx3v
  • github.com/advisories/GHSA-pmq6-8289-hx3v
  • github.com/dlemstra/Magick.NET/releases/tag/14.10.3
  • nvd.nist.gov/vuln/detail/CVE-2026-25982

Code Behaviors & Features

Detect and mitigate CVE-2026-25982 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 14.10.3

Fixed versions

  • 14.10.3

Solution

Upgrade to version 14.10.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

nuget/Magick.NET-Q8-x86/CVE-2026-25982.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:13 +0000.