CVE-2021-41687

NameCVE-2021-41687
DescriptionDCMTK 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3847-1, ELA-1118-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dcmtk (PTS)jessie, jessie (lts)3.6.0-15+deb8u1vulnerable
stretch (lts), stretch3.6.1~20160216-4+deb10u1fixed
buster (security), buster, buster (lts)3.6.4-2.1+deb10u1fixed
bullseye3.6.5-1vulnerable
bookworm3.6.7-9~deb12u1fixed
sid, trixie3.6.8-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dcmtksourcejessie(unfixed)end-of-life
dcmtksourcestretch3.6.1~20160216-4+deb10u1ELA-1118-1
dcmtksourcebuster3.6.4-2.1+deb10u1DLA-3847-1
dcmtksource(unstable)3.6.7-1

Notes

[bullseye] - dcmtk <no-dsa> (Minor issue)
https://github.com/DCMTK/dcmtk/commit/a9697dfeb672b0b9412c00c7d36d801e27ec85cb (DCMTK-3.6.7)

Search for package or bug name: Reporting problems