What’s Vulnerable › Vulnerabilities
CVE-2022-4981: DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-10-21 · updated 2026-06-17
- Weakness: CWE-404
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.
Affected products
- OFFIS DCMTK: before 3.6.8 — fixed in 3.6.8
How to fix
Upgrade to a fixed version: OFFIS DCMTK 3.6.8. Check the vendor advisory for mitigations.
References
- https://shimo.im/docs/e1Azd4dDQXUgOGqW/
- https://support.dcmtk.org/redmine/issues/1026
- https://vuldb.com/?ctiid.329029
- https://vuldb.com/?id.329029
- https://vuldb.com/?submit.673134
- https://shimo.im/docs/e1Azd4dDQXUgOGqW/read
Get alerted when CVE-2022-4981 or the next vulnerability affects your stack