Skip to content
OpenAdvisories
Unscored CVE-2021-41687 EUVD-2021-28699GHSA-342m-fmj9-855c

DCMTK through 3.6.6 does not handle memory free properly. The program malloc a heap memory for parsing data, but does not free it when erro…

Published Jun 28, 2022 · Updated Nov 3, 2025 · Assigned by mitre

Description

DCMTK through 3.6.6 does not handle memory free properly. The program malloc a heap memory for parsing data, but does not free it when error in parsing. Sending specific requests to the dcmqrdb program incur the memory leak. An attacker can use it to launch a DoS attack.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dcmtk 3.6.7-1 —
Debian 13 dcmtk 3.6.7-1 —
Debian 12 dcmtk 3.6.7-1 —
Debian 11 dcmtk 3.6.5-1+deb11u1 DLA-4038-1
Debian 10 dcmtk 3.6.4-2.1+deb10u1 DLA-3847-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS dcmtk 3.6.4-2.1ubuntu0.1 USN-7010-2, USN-7010-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS dcmtk 3.6.7-9.1ubuntu0.1~esm1 USN-7010-1
Ubuntu Pro 22.04 LTS dcmtk 3.6.6-5ubuntu0.1~esm1 USN-7010-1, USN-5882-1
Ubuntu Pro 20.04 LTS dcmtk 3.6.4-2.1ubuntu0.1~esm1 USN-5882-1
Ubuntu Pro 18.04 LTS dcmtk 3.6.2-3ubuntu0.1~esm3 USN-7010-2, USN-7010-1, USN-5882-1
Ubuntu Pro 16.04 LTS dcmtk 3.6.1~20150924-5ubuntu0.1~esm1 USN-7010-2, USN-7010-1, USN-5882-1

Advisories 5

References