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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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 | 3.6.8 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dcmtk | 3.6.8-5 | — |
| Debian 13 | dcmtk | 3.6.8-5 | — |
| Debian 12 | dcmtk | 3.6.7-9~deb12u4 | — |
| Debian 11 | dcmtk | 3.6.5-1+deb11u5 | DLA-4363-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | dcmtk | No fix yet | — |
| Ubuntu Pro 22.04 LTS | dcmtk | No fix yet | — |
| Ubuntu Pro 20.04 LTS | dcmtk | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | dcmtk | No fix yet | — |
| Ubuntu Pro 16.04 LTS | dcmtk | No fix yet | — |
Advisories 1
- DLA-4363-1 dcmtk - security update Debian Security (DSA / DLA) · Nov 3, 2025
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