CVE-2022-4981 Details
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.
A null pointer dereference vulnerability has been identified in DCMTK versions through 3.6.7, specifically within the DICOM Query/Retrieve SCP component. The issue arises in the function DcmQueryRetrieveConfig::readPeerList, located in the file dcmqrcnf.cc. When the application processes a malformed configuration file that lacks proper HostTable or AETable structure, the function attempts to dereference an uninitialized pointer, leading to a segmentation fault. This vulnerability causes a denial-of-service condition by crashing the DICOM service, and can be exploited locally using a crafted configuration file.
Upgrading to DCMTK version 3.6.8 resolves this vulnerability. The patch can be applied by updating to this version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://shimo.im/docs/e1Azd4dDQXUgOGqW/read | CISA-ADP | ExploitThird Party Advisory |
| https://shimo.im/docs/e1Azd4dDQXUgOGqW/ | [email protected] | ExploitThird Party Advisory |
| https://support.dcmtk.org/redmine/issues/1026 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.329029 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.329029 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.673134 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-404 | Improper Resource Shutdown or Release | [email protected] |
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| offis dcmtk | < 3.6.8 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Oct 31, 2025 | Initial Analysis | [email protected] |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | New CVE Received | [email protected] |