Critical Flaws in OFFIS DCMTK Threaten Medical Data Integrity
New vulnerabilities in OFFIS DCMTK (CVE-2026-125130 and CVE-2026-126500) allow unauthorised deletion and corruption of DICOM studies. Learn how to mitigate these risks in your medical imaging infrastructure.
TL;DR
- Vulnerabilities: Two flaws in OFFIS DCMTK (v3.5.4–3.7.0) enable unauthenticated object replacement and data corruption during storage maintenance.
- Impact: CVE-2026-125130 (CVSS 9.1) allows arbitrary deletion and replacement of DICOM objects, threatening clinical data integrity.
- Root Cause: Missing authorization (CWE-862) and improper prefix-based index matching (CWE-187) during quota management.
- Action Required: Immediate update to the latest upstream DCMTK source code; implement strict network segmentation for all DICOM nodes.
Medical imaging infrastructure relies heavily on the DICOM (Digital Imaging and Communications in Medicine) standard to transport and store sensitive diagnostic information. Recent security disclosures have identified critical vulnerabilities in the OFFIS DCMTK (DICOM Toolkit) suite—a foundational library used globally across Picture Archiving and Communication Systems (PACS) and independent imaging devices. These vulnerabilities, tracked as CVE-2026-125130 and CVE-2026-126500, present significant risks to the availability and integrity of patient studies. As of 1 December 2026, the vendor has released patches within the latest source code commits to address these flaws. Organisations must treat these as high-priority remediation items, as the toolkit's ubiquity means many secondary products likely inherit these risks.
Anatomy of the DCMTK Vulnerabilities
The security posture of DCMTK is compromised by two distinct logic errors. CVE-2026-125130, classified under CWE-862 (Missing Authorization), represents a critical failure in the access control model. An unauthenticated attacker can interface with a vulnerable DCMTK-based service to remove existing diagnostic objects and replace them with arbitrary files. Because the toolkit fails to validate the identity or permissions of the requesting entity, it effectively permits a write-anywhere condition within the storage directory, bypassing expected read-only constraints. CVE-2026-126500 concerns a more nuanced failure in data management, specifically during quota-based storage eviction. When a system reaches its configured capacity, the toolkit executes a routine to purge older studies. Due to an implementation error (CWE-187: Partial String Comparison), the system incorrectly identifies records for deletion. The logic evaluates the StudyInstanceUID of the target object using a string prefix comparison rather than an exact match. If an attacker or a legitimate user happens to store a study whose UID shares a prefix with another valid study, the eviction process may inadvertently purge unrelated index records. This creates a risk of silent data loss, where valid clinical images are removed from the system index, rendering them inaccessible to clinicians despite the underlying data blocks remaining on disk.
Risk Profile for Healthcare Environments
The integrity of a PACS is paramount in clinical workflows. When a clinician views a study, they rely on the assumption that the data is an authentic, complete representation of the patient's diagnostic imaging. CVE-2026-125130 allows for the injection of malicious or manipulated files, creating a scenario where a radiologist might inadvertently review compromised imagery. The potential for misdiagnosis or delayed treatment due to tampered records is a significant clinical risk, justifying the CVSS 9.1 rating. Availability concerns are equally critical. The logic flaw in CVE-2026-126500 can lead to an inconsistent database state. In a high-throughput environment, such as a trauma centre or an emergency department, the sudden, automated disappearance of imaging studies—caused by a flawed eviction process—disrupts time-sensitive decision-making. Furthermore, because these vulnerabilities exist in the toolkit level, they pose a "supply chain" risk to proprietary vendor products. If your facility uses imaging software that bundles DCMTK internally, the exposure exists even if your staff do not interact with the DCMTK command-line tools directly.
Beyond the Patch: Remediating DICOM Nodes
Mitigating these risks requires more than a simple configuration change; it requires updating the underlying binary or library. Engineers should first inventory all systems utilising DCMTK to identify affected versions between 3.5.4 and 3.7.0. Because DCMTK is often embedded as a dynamic library (.so or .dll files) within third-party medical applications, identification may require scanning file metadata or checking software bills of materials (SBOM). Once identified, the primary remedy is to pull the latest upstream source code and rebuild the affected components. As the specific commit identifiers for the fix have not been disclosed, engineers must pull the current stable release from the OFFIS repository and perform validation testing in a staging environment. Verify that the updated version correctly enforces authorization on object deletion and that the indexing logic remains robust during simulated storage pressure.
| Vulnerability | CWE | CVSS v3.1 | Primary Impact |
|---|---|---|---|
| CVE-2026-125130 | CWE-862 | 9.1 (Critical) | Unauthorised object replacement |
| CVE-2026-126500 | CWE-187 | 5.9 (Medium) | Corrupt index/Inadvertent deletion |
Verification Step
After patching, conduct a negative test by attempting an unauthorised DELETE request from an unauthenticated IP address. Ensure the response returns an HTTP 401 or 403 error status code rather than executing the deletion.
Defense-in-Depth for Medical Imaging Assets
When immediate patching is logistically impossible due to strict medical device certification requirements, architects must fall back on network-level isolation. DICOM traffic often flows over unencrypted, unauthenticated channels, making the network the primary perimeter. Isolate all DICOM nodes within a dedicated VLAN. Use firewall rules to strictly whitelist communication between PACS, modality workstations, and reporting software. If remote access is required for tele-radiology or maintenance, terminate all connections at a VPN gateway with multi-factor authentication (MFA) enabled. Never expose the default DCMTK listening ports—typically 104 or 4242—to the broader hospital network or the internet. By enforcing these boundaries, you limit the threat actor's ability to reach the vulnerable service, even if the underlying code remains unpatched.
Technical Considerations for PACS Architects
Long-term protection requires a shift toward a zero-trust architecture. PACS architects should implement fine-grained access control logs, ensuring every delete or modify operation is attributed to a specific, authenticated user identity. Monitoring traffic for anomalous DICOM C-MOVE or C-STORE commands is essential; unexpected surges in deletion requests from unusual network segments should trigger an immediate investigation. Furthermore, maintain an updated audit trail of all third-party dependencies within your imaging stack. When vendors issue updates, verify whether these include the latest DCMTK patches. If a vendor cannot confirm the security status of their bundled components, advocate for additional internal egress filtering to mitigate the risk of exploitation.
Key Takeaways
These vulnerabilities highlight the recurring danger of legacy toolkit reliance in high-stakes environments. The criticality of these flaws is not merely in the software bug itself, but in the potential for silent data corruption that can invalidate diagnostic workflows. Prioritise the immediate identification of all DCMTK instances within your estate. Follow up with a phased patching programme, starting with internet-facing or perimeter-adjacent nodes. Where patching is delayed, implement rigorous network segmentation to prevent external exploitation. Finally, ensure that your monitoring strategy captures not just service uptime, but the integrity of the data index itself.
Frequently asked questions
Are these vulnerabilities currently being exploited in the wild?
As of 1 December 2026, the Cybersecurity and Infrastructure Security Agency (CISA) has reported no known instances of public exploitation targeting these specific vulnerabilities. However, the publication of the advisory increases the risk profile significantly. Threat actors frequently monitor such disclosures to develop exploits against unpatched infrastructure. Organisations should assume that, given the widespread use of DCMTK, the window of opportunity for attackers is actively opening.
Does my hospital's proprietary imaging software use an affected version of DCMTK?
It is likely. Many vendors bundle DCMTK as a library for DICOM network communication. To determine if your system is affected, check the documentation provided by your imaging vendor or use filesystem analysis tools to identify if the application folder contains DCMTK binaries or library files. If you find versions within the 3.5.4 to 3.7.0 range, contact your vendor immediately for their specific patch schedule or guidance.
If I cannot patch immediately, what is the most effective compensating control?
The most effective control is strict network isolation. Move all vulnerable DICOM nodes into a segmented VLAN and use a stateful firewall to limit communication to known, trusted IP addresses only. Disable all unnecessary services on these machines and ensure that the nodes cannot reach out to, or be reached from, the public internet. This limits the attack surface to only those entities already inside your trusted network perimeter.
How does the partial string matching flaw specifically impact patient records?
The flaw in CVE-2026-126500 affects the quota-based storage eviction logic. When the system deletes an old study, it uses a string comparison on the Study Instance UID to identify records. Because it uses a prefix match, it may incorrectly identify and delete subsequent, unrelated records that happen to start with the same UID string. This causes the system to "forget" where valid patient data is located, essentially creating a denial-of-service condition for those specific records.
Related reading on ITSTCK
- Mitigating Active Exploitation: CVE-2026-61500 and CVE-2026-125160
- Java4Shell RCE: Assessing the New OpenJDK Vulnerability
- CVE-2026-131914: RCE Risk in Abandoned Idunno.AntiCsrf
Sources and further reading
- OFFIS DCMTK (DICOM Toolkit) | CISA CISA Advisories
This analysis was produced by the ITSTCK editorial pipeline with AI assistance, using only the public sources cited above, and passed automated checks for structure, sourcing and CVE accuracy. Verify critical details against the vendor advisory before acting.