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.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.5%top 59.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12dcmtk3.6.7-9~deb12u4DEBIAN-CVE-2026-12805
Debian:13dcmtk3.6.9-5+deb13u2DEBIAN-CVE-2026-12805
Debian:14dcmtk3.7.0+really3.7.0-6DEBIAN-CVE-2026-12805
Ubuntu:25.10dcmtkno fix listedUBUNTU-CVE-2026-12805
Ubuntu:26.04:LTSdcmtkno fix listedUBUNTU-CVE-2026-12805
Ubuntu:26.10dcmtkno fix listedUBUNTU-CVE-2026-12805

Affected products (as reported)

VendorProductVersions
OFFIS DCMTK 3.03.13.23.33.43.53.63.7.0

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