CVE-2022-4981DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | dcmtk | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | dcmtk | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | dcmtk | Fix pending | UBUNTU-CVE-2022-4981 | |
| Ubuntu 22.04 | dcmtk | Fix pending | UBUNTU-CVE-2022-4981 | |
| Ubuntu 20.04 | dcmtk | Fix pending | UBUNTU-CVE-2022-4981 | |
| Ubuntu 18.04 | dcmtk | Fix pending | UBUNTU-CVE-2022-4981 | |
| Ubuntu 16.04 | dcmtk | Fix pending | UBUNTU-CVE-2022-4981 | |
| Debian 14 | dcmtk | Fixed | 3.6.8-5 | DEBIAN-CVE-2022-4981 |
| Debian 13 | dcmtk | Fixed | 3.6.8-5 | DEBIAN-CVE-2022-4981 |
| Debian 12 | dcmtk | Fixed | 3.6.7-9~deb12u4 | DEBIAN-CVE-2022-4981 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- DCMTK: affected: 3.6.0, 3.6.1, 3.6.2, 3.6.3, 3.6.4, 3.6.5
References
- https://vuldb.com/?id.329029
- https://vuldb.com/?ctiid.329029
- https://vuldb.com/?submit.673134
- https://support.dcmtk.org/redmine/issues/1026
- https://shimo.im/docs/e1Azd4dDQXUgOGqW/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.