Vulnerability · Published Jun 21, 2026 · Assigned by VulDB
CVE-2026-12805OFFIS DCMTK ofxml.cc parseFile heap-based overflow
Medium 6.3
In plain English
A medium-severity heap buffer overflow in DCMTK from OFFIS. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | dcmtk | 3.6.7-9~deb12u4 | DEBIAN-CVE-2026-12805 |
| Debian:13 | dcmtk | 3.6.9-5+deb13u2 | DEBIAN-CVE-2026-12805 |
| Debian:14 | dcmtk | 3.7.0+really3.7.0-6 | DEBIAN-CVE-2026-12805 |
| Ubuntu:25.10 | dcmtk | no fix listed | UBUNTU-CVE-2026-12805 |
| Ubuntu:26.04:LTS | dcmtk | no fix listed | UBUNTU-CVE-2026-12805 |
| Ubuntu:26.10 | dcmtk | no fix listed | UBUNTU-CVE-2026-12805 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-372599 | OFFIS DCMTK ofxml.cc parseFile heap-based overflow vdb-entry, technical-description
- 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
- https://support.dcmtk.org/redmine/issues/1208 issue-tracking
- https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=1d4b3815c0987840a983160bfc671fef63a3105b patch
- https://medium.com/@faboherrera.fabo/dcmtk-vulnerability-report-201afc687790 broken-link, exploit
- https://github.com/DCMTK/dcmtk/commit/1d4b3815c0987840a983160bfc671fef63a3105b patch