CVE Vulnerabilities

CVE-2021-41688

Double Free

Published: Jun 28, 2022 | Modified: Jun 28, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW

DCMTK through 3.6.6 does not handle memory free properly. The object in the program is free but its address is still used in other locations. Sending specific requests to the dcmqrdb program will incur a double free. An attacker can use it to launch a DoS attack.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Dcmtk Offis * 3.6.6 (including)
Dcmtk Ubuntu bionic *
Dcmtk Ubuntu esm-apps/bionic *
Dcmtk Ubuntu esm-apps/focal *
Dcmtk Ubuntu esm-apps/jammy *
Dcmtk Ubuntu esm-apps/xenial *
Dcmtk Ubuntu focal *
Dcmtk Ubuntu impish *
Dcmtk Ubuntu jammy *
Dcmtk Ubuntu upstream *

Potential Mitigations

References