CVE-2021-41689
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
dcmtk dcmtkup to 3.6.6CVE List
offis dcmtkup to 3.6.6NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

CWE-476

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

Sources

SourceRecordLicence
CVE ListCVE-2021-41689 changed 2025-11-03CVE Terms of Use
NVDCVE-2021-41689 changed 2026-06-17Public domain