Description
Stack-based buffer overflow in the parsePresentationContext function in storescp in DICOM dcmtk-3.6.0 and earlier allows remote attackers to cause a denial of service (segmentation fault) via a long string sent to TCP port 4242.
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.1~20160216-2 | — |
| Debian 13 | dcmtk | 3.6.1~20160216-2 | — |
| Debian 12 | dcmtk | 3.6.1~20160216-2 | — |
| Debian 8 | dcmtk | 3.6.0-15+deb8u1 | DSA-3749-1 |
| Debian 7 | dcmtk | 3.6.0-12+deb7u1 | DLA-755-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | dcmtk | 3.6.0-15+deb8u1build0.14.04.1 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | dcmtk | 3.6.6-5ubuntu0.1~esm1 | USN-5882-1 |
| Ubuntu Pro 20.04 LTS | dcmtk | 3.6.4-2.1ubuntu0.1~esm1 | USN-5882-1 |
| Ubuntu Pro 18.04 LTS | dcmtk | 3.6.2-3ubuntu0.1~esm1 | USN-5882-1 |
| Ubuntu Pro 16.04 LTS | dcmtk | 3.6.1~20150924-5ubuntu0.1~esm1 | USN-5882-1 |
Advisories 3
- USN-5882-1 dcmtk vulnerabilities Ubuntu Security Notices (USN) · Aug 31, 2026
- DLA-755-1 dcmtk - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3749-1 dcmtk - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://packetstormsecurity.com/files/140191/DCMTK-storescp-DICOM-storage-C-STORE-SCP-Remote-Stack-Buffer-Overflow.html
- 94951 vdb-entry
- DSA-3749 vendor-advisory
- [oss-security] 20161217 Re: CVE request - DCMTK remote stack buffer overflow mailing-list
- http://www.zeroscience.mk/en/vulnerabilities/ZSL-2016-5384.php
- https://bugzilla.redhat.com/show_bug.cgi?id=1405919