CVE-2021-41687: DCMTK - Memory Leak
- Cve: CVE-2021-41687
- Name: DCMTK - Memory Leak
- 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.
- Impact: Attackers can cause denial of service by exhausting system memory through repeated malicious requests.
- Remediation: Update to version 3.6.7 or later where the issue is fixed.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01867
- Epss percentile: 0.79726
- Assignee: [email protected]
- Published at: 2022-06-28T13:15:10Z
- Age in days: 1610
- Modified at: 2026-06-17T04:08:48Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41687
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/DCMTK/dcmtk/commit/a9697dfeb672b0b9412c00c7d36d801e27ec85cb | Patch, Third Party Advisory |
| https://github.com/DCMTK/dcmtk | Product, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/06/msg00022.html | |
| https://lists.debian.org/debian-lts-announce/2025/01/msg00032.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| offis:dcmtk | <= 3.6.6 | no | nvd | /v1/products/offis/dcmtk |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| DCMTK/dcmtk | commit | yes | /v1/repositories/DCMTK/dcmtk |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts