Raspbian automatic forward porter [Wed, 22 Jul 2026 02:22:04 +0000 (03:22 +0100)]
Merge version 3.7.0+really3.7.0-5+rpi1 and 3.7.0+really3.7.0-7 to produce 3.7.0+really3.7.0-7+rpi1
Étienne Mollier [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Make fast forward from 3.7.0+really3.7.0-6
[dgit --quilt=gbp]
Michael Onken [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Fix VR-spoofed sequence cast crash in wlfsim, too.
Applied-Upstream:
694a0a06a38015ce768fa161a62b148189f84959
Last-Update: 2026-05-29
Reviewed-By: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/
1141411
Apply the same findAndGetSequence() fix to the unchecked casts in
DatasetIsComplete() and ReferencedStudyOrPatientSequenceIsAbsent...()
as in
f4e0074.
Gbp-Pq: Name CVE-2026-44628b.patch
Michael Onken [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Fix wlmscpfs crash on VR-spoofed seq. attributes.
Applied-Upstream:
f4e0074682645b1a4289d62581926c4394d5c6d5
Last-Update: 2026-05-29
Reviewed-By: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/
1141411
wldsfs.cc cast findAndGetElement() results to DcmSequenceOfItems*
without checking the VR. A C-FIND with a dictionary-SQ tag declared
under a non-SQ wire VR (Explicit VR) thus dispatched through the wrong
vtable and crashes the SCP (see also CVE-2024-28130 in dcmpstat).
Use findAndGetSequence(), which validates the VR. Also guard getItem(0)
against an empty ScheduledProcedureStepSequence and drop a bogus cast.
Thanks for the report and analysis to Abhinav Agarwal.
This closes DCMTK issue #1218.
Gbp-Pq: Name CVE-2026-44628a.patch
Debian Med Packaging Team [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
CVE-2026-52868
commit
e3878daf870cd2db50eadfde38615f0afae8a584
Author: Michael Onken <onken@open-connections.de>
Date: Tue May 19 17:16:08 2026 +0200
Fix path traversal in wlmscpfs through Called AET.
The wlmscpfs SCP appended the Called Application Entity Title received
in the A-ASSOCIATE-RQ directly onto the configured worklist data file
path and used the existence of the resulting directory as an access
control decision. Because DICOM VR AE permits the characters "/", "\"
and ".", a peer could send a 16-byte AE title such as "../secret/VICTIM"
and have wlmscpfs serve worklist records from a sibling directory of
the configured root. With option --request-file-path enabled, the same
AE title (and the Patient ID) was substituted into the output filename
template without sanitization, producing an arbitrary-location write
primitive outside the configured request file directory.
This commit closes both holes:
- wlmscpfs now rejects any A-ASSOCIATE-RQ whose Called AE title is not
safe to use as a single filesystem path component, refusing the
association with WLM_BAD_AE_SERVICE. The validation is implemented in
the new static method WlmFileSystemInteractionManager::IsValidAETitle\
ForFilesystem, which rejects empty or over-long titles, any title
containing a dot, and delegates the remaining character check to
OFStandard::sanitizeAETitle (sanitize-and-compare).
- The placeholder substitution in storeRequestToFile now passes each
substituted value (#a, #c, #p) through OFStandard::sanitizeAETitle
before insertion, and additionally sanitizes the final filename, so
that any path separator surviving the substitution is defanged.
Supporting changes:
- Promote storescp's private sanitizeAETitle helper into the public
OFStandard::sanitizeAETitle, with documentation noting that the
function is also used by wlmscpfs to validate filesystem path
components (so widening the allow list has downstream effects).
- Replace storescp's local copy of the helper with the new public one.
- Add a forward declaration of DcmSequenceOfItems in wlfsim.h that
was previously missing (existing callers happened to include dctk.h
first).
- Document the new behaviour in the wlmscpfs man page.
Tests:
- New ofstd_OFStandard_sanitizeAETitle test covers the lifted helper
(path separators, NUL, control bytes, high-range bytes, shell
metacharacters, the quotation-mark preservation behaviour, and
empty/length-1 edge cases).
- New dcmwlm_aetitle_validation test covers the validator directly
with every path-traversal payload from the bug report ("../secret/\
VICTIM", "../CARDIOLOGY", "..", ".", "..\secret"), dotted variants
("MY.AE", "foo..bar", ".foo", "foo."), structural rejections (empty,
17 bytes, embedded NUL, tab, 0xFF), shell metacharacters, and a row
of legitimate AE titles that must still be accepted.
- dcmwlm previously had no OFTEST scaffolding; tests.cc has been added
along with the corresponding CMakeLists.txt and Makefile.in entries.
Thanks to Abhinav Agarwal for the report.
Gbp-Pq: Name CVE-2026-52868.patch
Michael Onken [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Fix A-ASSOCIATE-RQ/AC error-path leaks in DUL FSM.
Applied-Upstream:
2312891a8d058c862e00bcbd636e5da26308658a
Last-Update: 2026-05-29
Reviewed-By: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/
1141411
AE_3_AssociateConfirmationAccept and AE_6_ExamineAssociateRequest leaked
the whole parsed PDU graph (presentation contexts, transfer syntax
sub-chains, role list, user info) on error returns taken after
parseAssociate() succeeded, since only the success path freed it. For an
SCP this is remotely triggerable and accumulates per connection.
Free the parsed PDU before each such return;
translatePresentationContextList() also frees the proposed transfer
syntax list of a rejected context. Add a dcmnet regression test
(tassocleak.cc) driving the AE_6 zero-transfer-syntax path against an
in-process DcmSCP; leak-clean with the fix under DCMTK_WITH_SANITIZERS.
Thanks for the report and analysis to Abhinav Agarwal.
This closes DCMTK issue #1217.
Gbp-Pq: Name CVE-2026-35505.patch
Michael Onken [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Fix extNegList leaks on A-ASSOCIATE parse failure.
Applied-Upstream:
23f181f7a3cb8334056f751a3a0c2ddf01046752
Last-Update: 2026-05-26
Reviewed-By: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/
1141411
Thanks for the report and analysis to Abhinav Agarwal.
This closes DCMTK feature #126.
Gbp-Pq: Name CVE-2026-50254.patch
Michael Onken [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Fixed path traversal in DcmSCU bit-pres. C-GET.
Applied-Upstream:
eca9a03dda7d4fc1faa7e5a6dac9617938cf5803
Last-Update: 2026-05-12
Reviewed-By: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/
1141411
In DCMSCU_STORAGE_BIT_PRESERVING mode, the C-STORE sub-operation
handler in handleCGETSession() built the on-disk filename from the
peer-supplied AffectedSOPInstanceUID without sanitization, allowing
a malicious C-STORE SCP to write files outside the configured
storage directory via path-separator or "../" sequences in the UID.
The DISK mode path was already sanitized (via createStorageFilename(),
fixed in commit
f06a86751 for CVE-2022-2120); this branch was missed.
The fix mirrors the same pattern (sanitize a local OFString copy) so
the request struct stays intact and the C-STORE response still echoes
the peer's original UID per protocol.
Affects all consumers of DcmSCU using DCMSCU_STORAGE_BIT_PRESERVING,
including getscu --bit-preserving.
This fixes DCMTK issue #1207.
Thanks to Abhinav Agarwal for the report and analysis.
Gbp-Pq: Name CVE-2026-50003.patch
Debian Med Packaging Team [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
CVE-2026-12805
commit
1d4b3815c0987840a983160bfc671fef63a3105b
Author: Marco Eichelberg <eichelberg@offis.de>
Date: Sat May 23 17:07:58 2026 +0200
Fixed buffer overflow in XMLNode::parseFile().
Fixed a heap buffer overflow that could occur in the XML parser
when reading from a named pipe.
Thanks to Cristhian Daniel Rivas Zúñiga and Sebastian Andres Muñoz Morera
(Insituto Tecnológico de Costa Rica) for the bug report and fix.
This closes DCMTK issue #1208.
Gbp-Pq: Name CVE-2026-12805.patch
Marco Eichelberg [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Fixed remote heap buffer overflow in dcmqrscp.
Applied-Upstream:
0f78a4ef6f645ea5530166e445e5436a5de58e75
Last-Update: 2026-05-04
Bug: https://support.dcmtk.org/redmine/issues/1206
Bug-Debian: https://bugs.debian.org/
1139181
Reviewed-By: Étienne Mollier <emollier@debian.org>
Thanks to 'elp3pinill0' for the bug report, detailed
analysis, proof of concept and proposed fix.
Gbp-Pq: Name CVE-2026-10194.patch
Marco Eichelberg [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Sanitize all strings passed to the exec options.
Applied-Upstream:
edbb085e45788dccaf0e64d71534cfca925784b8
Last-Update: 2026-03-21
Bug: https://support.dcmtk.org/redmine/issues/1194
Bug-Debian: https://bugs.debian.org/
1133001
Reviewed-By: Étienne Mollier <emollier@debian.org>
Sanitize the text fields from incoming DICOM associations and DICOM objects
(such as Study Instance UID, SOP Instance UID, Patient's Name) and the
calling SCU's network presentation address by removing special characters
that may be interpreted as shell escape characters when one of the
execution options (e.g. --exec-on-reception) is in use.
Thanks to Machine Spirits UG (haftungsbeschränkt) for the bug report,
detailed analysis and proof of concept.
This closes DCMTK issue #1194.
Gbp-Pq: Name CVE-2026-5663.patch
Marco Eichelberg [Fri, 30 Jan 2026 17:21:33 +0000 (18:21 +0100)]
[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
Thanks to Pino Toscano (GitHub user pinotree) for the pull request.
This closes GitHub PR #137.
Gbp-Pq: Name hurd.patch
Étienne Mollier [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
skip test failure on big endian systems.
Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
Bug-Debian: https://bugs.debian.org/
1127756#25
Forwarded: not-needed.
Last-Update: 2026-02-17
The issue is known upstream and supposed to be fixed in an upcoming
version.
Last-Update: 2026-02-17
Gbp-Pq: Name skip-bigendian-roundtrip-failure.patch
Mathieu Malaterre [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Remove version
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/
1098944
Last-Update: 2025-03-21
Gbp-Pq: Name remove_version.patch
Gert Wollny [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
Don't add executables to cmake exports
Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed
CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
Gbp-Pq: Name 07_dont_export_all_executables.patch
Jürgen Salk [Mon, 6 Jul 2026 20:39:03 +0000 (22:39 +0200)]
The original maintainer Jürgen Salk applied
Forwarded: not-needed
a set of patches to the original code. This file contains
changes to C++ code
Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch
Étienne Mollier [Tue, 7 Jul 2026 17:46:34 +0000 (19:46 +0200)]
d/changelog: ready for upload to unstable.
Étienne Mollier [Mon, 6 Jul 2026 20:34:37 +0000 (22:34 +0200)]
d/patches/CVE-2026-*.patch: new security patches.
This change includes a patch queue addressing CVE-2026-50003,
CVE-2026-50254, CVE-2026-35505, CVE-2026-52868 and CVE-2026-44628.
The latter CVE-2026-44628 is divided into two patches to match
upstream's commits. These changes fix a range of issues, including
risks of path traversals, denial of services and information leaks.
Closes: #1141411
Étienne Mollier [Mon, 22 Jun 2026 21:33:20 +0000 (23:33 +0200)]
d/changelog: ready for upload to unstable.
Étienne Mollier [Mon, 22 Jun 2026 20:22:11 +0000 (22:22 +0200)]
Make fast forward from 3.7.0+really3.7.0-5
[dgit --quilt=gbp]
Debian Med Packaging Team [Mon, 22 Jun 2026 20:22:11 +0000 (22:22 +0200)]
CVE-2026-12805
commit
1d4b3815c0987840a983160bfc671fef63a3105b
Author: Marco Eichelberg <eichelberg@offis.de>
Date: Sat May 23 17:07:58 2026 +0200
Fixed buffer overflow in XMLNode::parseFile().
Fixed a heap buffer overflow that could occur in the XML parser
when reading from a named pipe.
Thanks to Cristhian Daniel Rivas Zúñiga and Sebastian Andres Muñoz Morera
(Insituto Tecnológico de Costa Rica) for the bug report and fix.
This closes DCMTK issue #1208.
Gbp-Pq: Name CVE-2026-12805.patch
Marco Eichelberg [Mon, 22 Jun 2026 20:22:11 +0000 (22:22 +0200)]
Fixed remote heap buffer overflow in dcmqrscp.
Applied-Upstream:
0f78a4ef6f645ea5530166e445e5436a5de58e75
Last-Update: 2026-05-04
Bug: https://support.dcmtk.org/redmine/issues/1206
Bug-Debian: https://bugs.debian.org/
1139181
Reviewed-By: Étienne Mollier <emollier@debian.org>
Thanks to 'elp3pinill0' for the bug report, detailed
analysis, proof of concept and proposed fix.
Gbp-Pq: Name CVE-2026-10194.patch
Marco Eichelberg [Mon, 22 Jun 2026 20:22:11 +0000 (22:22 +0200)]
Sanitize all strings passed to the exec options.
Applied-Upstream:
edbb085e45788dccaf0e64d71534cfca925784b8
Last-Update: 2026-03-21
Bug: https://support.dcmtk.org/redmine/issues/1194
Bug-Debian: https://bugs.debian.org/
1133001
Reviewed-By: Étienne Mollier <emollier@debian.org>
Sanitize the text fields from incoming DICOM associations and DICOM objects
(such as Study Instance UID, SOP Instance UID, Patient's Name) and the
calling SCU's network presentation address by removing special characters
that may be interpreted as shell escape characters when one of the
execution options (e.g. --exec-on-reception) is in use.
Thanks to Machine Spirits UG (haftungsbeschränkt) for the bug report,
detailed analysis and proof of concept.
This closes DCMTK issue #1194.
Gbp-Pq: Name CVE-2026-5663.patch
Marco Eichelberg [Fri, 30 Jan 2026 17:21:33 +0000 (18:21 +0100)]
[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
Thanks to Pino Toscano (GitHub user pinotree) for the pull request.
This closes GitHub PR #137.
Gbp-Pq: Name hurd.patch
Étienne Mollier [Mon, 22 Jun 2026 20:22:11 +0000 (22:22 +0200)]
skip test failure on big endian systems.
Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
Bug-Debian: https://bugs.debian.org/
1127756#25
Forwarded: not-needed.
Last-Update: 2026-02-17
The issue is known upstream and supposed to be fixed in an upcoming
version.
Last-Update: 2026-02-17
Gbp-Pq: Name skip-bigendian-roundtrip-failure.patch
Mathieu Malaterre [Mon, 22 Jun 2026 20:22:11 +0000 (22:22 +0200)]
Remove version
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/
1098944
Last-Update: 2025-03-21
Gbp-Pq: Name remove_version.patch
Gert Wollny [Mon, 22 Jun 2026 20:22:11 +0000 (22:22 +0200)]
Don't add executables to cmake exports
Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed
CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
Gbp-Pq: Name 07_dont_export_all_executables.patch
Jürgen Salk [Mon, 22 Jun 2026 20:22:11 +0000 (22:22 +0200)]
The original maintainer Jürgen Salk applied
Forwarded: not-needed
a set of patches to the original code. This file contains
changes to C++ code
Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch
Étienne Mollier [Mon, 22 Jun 2026 20:19:31 +0000 (22:19 +0200)]
CVE-2026-12805.patch: new: fix CVE-2026-12805.
This patch fixes a risk of buffer overflow by ensuring negative error
codes in XMLNode::parseFile are properly handled, as well a NULL
values.
Closes: #1140562
Raspbian automatic forward porter [Sun, 21 Jun 2026 15:41:30 +0000 (16:41 +0100)]
Merge version 3.7.0+really3.7.0-2+rpi1 and 3.7.0+really3.7.0-5 to produce 3.7.0+really3.7.0-5+rpi1
Étienne Mollier [Mon, 8 Jun 2026 17:48:40 +0000 (19:48 +0200)]
d/changelog: ready for urgent upload to unstable.
Étienne Mollier [Mon, 8 Jun 2026 17:14:40 +0000 (19:14 +0200)]
Make fast forward from 3.7.0+really3.7.0-4
[dgit --quilt=gbp]
Marco Eichelberg [Mon, 8 Jun 2026 17:14:40 +0000 (19:14 +0200)]
Fixed remote heap buffer overflow in dcmqrscp.
Applied-Upstream:
0f78a4ef6f645ea5530166e445e5436a5de58e75
Last-Update: 2026-05-04
Bug: https://support.dcmtk.org/redmine/issues/1206
Bug-Debian: https://bugs.debian.org/
1139181
Reviewed-By: Étienne Mollier <emollier@debian.org>
Thanks to 'elp3pinill0' for the bug report, detailed
analysis, proof of concept and proposed fix.
Gbp-Pq: Name CVE-2026-10194.patch
Marco Eichelberg [Mon, 8 Jun 2026 17:14:40 +0000 (19:14 +0200)]
Sanitize all strings passed to the exec options.
Applied-Upstream:
edbb085e45788dccaf0e64d71534cfca925784b8
Last-Update: 2026-03-21
Bug: https://support.dcmtk.org/redmine/issues/1194
Bug-Debian: https://bugs.debian.org/
1133001
Reviewed-By: Étienne Mollier <emollier@debian.org>
Sanitize the text fields from incoming DICOM associations and DICOM objects
(such as Study Instance UID, SOP Instance UID, Patient's Name) and the
calling SCU's network presentation address by removing special characters
that may be interpreted as shell escape characters when one of the
execution options (e.g. --exec-on-reception) is in use.
Thanks to Machine Spirits UG (haftungsbeschränkt) for the bug report,
detailed analysis and proof of concept.
This closes DCMTK issue #1194.
Gbp-Pq: Name CVE-2026-5663.patch
Marco Eichelberg [Fri, 30 Jan 2026 17:21:33 +0000 (18:21 +0100)]
[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
Thanks to Pino Toscano (GitHub user pinotree) for the pull request.
This closes GitHub PR #137.
Gbp-Pq: Name hurd.patch
Étienne Mollier [Mon, 8 Jun 2026 17:14:40 +0000 (19:14 +0200)]
skip test failure on big endian systems.
Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
Bug-Debian: https://bugs.debian.org/
1127756#25
Forwarded: not-needed.
Last-Update: 2026-02-17
The issue is known upstream and supposed to be fixed in an upcoming
version.
Last-Update: 2026-02-17
Gbp-Pq: Name skip-bigendian-roundtrip-failure.patch
Mathieu Malaterre [Mon, 8 Jun 2026 17:14:40 +0000 (19:14 +0200)]
Remove version
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/
1098944
Last-Update: 2025-03-21
Gbp-Pq: Name remove_version.patch
Gert Wollny [Mon, 8 Jun 2026 17:14:40 +0000 (19:14 +0200)]
Don't add executables to cmake exports
Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed
CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
Gbp-Pq: Name 07_dont_export_all_executables.patch
Jürgen Salk [Mon, 8 Jun 2026 17:14:40 +0000 (19:14 +0200)]
The original maintainer Jürgen Salk applied
Forwarded: not-needed
a set of patches to the original code. This file contains
changes to C++ code
Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch
Étienne Mollier [Mon, 8 Jun 2026 17:14:21 +0000 (19:14 +0200)]
d/control: add myself to uploaders.
Étienne Mollier [Mon, 8 Jun 2026 17:13:13 +0000 (19:13 +0200)]
CVE-2026-10194.patch: new: fix CVE-2026-10194.
Closes: #1139181
Étienne Mollier [Thu, 4 Jun 2026 20:14:10 +0000 (22:14 +0200)]
d/changelog: ready for upload to unstable.
Étienne Mollier [Thu, 4 Jun 2026 20:13:25 +0000 (22:13 +0200)]
Make fast forward from 3.7.0+really3.7.0-3
[dgit --quilt=gbp]
Marco Eichelberg [Thu, 4 Jun 2026 20:13:25 +0000 (22:13 +0200)]
Sanitize all strings passed to the exec options.
Applied-Upstream:
edbb085e45788dccaf0e64d71534cfca925784b8
Last-Update: 2026-03-21
Bug: https://support.dcmtk.org/redmine/issues/1194
Bug-Debian: https://bugs.debian.org/
1133001
Reviewed-By: Étienne Mollier <emollier@debian.org>
Sanitize the text fields from incoming DICOM associations and DICOM objects
(such as Study Instance UID, SOP Instance UID, Patient's Name) and the
calling SCU's network presentation address by removing special characters
that may be interpreted as shell escape characters when one of the
execution options (e.g. --exec-on-reception) is in use.
Thanks to Machine Spirits UG (haftungsbeschränkt) for the bug report,
detailed analysis and proof of concept.
This closes DCMTK issue #1194.
Gbp-Pq: Name CVE-2026-5663.patch
Marco Eichelberg [Fri, 30 Jan 2026 17:21:33 +0000 (18:21 +0100)]
[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
Thanks to Pino Toscano (GitHub user pinotree) for the pull request.
This closes GitHub PR #137.
Gbp-Pq: Name hurd.patch
Étienne Mollier [Thu, 4 Jun 2026 20:13:25 +0000 (22:13 +0200)]
skip test failure on big endian systems.
Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
Bug-Debian: https://bugs.debian.org/
1127756#25
Forwarded: not-needed.
Last-Update: 2026-02-17
The issue is known upstream and supposed to be fixed in an upcoming
version.
Last-Update: 2026-02-17
Gbp-Pq: Name skip-bigendian-roundtrip-failure.patch
Mathieu Malaterre [Thu, 4 Jun 2026 20:13:25 +0000 (22:13 +0200)]
Remove version
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/
1098944
Last-Update: 2025-03-21
Gbp-Pq: Name remove_version.patch
Gert Wollny [Thu, 4 Jun 2026 20:13:25 +0000 (22:13 +0200)]
Don't add executables to cmake exports
Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed
CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
Gbp-Pq: Name 07_dont_export_all_executables.patch
Jürgen Salk [Thu, 4 Jun 2026 20:13:25 +0000 (22:13 +0200)]
The original maintainer Jürgen Salk applied
Forwarded: not-needed
a set of patches to the original code. This file contains
changes to C++ code
Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch
Étienne Mollier [Thu, 4 Jun 2026 20:10:06 +0000 (22:10 +0200)]
Revert "CVE-2026-10528-partial.patch: new: fix needed by orthanc."
The change is causing an ABI breakage that is going to require a
transition. It is more appropriate to wait for the 3.7.1 release and
coordinate the transition on a sane basis. In the meantime the change
is undone.
This reverts commit
5d6c0649ddf534d574f7c64245f13a9924400245.
Étienne Mollier [Wed, 3 Jun 2026 20:32:30 +0000 (22:32 +0200)]
d/changelog: ready for team upload.
Étienne Mollier [Wed, 3 Jun 2026 20:30:57 +0000 (22:30 +0200)]
d/changelog: ready for upload to unstable.
Étienne Mollier [Wed, 3 Jun 2026 19:54:21 +0000 (21:54 +0200)]
Declare fast forward from 3.7.0+really3.7.0-2
[dgit --quilt=gbp --overwrite]
Michael Onken [Wed, 3 Jun 2026 19:54:21 +0000 (21:54 +0200)]
Add sequence nesting depth limit for parsing
Applied-Upstream:
885ff0f10372bd589b5f44cea974f28a3964cb0f
Last-Update: 2026-04-11
Bug: https://support.dcmtk.org/redmine/issues/1191
Bug-Debian: https://bugs.debian.org/
1138713
Reviewed-By: Étienne Mollier <emollier@debian.org>
Track sequence nesting depth on DcmInputStream during parsing. When the
depth exceeds a configurable limit, parsing is aborted with
EC_NestingDepthLimitExceeded. This prevents stack overflow from
excessively nested DICOM sequences.
The default limit is controlled by the compile-time macro
DCMTK_MAX_SEQUENCE_NESTING (default: 64). It can be overridden per parse
operation via the runtime API:
- DcmInputStream::setMaxNestingDepth() for direct stream access
- DcmItem::setMaxNestingDepth() (inherited by DcmDataset) for loadFile()
and read()
- DcmFileFormat::setMaxNestingDepth() for loadFile() and read(),
forwarded to the contained dataset
- DcmSCP::setMaxNestingDepth() and DcmSCU::setMaxNestingDepth() for
datasets received over the network via receiveDIMSEDataset()
The runtime setter uses Sint32 semantics:
0 = compile-time default, -1 = unlimited, >0 = limit
Note: the specific EC_NestingDepthLimitExceeded error code is not yet
surfaced through the DIMSE layer; DIMSE_receiveDataSetInMemory() maps
all parse errors to DIMSE_RECEIVEFAILED.
Thanks to the IN-CYPHER OSS Security Team for the report, detailed
analysis and proof of concept.
This closes DCMTK Bug #1191.
Gbp-Pq: Name CVE-2026-10528-partial.patch
Marco Eichelberg [Wed, 3 Jun 2026 19:54:21 +0000 (21:54 +0200)]
Sanitize all strings passed to the exec options.
Applied-Upstream:
edbb085e45788dccaf0e64d71534cfca925784b8
Last-Update: 2026-03-21
Bug: https://support.dcmtk.org/redmine/issues/1194
Bug-Debian: https://bugs.debian.org/
1133001
Reviewed-By: Étienne Mollier <emollier@debian.org>
Sanitize the text fields from incoming DICOM associations and DICOM objects
(such as Study Instance UID, SOP Instance UID, Patient's Name) and the
calling SCU's network presentation address by removing special characters
that may be interpreted as shell escape characters when one of the
execution options (e.g. --exec-on-reception) is in use.
Thanks to Machine Spirits UG (haftungsbeschränkt) for the bug report,
detailed analysis and proof of concept.
This closes DCMTK issue #1194.
Gbp-Pq: Name CVE-2026-5663.patch
Marco Eichelberg [Fri, 30 Jan 2026 17:21:33 +0000 (18:21 +0100)]
[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
Thanks to Pino Toscano (GitHub user pinotree) for the pull request.
This closes GitHub PR #137.
Gbp-Pq: Name hurd.patch
Étienne Mollier [Wed, 3 Jun 2026 19:54:21 +0000 (21:54 +0200)]
skip test failure on big endian systems.
Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
Bug-Debian: https://bugs.debian.org/
1127756#25
Forwarded: not-needed.
Last-Update: 2026-02-17
The issue is known upstream and supposed to be fixed in an upcoming
version.
Last-Update: 2026-02-17
Gbp-Pq: Name skip-bigendian-roundtrip-failure.patch
Mathieu Malaterre [Wed, 3 Jun 2026 19:54:21 +0000 (21:54 +0200)]
Remove version
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/
1098944
Last-Update: 2025-03-21
Gbp-Pq: Name remove_version.patch
Gert Wollny [Wed, 3 Jun 2026 19:54:21 +0000 (21:54 +0200)]
Don't add executables to cmake exports
Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed
CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
Gbp-Pq: Name 07_dont_export_all_executables.patch
Jürgen Salk [Wed, 3 Jun 2026 19:54:21 +0000 (21:54 +0200)]
The original maintainer Jürgen Salk applied
Forwarded: not-needed
a set of patches to the original code. This file contains
changes to C++ code
Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch
Étienne Mollier [Wed, 3 Jun 2026 19:13:24 +0000 (21:13 +0200)]
d/changelog: update the changelog.
Étienne Mollier [Wed, 3 Jun 2026 17:24:07 +0000 (19:24 +0200)]
CVE-2026-10528-partial.patch: new: fix needed by orthanc.
This patch introduce the part of the mitigation against CVE-2026-10528
affecting orthanc that needs to be applied on the side of dcmtk. See
also Debian bug #
1138713.
Étienne Mollier [Wed, 3 Jun 2026 17:20:09 +0000 (19:20 +0200)]
CVE-2026-5663.patch: new: fix CVE-2026-5663.
This change introduces guardrails to prevent risks of shell code
injection.
Closes: #1133001
Raspbian automatic forward porter [Sun, 31 May 2026 03:00:58 +0000 (04:00 +0100)]
Merge version 3.7.0+really3.7.0-1+rpi1 and 3.7.0+really3.7.0-2 to produce 3.7.0+really3.7.0-2+rpi1
Étienne Mollier [Wed, 27 May 2026 18:18:35 +0000 (20:18 +0200)]
d/changelog: initialise the changelog.
Étienne Mollier [Wed, 27 May 2026 18:17:41 +0000 (20:17 +0200)]
Merge remote-tracking branch 'pino/hurd'
Alexandre Detiste [Thu, 14 May 2026 17:57:45 +0000 (19:57 +0200)]
release
Alexandre Detiste [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
Record dcmtk (3.7.0+really3.7.0-2) in archive suite sid
Alexandre Detiste [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
Merge dcmtk (3.7.0+really3.7.0-2) import into refs/heads/workingbranch
Étienne Mollier [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
skip test failure on big endian systems.
Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
Bug-Debian: https://bugs.debian.org/
1127756#25
Forwarded: not-needed.
Last-Update: 2026-02-17
The issue is known upstream and supposed to be fixed in an upcoming
version.
Last-Update: 2026-02-17
Gbp-Pq: Name skip-bigendian-roundtrip-failure.patch
Étienne Mollier [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
skip test failure on big endian systems.
Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
Bug-Debian: https://bugs.debian.org/
1127756#25
Forwarded: not-needed.
Last-Update: 2026-02-17
The issue is known upstream and supposed to be fixed in an upcoming
version.
Last-Update: 2026-02-17
Gbp-Pq: Name skip-bigendian-roundtrip-failure.patch
Mathieu Malaterre [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
Remove version
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/
1098944
Last-Update: 2025-03-21
Gbp-Pq: Name remove_version.patch
Mathieu Malaterre [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
Remove version
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/
1098944
Last-Update: 2025-03-21
Gbp-Pq: Name remove_version.patch
Gert Wollny [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
Don't add executables to cmake exports
Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed
CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
Gbp-Pq: Name 07_dont_export_all_executables.patch
Gert Wollny [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
Don't add executables to cmake exports
Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed
CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
Gbp-Pq: Name 07_dont_export_all_executables.patch
Jürgen Salk [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
The original maintainer Jürgen Salk applied
Forwarded: not-needed
a set of patches to the original code. This file contains
changes to C++ code
Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch
Jürgen Salk [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
The original maintainer Jürgen Salk applied
Forwarded: not-needed
a set of patches to the original code. This file contains
changes to C++ code
Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch
Alexandre Detiste [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
dcmtk (3.7.0+really3.7.0-2) unstable; urgency=medium
* Team upload.
* Use dh-cruft to register obsolete files to purge
* Update standards version to 4.7.4, no changes needed.
[ Luca Boccassi ]
* Stop deleting system user/group on remove/purge
* Install and use sysusers.d/tmpfiles.d config files
[dgit import unpatched dcmtk 3.7.0+really3.7.0-2]
Alexandre Detiste [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
dcmtk (3.7.0+really3.7.0-2) unstable; urgency=medium
* Team upload.
* Use dh-cruft to register obsolete files to purge
* Update standards version to 4.7.4, no changes needed.
[ Luca Boccassi ]
* Stop deleting system user/group on remove/purge
* Install and use sysusers.d/tmpfiles.d config files
[dgit import unpatched dcmtk 3.7.0+really3.7.0-2]
Alexandre Detiste [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
Import dcmtk_3.7.0+really3.7.0-2.debian.tar.xz
[dgit import tarball dcmtk 3.7.0+really3.7.0-2 dcmtk_3.7.0+really3.7.0-2.debian.tar.xz]
Alexandre Detiste [Thu, 14 May 2026 17:57:27 +0000 (19:57 +0200)]
Import dcmtk_3.7.0+really3.7.0-2.debian.tar.xz
[dgit import tarball dcmtk 3.7.0+really3.7.0-2 dcmtk_3.7.0+really3.7.0-2.debian.tar.xz]
Alexandre Detiste [Thu, 14 May 2026 17:57:05 +0000 (18:57 +0100)]
Update standards version to 4.7.4, no changes needed.
Upgrade checklist verified:
4.7.3 → 4.7.4:
* Package is not in non-free-firmware
Changes-By: lintian-brush
Fixes: lintian: source: out-of-date-standards-version 4.7.3 (released 2025-12-23) (current is 4.7.4.1)
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
Alexandre Detiste [Thu, 14 May 2026 17:56:55 +0000 (19:56 +0200)]
use dh-cruft to register obsolete files to purge
Luca Boccassi [Sun, 3 May 2026 13:47:37 +0000 (14:47 +0100)]
Install and use sysusers.d/tmpfiles.d config files
sysusers.d/tmpfiles.d config files allow a package to use declarative
configuration instead of manually written maintainer scripts.
This also allows image-based systems to be created with /usr/ only, and
also allows for factory resetting a system and recreating /etc/ on boot.
https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html
Luca Boccassi [Sun, 3 May 2026 13:47:25 +0000 (14:47 +0100)]
Stop deleting system user/group on remove/purge
Removing system users/groups on purge is considered bad practice,
as the kernel recycles UIDs/GIDs. So any potential leftover
file/directory can then become owned by the next user/group that
gets added, with unpredictable consequences.
Raspbian automatic forward porter [Tue, 14 Apr 2026 12:41:32 +0000 (13:41 +0100)]
Merge version 3.7.0+really3.6.9-1+rpi1 and 3.7.0+really3.7.0-1 to produce 3.7.0+really3.7.0-1+rpi1
Étienne Mollier [Fri, 10 Apr 2026 17:42:53 +0000 (19:42 +0200)]
d/changelog: start transition to unstable.
Étienne Mollier [Fri, 10 Apr 2026 17:41:34 +0000 (19:41 +0200)]
Declare fast forward from 3.7.0+really3.6.9-1
[dgit --quilt=gbp --overwrite]
Étienne Mollier [Fri, 10 Apr 2026 17:41:34 +0000 (19:41 +0200)]
skip test failure on big endian systems.
Bug: https://lists.debian.org/debian-med/2026/02/msg00018.html
Bug-Debian: https://bugs.debian.org/
1127756#25
Forwarded: not-needed.
Last-Update: 2026-02-17
The issue is known upstream and supposed to be fixed in an upcoming
version.
Last-Update: 2026-02-17
Gbp-Pq: Name skip-bigendian-roundtrip-failure.patch
Mathieu Malaterre [Fri, 10 Apr 2026 17:41:34 +0000 (19:41 +0200)]
Remove version
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/
1098944
Last-Update: 2025-03-21
Gbp-Pq: Name remove_version.patch
Gert Wollny [Fri, 10 Apr 2026 17:41:34 +0000 (19:41 +0200)]
Don't add executables to cmake exports
Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed
CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
Gbp-Pq: Name 07_dont_export_all_executables.patch
Jürgen Salk [Fri, 10 Apr 2026 17:41:34 +0000 (19:41 +0200)]
The original maintainer Jürgen Salk applied
Forwarded: not-needed
a set of patches to the original code. This file contains
changes to C++ code
Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch
Raspbian automatic forward porter [Sat, 28 Feb 2026 06:47:55 +0000 (06:47 +0000)]
Merge version 3.6.9-6+rpi1 and 3.7.0+really3.6.9-1 to produce 3.7.0+really3.6.9-1+rpi1
Étienne Mollier [Sat, 21 Feb 2026 15:43:28 +0000 (16:43 +0100)]
d/changelog: document drop of Breaks+Replaces.
Étienne Mollier [Sat, 21 Feb 2026 15:11:58 +0000 (16:11 +0100)]
d/control: drop libdcmtk20 breaking and replacing libdcmtk19.
After examination of the situation, the stanza was needed against the
faulty 3.7.0-1, but it is not needed on 3.7.0+really3.6.9-1.
Étienne Mollier [Thu, 19 Feb 2026 21:43:35 +0000 (22:43 +0100)]
d/changelog: initialize the changelog.
Étienne Mollier [Thu, 19 Feb 2026 21:41:50 +0000 (22:41 +0100)]
d/u/metadata: eprint → Eprint.
Étienne Mollier [Thu, 19 Feb 2026 21:41:24 +0000 (22:41 +0100)]
skip-bigendian-roundtrip-failure.patch: short form BTS URI.
Étienne Mollier [Thu, 19 Feb 2026 20:59:00 +0000 (21:59 +0100)]
d/copyright: provide working links to the AFPL.
The original link from the legal text broke some time ago.
The AFPL does not have to apply in that context anyways.
Étienne Mollier [Wed, 18 Feb 2026 20:30:52 +0000 (21:30 +0100)]
d/changelog: ready for experimental upload.