# CVE-2026-12805: OFFIS DCMTK ofxml.cc parseFile heap-based overflow

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-21T19:15:07.079Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-119, CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- OFFIS DCMTK: 3.0; 3.1; 3.2; 3.3; 3.4; 3.5; 3.6; 3.7.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `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`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://medium.com/@faboherrera.fabo/dcmtk-vulnerability-report-201afc687790> (exploit, broken-link)
- <https://vuldb.com/vuln/372599> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/372599/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-12805> (third-party-advisory)
- <https://vuldb.com/submit/836273> (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://github.com/DCMTK/dcmtk/commit/1d4b3815c0987840a983160bfc671fef63a3105b> (patch)

## Sources

- CVE List: [CVE-2026-12805](https://www.cve.org/CVERecord?id=CVE-2026-12805), CVE Terms of Use, modified 2026-06-23
- NVD: [CVE-2026-12805](https://nvd.nist.gov/vuln/detail/CVE-2026-12805), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-12805 · Whole record: https://cve.day/CVE-2026-12805.json · Rebuilt by cve.day 2026-11-25T22:59:25.337Z
