Vulnerability · Published Oct 21, 2025 · Assigned by VulDB
CVE-2022-4981DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference
Low 3.3
In plain English
A low-severity null pointer dereference in DCMTK. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | dcmtk | 3.6.7-9~deb12u4 | DEBIAN-CVE-2022-4981 |
| Debian:13 | dcmtk | 3.6.8-5 | DEBIAN-CVE-2022-4981 |
| Debian:14 | dcmtk | 3.6.8-5 | DEBIAN-CVE-2022-4981 |
Affected products (as reported)
Weakness: CWE-476, CWE-404 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
References
- VDB-329029 | DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference vdb-entry, technical-description
- VDB-329029 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #673134 | DCMTK GitHub Repository DCMTK 3.6.5 NULL Pointer Dereference third-party-advisory
- https://support.dcmtk.org/redmine/issues/1026 issue-tracking
- https://shimo.im/docs/e1Azd4dDQXUgOGqW/ exploit
- https://shimo.im/docs/e1Azd4dDQXUgOGqW/read exploit