7.5high
DCMTK through 3.6.6 does not handle memory free properly.
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.87% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| offis dcmtk | up to 3.6.6 | NVD |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
DCMTK versiones hasta 3.6.6, no maneja apropiadamente la liberación de memoria. El programa malloca una memoria heap para el análisis de los datos, pero no la libera cuando se produce un error en el análisis. El envío de peticiones específicas al programa dcmqrdb incurre en la fuga de memoria. Un atacante puede usarlo para lanzar un ataque DoS
References
| https://github.com/DCMTK/dcmtk | product, third-party-advisory | |
| https://github.com/DCMTK/dcmtk/commit/a9697dfeb672b0b9412c00c7d36d801e27ec85cb | patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2024/06/msg00022.html | mailing-list | |
| https://lists.debian.org/debian-lts-announce/2025/01/msg00032.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41687 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2021-41687 changed 2026-06-17 | Public domain |