LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

ImageMagick versions before 7.1.2-15 and 6.9.13-40 can read past a memory buffer when handling certain DICOM medical image files. This may crash an application or expose small amounts of heap memory. Organizations using ImageMagick in automated image-processing services should prioritize updating, especially where untrusted files are accepted.

Executive priority

Treat this as a near-term patching item for systems processing untrusted images. It is not described as actively exploited, but the network-reachable, no-authentication CVSS profile increases operational risk for public upload workflows.

Technical view

CVE-2026-25982 is a CWE-125 heap out-of-bounds read in ImageMagick's DICOM decoder, coders/dcm.c ReadDCMImage. The advisory states a decoder loop reads incorrect bytes per iteration under a specific configuration, potentially causing denial of service or information disclosure. CVSS 3.1 is 6.5, network attack vector, low complexity, no privileges or user interaction.

Likely exposure

Exposure is most likely in applications, pipelines, or web services that use ImageMagick to process DICOM files, especially from external users or partners. Affected versions are ImageMagick 7.0.0 through before 7.1.2-15, and 6.x before 6.9.13-40.

Exploitation context

The source bundle does not indicate known active exploitation, and KEV is false. The issue can be triggered during DICOM parsing; impact is limited to crash or possible heap memory disclosure as described by the advisory. No public exploit status is provided in the cited sources.

Researcher notes

Analysis is limited to the provided CVE and GitHub advisory data. The affected component is ReadDCMImage in coders/dcm.c. The stated fixed versions are 7.1.2-15 and 6.9.13-40. No additional affected forks, downstream packages, exploit availability, or workaround details are provided in the sources.

Mitigation direction

  • Upgrade ImageMagick to 7.1.2-15, 6.9.13-40, or later supported vendor packages.
  • Inventory services and containers that process images with ImageMagick.
  • Restrict or disable DICOM processing where it is not business-required.
  • Limit untrusted file uploads to trusted formats until patched.
  • Monitor vendor advisory pages for distribution-specific package updates.

Validation and detection

  • Check installed ImageMagick versions across servers, containers, and build images.
  • Confirm production packages are at least 7.1.2-15 or 6.9.13-40.
  • Identify applications that call ImageMagick on uploaded or partner-supplied DICOM files.
  • Review crash logs for recent ImageMagick failures during DICOM processing.
  • Verify package managers or SBOMs no longer report affected versions.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-25982 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L3.92.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2026-25982Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ImageMagickImageMagick>= 7.0.0, < 7.1.2-15, < 6.9.13-40Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.