Buffer overflow in Offis Dcmtk
CVE-2026-12805
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.005 (40.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 41st percentile — 40.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Offis Dcmtk — versions 3.0, 3.1, 3.2
Weakness classification (CWE)
References
- VDB-372599 | OFFIS DCMTK ofxml.cc parseFile heap-based overflow (technical-description, vdb-entry)
- VDB-372599 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- CVE-2026-12805 | CVE Analysis and Report (third-party-advisory)
- Submit #836273 | DCMTK 3.7.0 and below Heap-based Buffer Overflow (third-party-advisory)
- support.dcmtk.org/redmine/issues/1208 (issue-tracking)
- git.dcmtk.org/ (patch)
- medium.com/@faboherrera.fabo/dcmtk-vulnerability-report-201afc687790 (exploit, broken-link)
- github.com/DCMTK/dcmtk/commit/1d4b3815c0987840a983160bfc671fef63a3105b (patch)
Frequently asked questions
- What is CVE-2026-12805?
- CVE-2026-12805 is a medium-severity vulnerability in Offis Dcmtk, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 6.3/10. Published 2026-06-21.
- How severe is CVE-2026-12805?
- Medium severity. CVSS v3 base score is 6.3 out of 10.