DCMTK up to 3.6.7 dcmqrscp /dcmqrcnf.cc readPeerList null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.9$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 4.0
VulDB 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: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 271647
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-4981

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: DCMTK 3.6.8
Patch: 957fb31e5

Timelineinfo

10/19/2025 Advisory disclosed
10/19/2025 +0 days VulDB entry created
10/31/2025 +12 days VulDB entry last update

Sourcesinfo

Advisory: 1026
Status: 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

Entryinfo

Created: 10/19/2025 12:32
Updated: 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

Submitinfo

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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!