Every CVE Search/ Get API key

CVE-2021-41689

DCMTK through 3.6.6 does not handle string copy properly. Sending specific requests to the...

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.94%Up 1.1 points since Jun 29, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2021-41689
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-476
Updated
2026-11-02
CVE List 7.5

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.

Record
CVE-2021-41689
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
EUVDEUVD-2021-28701 7.5

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.

Record
EUVD-2021-28701
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-558h-5pv9-xxg9 7.5

DCMTK through 3.6.6 does not handle string copy properly. Sending specific requests to the...

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.

Record
GHSA-558h-5pv9-xxg9
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2021-41689
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-41689 7.5

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.

Record
DEBIAN-CVE-2021-41689
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2021-41689 7.5

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.

Record
UBUNTU-CVE-2021-41689
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2023-0083 No score

Updated dcmtk packages fix security vulnerability

Jinsheng Ba discovered that DCMTK incorrectly handled certain requests. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-41687, CVE-2021-41688, CVE-2021-41689, and CVE-2021-41690)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2022-2119 and CVE-2022-2120)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled pointers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2022-2121)

It was discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2022-43272)

Record
MGASA-2023-0083
Updated
2026-11-02
OSVUSN-5882-1 No score

dcmtk vulnerabilities

Gjoko Krstic discovered that DCMTK incorrectly handled buffers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2015-8979)

Omar Ganiev discovered that DCMTK incorrectly handled buffers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-1010228)

Jinsheng Ba discovered that DCMTK incorrectly handled certain requests. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2021-41687, CVE-2021-41688, CVE-2021-41689, and CVE-2021-41690)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-2119 and CVE-2022-2120)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled pointers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-2121)

It was discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-43272)

Record
USN-5882-1
Updated
2026-11-02
OSVUSN-7010-1 No score

dcmtk vulnerabilities

Jinsheng Ba discovered that DCMTK incorrectly handled certain requests. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-41687, CVE-2021-41688, CVE-2021-41689, CVE-2021-41690)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled pointers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2022-2121)

It was discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2022-43272)

It was discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to execute arbitrary code. This issue was only addressed in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-28130)

It was discovered that DCMTK incorrectly handled memory when processing an invalid incoming DIMSE message. An attacker could possibly use this issue to cause a denial of service. (CVE-2024-34508, CVE-2024-34509)

Record
USN-7010-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dcmtk
Debian:12
before 3.6.7-1
3.6.7-1
dcmtk
Debian:13
before 3.6.7-1
3.6.7-1
dcmtk
Debian:14
before 3.6.7-1
3.6.7-1
dcmtk
Debian:10
From an advisory covering 9 CVEs
before 3.6.4-2.1+deb10u1, plus listed versions
3.6.4-2.1
3.6.4-2.1+deb10u1
dcmtk
Debian:11
From an advisory covering 11 CVEs
before 3.6.5-1+deb11u1, plus listed versions
3.6.5-1
3.6.5-1+deb11u1
dcmtk
Mageia:8
From an advisory covering 8 CVEs
before 3.6.5-3.1.mga8
3.6.5-3.1.mga8
dcmtk
Ubuntu:Pro:16.04:LTS
before 3.6.1~20150924-5ubuntu0.1~esm1, plus listed versions
3.6.0-15.13.6.1~20150629-53.6.1~20150924-43.6.1~20150924-5
3.6.1~20150924-5ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:18.04:LTS
before 3.6.2-3ubuntu0.1~esm1, plus listed versions
3.6.2-23.6.2-2build13.6.2-33.6.2-3build13.6.2-3build23.6.2-3build3
3.6.2-3ubuntu0.1~esm1
dcmtk
Ubuntu:20.04:LTS
before 3.6.4-2.1ubuntu0.1, plus listed versions
3.6.4-2.13.6.4-2.1build13.6.4-2.1build2
3.6.4-2.1ubuntu0.1
dcmtk
Ubuntu:Pro:20.04:LTS
before 3.6.4-2.1ubuntu0.1~esm1, plus listed versions
3.6.4-2.13.6.4-2.1build13.6.4-2.1build2
3.6.4-2.1ubuntu0.1~esm1
Show 10 moreShow less
Affected packages
PackageAffectedFixed
dcmtk
Ubuntu:Pro:22.04:LTS
before 3.6.6-5ubuntu0.1~esm1, plus listed versions
3.6.5-13.6.6-3ubuntu13.6.6-3ubuntu23.6.6-43.6.6-5
3.6.6-5ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:16.04:LTS
From an advisory covering 10 CVEs
before 3.6.1~20150924-5ubuntu0.1~esm1, plus listed versions
3.6.0-15.13.6.1~20150629-53.6.1~20150924-43.6.1~20150924-5
3.6.1~20150924-5ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:18.04:LTS
From an advisory covering 10 CVEs
before 3.6.2-3ubuntu0.1~esm1, plus listed versions
3.6.2-23.6.2-2build13.6.2-33.6.2-3build13.6.2-3build23.6.2-3build3
3.6.2-3ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:20.04:LTS
From an advisory covering 10 CVEs
before 3.6.4-2.1ubuntu0.1~esm1, plus listed versions
3.6.4-2.13.6.4-2.1build13.6.4-2.1build2
3.6.4-2.1ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:22.04:LTS
From an advisory covering 10 CVEs
before 3.6.6-5ubuntu0.1~esm1, plus listed versions
3.6.5-13.6.6-3ubuntu13.6.6-3ubuntu23.6.6-43.6.6-5
3.6.6-5ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:16.04:LTS
From an advisory covering 9 CVEs
before 3.6.1~20150924-5ubuntu0.1~esm2, plus listed versions
3.6.0-15.13.6.1~20150629-53.6.1~20150924-43.6.1~20150924-53.6.1~20150924-5ubuntu0.1~esm1
3.6.1~20150924-5ubuntu0.1~esm2
dcmtk
Ubuntu:Pro:18.04:LTS
From an advisory covering 9 CVEs
before 3.6.2-3ubuntu0.1~esm2, plus listed versions
3.6.2-23.6.2-2build13.6.2-33.6.2-3build13.6.2-3build23.6.2-3build33.6.2-3ubuntu0.1~esm1
3.6.2-3ubuntu0.1~esm2
dcmtk
Ubuntu:20.04:LTS
From an advisory covering 9 CVEs
before 3.6.4-2.1ubuntu0.1, plus listed versions
3.6.4-2.13.6.4-2.1build13.6.4-2.1build2
3.6.4-2.1ubuntu0.1
dcmtk
Ubuntu:Pro:22.04:LTS
From an advisory covering 9 CVEs
before 3.6.6-5ubuntu0.1~esm2, plus listed versions
3.6.5-13.6.6-3ubuntu13.6.6-3ubuntu23.6.6-43.6.6-53.6.6-5ubuntu0.1~esm1
3.6.6-5ubuntu0.1~esm2
dcmtk
Ubuntu:Pro:24.04:LTS
From an advisory covering 9 CVEs
before 3.6.7-9.1ubuntu0.1~esm1, plus listed versions
3.6.7-93.6.7-9.1build23.6.7-9.1build33.6.7-9.1build4
3.6.7-9.1ubuntu0.1~esm1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-41689 is a high vulnerability (CVSS 7.5) in Dcmtk, published June 28, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.94%, the 80th percentile. Fixed in dcmtk 3.6.7-1.

References

Show 22 moreShow less
MoveEnter Open