DCMTK up to 3.6.7 dcmqrscp /dcmqrcnf.cc readPeerList null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.9 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in DCMTK up to 3.6.7. This affects the function DcmQueryRetrieveConfig::readPeerList of the file /dcmqrcnf.cc of the component dcmqrscp. This manipulation causes null pointer dereference.
The identification of this vulnerability is CVE-2022-4981. The attack can only be executed locally. Furthermore, there is an exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in DCMTK up to 3.6.7. It has been declared as problematic. Affected by this vulnerability is the function DcmQueryRetrieveConfig::readPeerList of the file /dcmqrcnf.cc of the component dcmqrscp. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability.
The advisory is shared at support.dcmtk.org. This vulnerability is known as CVE-2022-4981. The exploitation appears to be easy. An attack has to be approached locally. Technical details and also a public exploit are known.
It is possible to download the exploit at shimo.im. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 271647 (Linux Distros Unpatched Vulnerability : CVE-2022-4981), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.6.8 eliminates this vulnerability. Applying the patch 957fb31e5 is able to eliminate this problem. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (271647). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 4.0VulDB Meta Temp Score: 3.9
VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔒
CNA Base Score: 3.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 271647
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-4981
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: DCMTK 3.6.8
Patch: 957fb31e5
Timeline
10/19/2025 Advisory disclosed10/19/2025 VulDB entry created
10/31/2025 VulDB entry last update
Sources
Advisory: 1026Status: Confirmed
CVE: CVE-2022-4981 (🔒)
GCVE (CVE): GCVE-0-2022-4981
GCVE (VulDB): GCVE-100-329029
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 10/19/2025 12:32Updated: 10/31/2025 16:42
Changes: 10/19/2025 12:32 (59), 10/22/2025 06:51 (30), 10/28/2025 07:45 (2), 10/31/2025 16:42 (11)
Complete: 🔍
Submitter: zh_vul
Cache ID: 216::103
Submit
Accepted
- Submit #673134: DCMTK GitHub Repository DCMTK 3.6.5 NULL Pointer Dereference (by zh_vul)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.