# CVE-2021-41689: DCMTK through 3.6.6 does not handle string copy properly.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.98%, higher than 81% of CVEs (2026-12-01)
- Published: 2022-06-28T09:38:17.000Z
- Modified: 2026-06-17T04:08:48.750Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dcmtk dcmtk: up to 3.6.6
- offis dcmtk: up to 3.6.6

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## 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

- CVE List: [CVE-2021-41689](https://www.cve.org/CVERecord?id=CVE-2021-41689), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2021-41689](https://nvd.nist.gov/vuln/detail/CVE-2021-41689), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41689 · Whole record: https://cve.day/CVE-2021-41689.json · Rebuilt by cve.day 2026-11-25T22:58:07.689Z
