# CVE-2022-4981: DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-10-21T15:02:13.727Z
- Modified: 2026-06-17T05:22:29.657Z
- Weaknesses: CWE-404, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- DCMTK: 3.6.0; 3.6.1; 3.6.2; 3.6.3; 3.6.4; 3.6.5; 3.6.6; 3.6.7 (not affected: 3.6.8)
- offis dcmtk: before 3.6.8

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 3.3 Low `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`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://support.dcmtk.org/redmine/issues/1026> (exploit, issue-tracking, vendor-advisory)
- <https://shimo.im/docs/e1Azd4dDQXUgOGqW/> (exploit, third-party-advisory)
- <https://shimo.im/docs/e1Azd4dDQXUgOGqW/read> (exploit, third-party-advisory)
- <https://vuldb.com/?id.329029> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.329029> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.673134> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2022-4981](https://www.cve.org/CVERecord?id=CVE-2022-4981), CVE Terms of Use, modified 2025-10-21
- NVD: [CVE-2022-4981](https://nvd.nist.gov/vuln/detail/CVE-2022-4981), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4981 · Whole record: https://cve.day/CVE-2022-4981.json · Rebuilt by cve.day 2026-11-25T22:58:21.272Z
