#1150503 dcmtk: CVE-2026-44035

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

The following vulnerability was published for dcmtk.

CVE-2026-44035[0]:
| Uncontrolled recursion in DcmDicomDir::moveRecordToTree() in
| dcmdata/libsrc/dcdicdir.cc of OFFIS DCMTK 3.7.0 allows an attacker
| to cause a denial of service (stack exhaustion and process crash)
| via a crafted DICOMDIR file with a deeply chained sequence of
| directory records linked through the Offset of Referenced Lower-
| Level Directory Entity attribute. Any application that opens the
| DICOMDIR is affected, including dcmgpdir and media viewers built on
| DCMTK. The issue is fixed in commit
| ca761f7f3dcaaddaa95be87cf5d736138d7c3a9f.


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-44035
https://www.cve.org/CVERecord?id=CVE-2026-44035
[1] https://support.dcmtk.org/redmine/issues/1215
[2] https://github.com/DCMTK/dcmtk/commit/ca761f7f3dcaaddaa95be87cf5d736138d7c3a9f

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

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