CVEfocus › CVE database › CVE-2021-41687

CVE-2021-41687

CVSS 7.5 HighEPSS 1.9% (higher than 80% of CVEs)Published 2022-06-28Updated 2025-11-03Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04dcmtkNot affected
vulnerable_code_not_present
Ubuntu 25.10dcmtkNot affected
vulnerable_code_not_present
Ubuntu 22.04dcmtkFix pending3.6.6-5ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-41687
Ubuntu 20.04dcmtkFix pending3.6.4-2.1ubuntu0.1 (Ubuntu Pro)UBUNTU-CVE-2021-41687
Ubuntu 18.04dcmtkFix pending3.6.2-3ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2021-41687
Ubuntu 16.04dcmtkFix pending3.6.1~20150924-5ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-41687
Debian 14dcmtkFixed3.6.7-1DEBIAN-CVE-2021-41687
Debian 13dcmtkFixed3.6.7-1DEBIAN-CVE-2021-41687
Debian 12dcmtkFixed3.6.7-1DEBIAN-CVE-2021-41687

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.