7.5high
DCMTK through 3.6.6 does not handle string copy properly.
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.98% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
DCMTK through 3.6.6 does not handle string copy properly. Sending specific requests to the dcmqrdb program, it would query its database and copy the result even if the result is null, which can incur a head-based overflow. An attacker can use it to launch a DoS attack.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| dcmtk dcmtk | up to 3.6.6 | CVE List |
| offis dcmtk | up to 3.6.6 | NVD |
All scores
| CISA-ADP | 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 | 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
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
DCMTK through 3.6.6 does not handle string copy properly. Sending specific requests to the dcmqrdb program, it would query its database and copy the result even if the result is null, which can incur a head-based overflow. An attacker can use it to launch a DoS attack.
NVD (es)
DCMTK versiones hasta 3.6.6 no maneja apropiadamente la copia de cadenas. Al enviar peticiones específicas al programa dcmqrdb, éste consulta su base de datos y copia el resultado incluso si éste es nulo, lo que puede incurrir en un desbordamiento en la región head de la 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/5c14bf53fb42ceca12bbcc0016e8704b1580920d | 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-41689 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2021-41689 changed 2026-06-17 | Public domain |