Medium severity · published Jun 21, 2026
CVE-2026-12805
OFFIS DCMTK ofxml.cc parseFile heap-based overflow
6.3
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DC
DCMTK · OFFIS
3.0; 3.1; 3.2; 3.3; 3.4; 3.5; +2 more · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-12805
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-12805
git.dcmtk.org
https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=1d4b3815c0987840a983160bfc671fef63a3105b
github.com
https://github.com/DCMTK/dcmtk/commit/1d4b3815c0987840a983160bfc671fef63a3105b
medium.com
https://medium.com/@faboherrera.fabo/dcmtk-vulnerability-report-201afc687790
support.dcmtk.org
https://support.dcmtk.org/redmine/issues/1208
vuldb.com
https://vuldb.com/cve/CVE-2026-12805
vuldb.com
https://vuldb.com/submit/836273
More from DCMTK
9.8
CVE-2026-5663
OFFIS DCMTK storescp storescp.cc executeOnEndOfStudy os command injection
9.8
CVE-2022-2120
OFFIS DCMTK's (All versions prior to 3.6.7) service class user (SCU) is vulnerable to relative path traversal, allowing an attacker to write DICOM files into arbitrary directories…
9.8
CVE-2022-2119
OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories…
9.8
CVE-2019-1010228
OFFIS.de DCMTK 3.6.3 and below is affected by: Buffer Overflow
8.2
CVE-2026-97059
DCMTK through 3.7.0 Heap Over-read via NumberOfFrames
