Medium severity · published Oct 21, 2025
CVE-2022-4981
DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference
5.5
CVSS
0.3%
EPSS
No
On KEV
Description
A vulnerability was detected in DCMTK up to 3.6.7. The impacted element is the function DcmQueryRetrieveConfig::readPeerList of the file /dcmqrcnf.cc of the component dcmqrscp. The manipulation results in null pointer dereference. The attack needs to be approached locally. The exploit is now public and may be used. Upgrading to version 3.6.8 is sufficient to resolve this issue. The patch is identified as 957fb31e5. Upgrading the affected component is advised.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DC
DCMTK ·
3.6.0; 3.6.1; 3.6.2; 3.6.3; 3.6.4; 3.6.5; +2 more · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-4981
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-4981
Exploit
https://shimo.im/docs/e1Azd4dDQXUgOGqW/
Exploit
https://support.dcmtk.org/redmine/issues/1026
Permissions Required
https://vuldb.com/?ctiid.329029
Third Party Advisory
https://vuldb.com/?id.329029
Third Party Advisory
https://vuldb.com/?submit.673134
Exploit
https://shimo.im/docs/e1Azd4dDQXUgOGqW/read
More from DCMTK
7.8
CVE-2025-9732
DCMTK dcm2img diybrpxt.h memory corruption
6.3
CVE-2025-2357
DCMTK dcmjpls JPEG-LS Decoder memory corruption
5.5
CVE-2020-36855
DCMTK dcmqrscp parseQuota stack-based overflow
