# CVE-2021-41687: DCMTK through 3.6.6 does not handle memory free properly.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `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.87%, higher than 79% of CVEs (2026-12-01)
- Published: 2022-06-28T09:46:23.000Z
- Modified: 2026-06-17T04:08:48.507Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

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

## Every score

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

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

---

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