Skip to content
Zero-Day & CVE

OFFIS DCMTK Flaws Expose Medical Archives to Deletion

Critical vulnerabilities in the open-source OFFIS DCMTK allow unauthenticated attackers to purge medical imaging studies via quota cleanup logic flaws.

Texial Editorial Desk
5 min read
A hospital radiological workstation displaying medical DICOM imaging archives under analysis by healthcare security administrators.
Add us as preferred source on Google →
Table of Contents

Key Takeaways

  • Critical flaws in OFFIS DCMTK allow remote unauthenticated peers to purge medical imaging data.
  • CVE-2026-125130 exposes read-only archives to unauthorized storage and forced quota deletions.
  • CVE-2026-126500 uses flawed prefix matching, accidentally wiping multiple unrelated DICOM studies.
  • Remediation requires upgrading to OFFIS DCMTK version 3.7.1 or applying upstream patch commits.

In December 2026, cybersecurity authorities confirmed two critical data integrity vulnerabilities in the open-source OFFIS DCMTK (DICOM Toolkit) that allow unauthenticated network attackers to purge clinical imaging records. The flaws affect toolkit versions 3.5.4 through 3.7.0, jeopardizing radiological archive integrity across global hospital networks and clinical picture archiving and communication systems (PACS).

The security notification, detailed in a CISA Medical Advisory following research conducted by Abhinav Agarwal, warns that threat actors can exploit routine storage management functions to trigger permanent file loss without administrative privileges. Because DCMTK forms the underlying communications engine for numerous commercial and open-source medical imaging devices, downstream vendors and healthcare providers face immediate operational disruption if network-facing archive listeners remain exposed.

Technical Breakdown: Authorization Bypass and Partial String Matching

The core exposure involves two architectural flaws in how DCMTK handles network storage requests and manages storage limits within its archive modules (such as dcmqrscp). The most severe issue, tracked as CVE-2026-125130 with a CVSS v3.1 base score of 9.1 (CWE-862, Missing Authorization), permits an unauthenticated peer on the network to transmit DICOM storage requests directly into an archive directory designated as read-only.

Under normal operation, a read-only partition rejects incoming files. However, vulnerable versions fail to validate storage permissions before processing incoming DICOM associations. When the inbound study size exceeds configured storage thresholds, the daemon automatically invokes an internal quota enforcement routine. This routine purges oldest-first stored imaging studies to accommodate the unauthorized incoming file. Consequently, an attacker can continuously issue valid DICOM storage commands, forcing the archive system to systematically delete legitimate patient scans while recording arbitrary replacement data.

Compounding this destruction is CVE-2026-126500 (CVSS v3.1: 5.9, CWE-187, Partial String Comparison). When the archive eviction algorithm selects a specific study to purge during quota management, it matches the target Study Instance UID using an incomplete prefix comparison instead of a complete byte-for-byte string evaluation. If the target UID shares an identical leading numeric string with several other clinical records, the cleanup daemon purges all matching records across the directory. A single eviction event can wipe dozens of distinct patient records that happen to share hierarchical UID prefixes from the same medical imaging vendor.

How Defenders Detect & Mitigate This

Defenders monitoring medical networks must align detection logic to identify abuse of the DICOM standard C-STORE and C-MOVE protocols, mapped to MITRE ATT&CK T1485 (Data Destruction) and T1190 (Exploit Public-Facing Application).

To surface potential exploitation in operational logs:

  • Monitor Network Association Logs: Inspect DICOM server logs for sudden spikes in C-STORE association requests originating from unlisted IP addresses or unauthorized Application Entity Titles (AETs).
  • Audit File System Purges: Configure host-level file integrity monitoring on DICOM data storage paths (such as directories containing .dcm objects) to alert on high-frequency file unlinking operations initiated by dcmqrscp or wrapper daemons.
  • Examine PACS Database Records: Review database transaction logs for rapid batch deletions of Study Instance UIDs where deletions do not correspond to clinician-approved data retention schedules.

Healthcare engineering teams managing embedded software stacks should review related architectural threat models, comparable to containment strategies discussed in our analysis of Docker Sandboxes Flaws and perimeter protection reviews covering the JERA Cyber Incident.

Impact Matrix

DimensionTechnical Finding
Affected ComponentOFFIS DCMTK archive daemon (versions 3.5.4 through 3.7.0)
Primary CVE IdentifiersCVE-2026-125130 (Missing Authorization), CVE-2026-126500 (Partial String Comparison)
Severity ScoringCVE-2026-125130: CVSS 9.1 Critical / CVE-2026-126500: CVSS 5.9 Medium
Attack Vector & PrerequisitesNetwork accessible; unauthenticated DICOM C-STORE service access
Downstream ImpactPermanent radiological data loss and unauthorized study replacement in PACS
Upstream ResolutionPatched in DCMTK 3.7.1 and confirmed Git source commits

Medical data deletion vulnerabilities strike at patient safety by weaponizing automated archiving mechanics against hospital integrity controls. Defending clinical networks requires treating DICOM association endpoints with the same network zero-trust scrutiny applied to production databases.

— Texial Threat Research Desk

Immediate Actions

  1. Upgrade DCMTK Binaries: Deploy DCMTK version 3.7.1 or integrate the latest upstream source commits published by the OFFIS DCMTK repository across all self-compiled and package-managed platforms.
  2. Restrict DICOM Association Access: Block external network access to standard DICOM listening ports (such as TCP ports 104, 2762, and 11112) via perimeter firewalls and strict clinical VLAN isolation.
  3. Enforce Application Entity Filtering: Configure archive services to strictly validate calling Application Entity Titles (AETs) and reject connections from unrecognized peer hostnames or subnets.
  4. Validate Read-Only File System Mounts: Mount permanent radiological archive storage as read-only at the operating system or storage volume level, preventing daemon-level quota functions from deleting stored assets.

Frequently Asked Questions

How does an attacker delete records using CVE-2026-125130?

An attacker sends unauthorized storage requests to a DCMTK archive listener. Once storage thresholds are exceeded, the server executes automatic quota cleanup, permanently deleting existing medical imaging studies to make room for incoming files.

Why does CVE-2026-126500 cause unintended data loss?

The archive cleanup function uses partial prefix comparison instead of exact string matching. Any study whose Study Instance UID starts with the target prefix is erroneously deleted during a routine quota clearance routine.

Which versions of OFFIS DCMTK are vulnerable?

DCMTK versions 3.5.4 through 3.7.0 are vulnerable to both flaws. Upstream maintainers resolved both vulnerabilities with the release of DCMTK version 3.7.1.

Can firewalls mitigate these vulnerabilities without an immediate patch?

Yes. Restricting DICOM port access (typically ports 104, 2762, or 11112) to trusted PACS clients via network firewalls and VPNs blocks unauthorized network peers from initiating malicious C-STORE associations.

Share This Briefing

Keep your security team ahead of this threat.

LinkedInPostWhatsApp
Verified Editorial Desk

Cybersecurity journalist covering global vulnerability disclosures, enterprise software security, and incident response for Texial Newsroom.

Latest Cybersecurity News

View All News →