#1150501 dcmtk: CVE-2026-44033

Package:
src:dcmtk
Source:
src:dcmtk
Submitter:
Salvatore Bonaccorso
Date:
2026-11-03 13:51:04 UTC
Severity:
normal
Tags:
#1150501#5
Date:
2026-10-10 09:10:15 UTC
From:
To:
Hi,

The following vulnerability was published for dcmtk.

CVE-2026-44033[0]:
| Uncontrolled recursion in XMLNode::ParseXMLElement() and
| XMLNode::emptyTheNode() in the bundled XML parser
| (ofstd/libsrc/ofxml.cc) of OFFIS DCMTK 3.7.0 allows an attacker to
| cause a denial of service (stack exhaustion and process crash) via a
| crafted XML document with deeply nested elements. The parser is
| reachable through dcmencap when encapsulating a CDA document, and
| through any application that calls OFXMLParser::parseFile() or
| OFXMLParser::parseString() on untrusted input. The issue is fixed in
| commit d12e350e687530eb41e2b0c860aff4d8c04e5941.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-44033
https://www.cve.org/CVERecord?id=CVE-2026-44033
[1] https://support.dcmtk.org/redmine/issues/1214
[2] https://github.com/DCMTK/dcmtk/commit/d12e350e687530eb41e2b0c860aff4d8c04e5941

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1150501#12
Date:
2026-11-03 13:49:31 UTC
From:
To:
Hi,

All of the upstream fix commits from the security tracker for these five
bugs are in the DCMTK-3.7.1 tag. I applied each one, in order and without
the test-only files, to the sources of unstable 3.7.0+really3.7.0-7
(including the Debian patch series) and trixie 3.6.9-5+deb13u3, as
served by
https://www.google.com/url?q=http://sources.debian.org&source=gmail&ust=1793800171426000&sa=E
:

#1150501 CVE-2026-44033 d12e350e6875 "Fixed unbounded recursion in
XMLParser library."
sid: clean trixie: applies with offsets -1/-2

#1150502 CVE-2026-44034 45469f3c3003 "Fixed RLE decodeFrame() heap-OOB
read."
sid: clean trixie: applies with offset -15
(I checked: dcrleccd.cc in -7 does not already contain this change.)

#1150503 CVE-2026-44035 ca761f7f3dca "Fixed unbounded recursion in
DICOMDIR parser."
sid: clean trixie: clean

#1150506 CVE-2026-44038 d6ae1bc8d5b9 "Fix OOB read in IJG JPEG Huffman
DC decoding"
sid: clean trixie: clean

#1149131 CVE-2026-97059 18379d5b8d23 "Fixed heap over-read in
ConcatenationLoader." +
c33790827a19 "Validate buffer length in
extractBinaryFrames."
sid: clean + offsets -25/-510 trixie: both FAIL, needs a backport

For completeness, the fixes for the other open dcmtk CVE bugs are also
in 3.7.1, but they do not apply to 3.7.0 as they are: #1150500
(885ff0f10372), #1150504 (87f256d73e30) and #1150505 (cf955e64c35a; its
dcjsonrd.* files do not exist in 3.6.9 at all).

So for unstable, either 3.7.1 or cherry-picking the five commits above
looks straightforward. This is a mechanical patch-applies check only. I
have not built dcmtk or run its tests with these patches.

Regards