{"id":"UBUNTU-CVE-2022-4981","details":"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.","modified":"2026-04-22T13:46:32.328694Z","published":"2025-10-21T15:15:00Z","upstream":["CVE-2022-4981"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-4981"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-4981"},{"type":"REPORT","url":"https://support.dcmtk.org/redmine/issues/1026"}],"affected":[{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dcmtk@3.6.1~20150924-5ubuntu0.1~esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.0-15.1","3.6.1~20150629-5","3.6.1~20150924-4","3.6.1~20150924-5","3.6.1~20150924-5ubuntu0.1~esm1","3.6.1~20150924-5ubuntu0.1~esm2","3.6.1~20150924-5ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.6.1~20150924-5ubuntu0.1~esm3"},{"binary_name":"libdcmtk5","binary_version":"3.6.1~20150924-5ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4981.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/dcmtk@3.6.2-3ubuntu0.1~esm3?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2-2","3.6.2-2build1","3.6.2-3","3.6.2-3build1","3.6.2-3build2","3.6.2-3build3","3.6.2-3ubuntu0.1~esm1","3.6.2-3ubuntu0.1~esm2","3.6.2-3ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.6.2-3ubuntu0.1~esm3"},{"binary_name":"libdcmtk12","binary_version":"3.6.2-3ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4981.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/dcmtk@3.6.4-2.1ubuntu0.2+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.4-2.1","3.6.4-2.1build1","3.6.4-2.1build2","3.6.4-2.1ubuntu0.1~esm1","3.6.4-2.1ubuntu0.1","3.6.4-2.1ubuntu0.1+esm1","3.6.4-2.1ubuntu0.2","3.6.4-2.1ubuntu0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.6.4-2.1ubuntu0.2+esm1"},{"binary_name":"libdcmtk14","binary_version":"3.6.4-2.1ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4981.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/dcmtk@3.6.6-5ubuntu0.1~esm2?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.5-1","3.6.6-3ubuntu1","3.6.6-3ubuntu2","3.6.6-4","3.6.6-5","3.6.6-5ubuntu0.1~esm1","3.6.6-5ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.6.6-5ubuntu0.1~esm2"},{"binary_name":"libdcmtk16","binary_version":"3.6.6-5ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4981.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/dcmtk@3.6.7-9.1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.7-9","3.6.7-9.1build2","3.6.7-9.1build3","3.6.7-9.1build4","3.6.7-9.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.6.7-9.1ubuntu0.1~esm1"},{"binary_name":"libdcmtk17t64","binary_version":"3.6.7-9.1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4981.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}