dcmtk.git
5 weeks agoMerge version 3.7.0+really3.7.0-2+rpi1 and 3.7.0+really3.7.0-6 to produce 3.7.0+reall... archive/raspbian/3.7.0+really3.7.0-6+rpi1 raspbian/3.7.0+really3.7.0-6+rpi1
Raspbian automatic forward porter [Sat, 4 Jul 2026 01:18:03 +0000 (02:18 +0100)]
Merge version 3.7.0+really3.7.0-2+rpi1 and 3.7.0+really3.7.0-6 to produce 3.7.0+really3.7.0-6+rpi1

7 weeks agoMake fast forward from 3.7.0+really3.7.0-5
É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]

7 weeks agoCVE-2026-12805
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

7 weeks agoFixed remote heap buffer overflow in dcmqrscp.
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

7 weeks agoSanitize all strings passed to the exec options.
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

7 weeks ago[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
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

7 weeks agoskip test failure on big endian systems.
É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

7 weeks agoRemove version
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

7 weeks agoDon't add executables to cmake exports
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

7 weeks agoThe original maintainer Jürgen Salk applied
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

7 weeks agod/changelog: ready for upload to unstable.
Étienne Mollier [Mon, 22 Jun 2026 21:33:20 +0000 (23:33 +0200)]
d/changelog: ready for upload to unstable.

7 weeks agoCVE-2026-12805.patch: new: fix CVE-2026-12805.
É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
2 months agod/changelog: ready for urgent upload to unstable.
Étienne Mollier [Mon, 8 Jun 2026 17:48:40 +0000 (19:48 +0200)]
d/changelog: ready for urgent upload to unstable.

2 months agoMake fast forward from 3.7.0+really3.7.0-4
É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]

2 months agoFixed remote heap buffer overflow in dcmqrscp.
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

2 months agoSanitize all strings passed to the exec options.
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

2 months ago[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
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

2 months agoskip test failure on big endian systems.
É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

2 months agoRemove version
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

2 months agoDon't add executables to cmake exports
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

2 months agoThe original maintainer Jürgen Salk applied
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

2 months agod/control: add myself to uploaders.
Étienne Mollier [Mon, 8 Jun 2026 17:14:21 +0000 (19:14 +0200)]
d/control: add myself to uploaders.

2 months agoCVE-2026-10194.patch: new: fix CVE-2026-10194.
Étienne Mollier [Mon, 8 Jun 2026 17:13:13 +0000 (19:13 +0200)]
CVE-2026-10194.patch: new: fix CVE-2026-10194.

Closes: #1139181
2 months agod/changelog: ready for upload to unstable.
Étienne Mollier [Thu, 4 Jun 2026 20:14:10 +0000 (22:14 +0200)]
d/changelog: ready for upload to unstable.

2 months agoMake fast forward from 3.7.0+really3.7.0-3
É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]

2 months agoSanitize all strings passed to the exec options.
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

2 months ago[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
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

2 months agoskip test failure on big endian systems.
É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

2 months agoRemove version
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

2 months agoDon't add executables to cmake exports
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

2 months agoThe original maintainer Jürgen Salk applied
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

2 months agoRevert "CVE-2026-10528-partial.patch: new: fix needed by orthanc."
É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.

2 months agod/changelog: ready for team upload.
Étienne Mollier [Wed, 3 Jun 2026 20:32:30 +0000 (22:32 +0200)]
d/changelog: ready for team upload.

2 months agod/changelog: ready for upload to unstable.
Étienne Mollier [Wed, 3 Jun 2026 20:30:57 +0000 (22:30 +0200)]
d/changelog: ready for upload to unstable.

2 months agoDeclare fast forward from 3.7.0+really3.7.0-2
É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]

2 months agoAdd sequence nesting depth limit for parsing
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

2 months agoSanitize all strings passed to the exec options.
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

2 months ago[PATCH] Added support for GNU Hurd in OFgetExecutablePath().
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

2 months agoskip test failure on big endian systems.
É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

2 months agoRemove version
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

2 months agoDon't add executables to cmake exports
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

2 months agoThe original maintainer Jürgen Salk applied
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

2 months agod/changelog: update the changelog.
Étienne Mollier [Wed, 3 Jun 2026 19:13:24 +0000 (21:13 +0200)]
d/changelog: update the changelog.

2 months agoCVE-2026-10528-partial.patch: new: fix needed by orthanc.
É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.

2 months agoCVE-2026-5663.patch: new: fix CVE-2026-5663.
É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
2 months agoMerge version 3.7.0+really3.7.0-1+rpi1 and 3.7.0+really3.7.0-2 to produce 3.7.0+reall... archive/raspbian/3.7.0+really3.7.0-2+rpi1 raspbian/3.7.0+really3.7.0-2+rpi1
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

2 months agod/changelog: initialise the changelog.
Étienne Mollier [Wed, 27 May 2026 18:18:35 +0000 (20:18 +0200)]
d/changelog: initialise the changelog.

2 months agoMerge remote-tracking branch 'pino/hurd'
Étienne Mollier [Wed, 27 May 2026 18:17:41 +0000 (20:17 +0200)]
Merge remote-tracking branch 'pino/hurd'

2 months agorelease
Alexandre Detiste [Thu, 14 May 2026 17:57:45 +0000 (19:57 +0200)]
release

2 months agoRecord 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)]
Record dcmtk (3.7.0+really3.7.0-2) in archive suite sid

2 months agoMerge dcmtk (3.7.0+really3.7.0-2) import into refs/heads/workingbranch
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

2 months agoskip test failure on big endian systems.
É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

2 months agoskip test failure on big endian systems.
É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

2 months agoRemove version
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

2 months agoRemove version
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

2 months agoDon't add executables to cmake exports
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

2 months agoDon't add executables to cmake exports
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

2 months agoThe original maintainer Jürgen Salk applied
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

2 months agoThe original maintainer Jürgen Salk applied
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

2 months agodcmtk (3.7.0+really3.7.0-2) unstable; urgency=medium
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]

2 months agodcmtk (3.7.0+really3.7.0-2) unstable; urgency=medium
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]

2 months agoImport 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]

2 months agoImport 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]

2 months agoUpdate standards version to 4.7.4, no changes needed.
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

2 months agouse dh-cruft to register obsolete files to purge
Alexandre Detiste [Thu, 14 May 2026 17:56:55 +0000 (19:56 +0200)]
use dh-cruft to register obsolete files to purge

3 months agoInstall and use sysusers.d/tmpfiles.d config files
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

3 months agoStop deleting system user/group on remove/purge
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.

3 months agoMerge version 3.7.0+really3.6.9-1+rpi1 and 3.7.0+really3.7.0-1 to produce 3.7.0+reall... archive/raspbian/3.7.0+really3.7.0-1+rpi1 raspbian/3.7.0+really3.7.0-1+rpi1
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

4 months agod/changelog: start transition to unstable.
Étienne Mollier [Fri, 10 Apr 2026 17:42:53 +0000 (19:42 +0200)]
d/changelog: start transition to unstable.

4 months agoDeclare fast forward from 3.7.0+really3.6.9-1
É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]

4 months agoskip test failure on big endian systems.
É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

4 months agoRemove version
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

4 months agoDon't add executables to cmake exports
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

4 months agoThe original maintainer Jürgen Salk applied
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

5 months agoMerge version 3.6.9-6+rpi1 and 3.7.0+really3.6.9-1 to produce 3.7.0+really3.6.9-1... archive/raspbian/3.7.0+really3.6.9-1+rpi1 raspbian/3.7.0+really3.6.9-1+rpi1
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

5 months agod/changelog: document drop of Breaks+Replaces.
Étienne Mollier [Sat, 21 Feb 2026 15:43:28 +0000 (16:43 +0100)]
d/changelog: document drop of Breaks+Replaces.

5 months agod/control: drop libdcmtk20 breaking and replacing libdcmtk19.
É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.

5 months agod/changelog: initialize the changelog.
Étienne Mollier [Thu, 19 Feb 2026 21:43:35 +0000 (22:43 +0100)]
d/changelog: initialize the changelog.

5 months agod/u/metadata: eprint → Eprint.
Étienne Mollier [Thu, 19 Feb 2026 21:41:50 +0000 (22:41 +0100)]
d/u/metadata: eprint → Eprint.

5 months agoskip-bigendian-roundtrip-failure.patch: short form BTS URI.
Étienne Mollier [Thu, 19 Feb 2026 21:41:24 +0000 (22:41 +0100)]
skip-bigendian-roundtrip-failure.patch: short form BTS URI.

5 months agod/copyright: provide working links to the AFPL.
É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.

5 months agod/changelog: ready for experimental upload.
Étienne Mollier [Wed, 18 Feb 2026 20:30:52 +0000 (21:30 +0100)]
d/changelog: ready for experimental upload.

5 months agoskip-bigendian-roundtrip-failure.patch: new: skip test failure on s390x.
Étienne Mollier [Wed, 18 Feb 2026 20:21:56 +0000 (21:21 +0100)]
skip-bigendian-roundtrip-failure.patch: new: skip test failure on s390x.

The correction is work in progress upstream.

5 months agoImport dcmtk_3.7.0+really3.7.0.orig.tar.gz
Étienne Mollier [Wed, 18 Feb 2026 20:22:40 +0000 (21:22 +0100)]
Import dcmtk_3.7.0+really3.7.0.orig.tar.gz

[dgit import orig dcmtk_3.7.0+really3.7.0.orig.tar.gz]

5 months agoImport dcmtk_3.7.0+really3.7.0.orig.tar.gz
Étienne Mollier [Wed, 18 Feb 2026 20:22:40 +0000 (21:22 +0100)]
Import dcmtk_3.7.0+really3.7.0.orig.tar.gz

[dgit import orig dcmtk_3.7.0+really3.7.0.orig.tar.gz]

5 months agod/changelog: update the changelog.
Étienne Mollier [Mon, 16 Feb 2026 21:25:13 +0000 (22:25 +0100)]
d/changelog: update the changelog.

5 months agod/control: libdcmtk20 replaces libdcmtk19.
Étienne Mollier [Thu, 12 Feb 2026 20:39:31 +0000 (21:39 +0100)]
d/control: libdcmtk20 replaces libdcmtk19.

5 months agod/changelog: initialize for experimental upload.
Étienne Mollier [Thu, 12 Feb 2026 19:02:44 +0000 (20:02 +0100)]
d/changelog: initialize for experimental upload.

5 months agod/*: soname bump to libdcmtk20.
Étienne Mollier [Thu, 12 Feb 2026 19:00:38 +0000 (20:00 +0100)]
d/*: soname bump to libdcmtk20.

5 months agoDeclare fast forward from 3.7.0-1
Étienne Mollier [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
Declare fast forward from 3.7.0-1

[dgit --quilt=gbp --overwrite]

5 months agoFixed issue with commit 7ad81d69b.
Joerg Riesmeier [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
Fixed issue with commit 7ad81d69b.

Applied-Upstream: 3de96da6cd66b1af7224561c568bc3de50cd1398
Last-Update: 2025-08-18
Reviewed-By: Étienne Mollier <emollier@debian.org>
Fixed an issue with recently committed changes that fix a problem with
invalid YBR_FULL images

Gbp-Pq: Name 0014-CVE-2025-9732.patch

5 months agoFixed issue with invalid "YBR_FULL" DICOM images.
Joerg Riesmeier [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
Fixed issue with invalid "YBR_FULL" DICOM images.

Applied-Upstream: 7ad81d69b19714936e18ea5fc74edaeb9f021ce7
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-08-15

Fixed an issue when processing an invalid DICOM image with a Photometric
Interpretation of "YBR_FULL" and a Planar Configuration of "1" where
the number of pixels stored does not match the expected number of pixels
(much too less). Now, the pixel data of such an image is not processed
at all, but an empty image (black pixels) is created instead. The user
is warned about this by an appropriate log message.

Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
and the sample file (PoC).

Gbp-Pq: Name 0013-CVE-2025-9732.patch

5 months agoFixed segfault in JPEG-LS decoder.
Marco Eichelberg [Mon, 3 Mar 2025 10:33:18 +0000 (11:33 +0100)]
Fixed segfault in JPEG-LS decoder.

X-Git-Url: http://git.dcmtk.org/?p=dcmtk.git;a=commitdiff_plain;h=3239a791542e1ea433d23aaa9e0a05a532ffabff;hp=92fc86e9e8d0808880bcc82e25982b2a61323cb8

Fixed segfault in JPEG-LS decoder.

Fixed a bug in the JPEG-LS decoder that led to a segmentation fault if invalid
input data was processed, due to insufficient validation of input data.

Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
and the sample file (PoC).

This closes DCMTK issue #1155.

Gbp-Pq: Name 0012-CVE-2025-2357.patch

5 months agoCVE-2025-25472
Debian Med Packaging Team [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
CVE-2025-25472

commit 410ffe2019b9db6a8f4036daac742a6f5e4d36c2
Author: Joerg Riesmeier <dicom@jriesmeier.com>
Date:   Fri Jan 17 17:53:50 2025 +0100

    Fixed another issue with invalid mono images.

    Fixed issue when rendering an invalid monochrome DICOM image where the
    number of pixels stored does not match the expected number of pixels.
    In this case, only a single pixel is processed, but the pixel matrix is
    much larger. Filling the rest of the pixel matrix with the smallest
    possible value for the image is not working because of an optimized
    memory usage (value would be out of range). Now, the pixel value to be
    used is double-checked before it is actually filled into the "background"
    of the image.

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0011-CVE-2025-25472.patch

5 months agoCVE-2025-25474
Debian Med Packaging Team [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
CVE-2025-25474

commit 1d205bcd307164c99e0d4bbf412110372658d847
Author: Joerg Riesmeier <dicom@jriesmeier.com>
Date:   Tue Jan 21 11:12:28 2025 +0100

    Fixed another issue with invalid DICOM images.

    Fixed issue when processing an invalid DICOM image where the number of
    pixels stored does not match the expected number of pixels (too less)
    and the combination of BitsAllocated and BitsStored is really unusual
    (e.g. 1 bit stored, but 52 bits allocated). In cases where the last
    pixel (e.g. a single bit) does not fit into the buffer of the input
    pixel data, a buffer overflow occurred on the heap. Now, the last entry
    of the buffer is filled with the smallest possible value (e.g. 0 in case
    of unsigned data).

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0010-CVE-2025-25474.patch

5 months agoCVE-2025-25475
Debian Med Packaging Team [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
CVE-2025-25475

commit bffa3e9116abb7038b432443f16b1bd390e80245
Author: Marco Eichelberg <eichelberg@offis.de>
Date:   Thu Jan 23 15:51:21 2025 +0100

    Fixed issue with invalid RLE compressed DICOM images.

    Fixed issue when processing an RLE compressed image where the RLE header
    contains an invalid stripe size.

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0009-CVE-2025-25475.patch

5 months agoAdded check to make sure: HighBit < BitsAllocated.
Joerg Riesmeier [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
Added check to make sure: HighBit < BitsAllocated.

Forwarded: https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=03e851b0586d05057c3268988e180ffb426b2e03
Bug-Debian: https://bugs.debian.org/1093047
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-01-18

Added check to the image preprocessing to make sure that the value of
HighBit is always less than the value of BitsAllocated. Before, this
missing check could lead to memory corruption if an invalid combination
of values was retrieved from a malformed DICOM dataset.

Thanks to Emmanuel Tacheau from the Cisco Talos team
<vulndiscovery@external.cisco.com> for the report, sample file (PoC)
and detailed analysis. See TALOS-2024-2121 and CVE-2024-52333.

Gbp-Pq: Name 0008-CVE-2024-52333.patch

5 months agoFixed issue rendering invalid monochrome image.
Joerg Riesmeier [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
Fixed issue rendering invalid monochrome image.

Forwarded: https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=89a6e399f1e17d08a8bc8cdaa05b2ac9a50cd4f6
Bug-Debian: https://bugs.debian.org/1093043
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-01-18

Fixed issue when rendering an invalid monochrome DICOM image where the
number of pixels stored does not match the expected number of pixels.
If the stored number is less than the expected number, the rest of the
pixel matrix for the intermediate representation was always filled with
the value 0. Under certain, very rare conditions, this could result in
memory problems reported by an Address Sanitizer (ASAN). Now, the rest
of the matrix is filled with the smallest possible value for the image.

Thanks to Emmanuel Tacheau from the Cisco Talos team
<vulndiscovery@external.cisco.com> for the original report, the sample
file (PoC) and further details. See TALOS-2024-2122 and CVE-2024-47796.

Gbp-Pq: Name 0007-CVE-2024-47796.patch

5 months agoRemove version
Mathieu Malaterre [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
Remove version

Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/1098944
Last-Update: 2025-03-21

Gbp-Pq: Name remove_version.patch

5 months agoDon't add executables to cmake exports
Gert Wollny [Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)]
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