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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OFFIS | DCMTK | 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dcmtk | 3.7.0+really3.7.0-6 | — |
| Debian 13 | dcmtk | 3.6.9-5+deb13u2 | — |
| Debian 12 | dcmtk | 3.6.7-9~deb12u4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | dcmtk | No fix yet | — |
| Ubuntu 26.04 LTS | dcmtk | No fix yet | — |
| Ubuntu 25.10 | dcmtk | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | dcmtk | No fix yet | — |
| Ubuntu Pro 22.04 LTS | dcmtk | No fix yet | — |
| Ubuntu Pro 20.04 LTS | dcmtk | No fix yet | — |
| Ubuntu Pro 18.04 LTS | dcmtk | No fix yet | — |
| Ubuntu Pro 16.04 LTS | dcmtk | No fix yet | — |
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