Incident sheet · /security

Filed
Read
3 min · 603 words
Severity
Routine

Two DCMTK archive flaws deleted 200 medical imaging files in testing

Two DCMTK archive vulnerabilities can erase stored studies without credentials or attacker action. Version 3.7.1 fixes the flaws, but downstream Debian, Ubuntu and Fedora builds may still contain them.

Vulnerabilities OFFIS DCMTK Toolkit Can Result in Data Deletion
FeedVulnerabilities OFFIS DCMTK Toolkit Can Result in Data Deletion — valelopardo / pixabay

Event log

  1. CVE-2026-125130 scores CVSS v3.1 9.1 and lets a network peer trigger deletion without credentials.
  2. Testing on DCMTK 3.7.0 deleted 200 synthetic image files after the server accepted 200 unauthorized stores.
  3. CVE-2026-126500 scores 5.9 and caused 111 study deletions in one prefix-based eviction test.
  4. The flaws affect DCMTK 3.5.4-3.7.0; DCMTK 3.7.1 fixes both and shipped on October 15, 2026.
  5. Certain Debian, Ubuntu and Fedora package sources may still incorporate vulnerable archive code.

By Amara Osei

Two OFFIS DCMTK vulnerabilities can delete stored medical imaging studies, with CVSS v3.1 severity scores of 9.1 and 5.9. The first lets an unauthenticated network peer manipulate archive capacity; the second makes cleanup remove studies with related identifiers. DCMTK 3.7.1 fixes both defects, but downstream packages may not yet contain the repairs.

What can an unauthenticated peer delete?

CVE-2026-125130 carries a CVSS v3.1 severity score of 9.1, the higher of the two issues. Its root cause is a read-only archive area that accepts network stores. A network peer can exploit this without credentials, causing each unauthorized store to trigger the archive's quota cleanup.

When the read-only area reaches capacity, cleanup removes the least recent imaging studies to make room for the newest store. Repeated unauthorized stores could ultimately produce total data deletion from the archive, rather than simply a rejected write.

Security researcher Abhinav Agarwal tested DCMTK 3.7.0 and sent 200 unauthorized stores. The server accepted all 200, triggered cleanup and deleted 200 original synthetic image files. A final query confirmed that every one of those original files had gone.

The read-only restriction applied only when the connection opened. The server refused a storage-service request for the read-only area but still accepted the Verification service, known as the DICOM “echo,” which is harmless by itself. The failure occurred when commands arrived after connection.

Agarwal said: “Once connected, however, the server executed whatever command arrived without checking that it matched the service negotiated for that connection. A peer could negotiate Verification only and then send storage commands over it.”

In short, an unauthenticated peer can turn the archive's own quota system into a deletion mechanism.

How does prefix matching widen the loss?

CVE-2026-126500 has a medium CVSS v3.1 score of 5.9. The cleanup process chooses the oldest study but deletes index records whose Study Instance UID starts with that selected UID. Elsewhere in the same backend, study selection uses exact matching; cleanup did not.

“To evict a study, cleanup picks the oldest one, then deletes every index record whose Study Instance UID starts with the selected UID,” Agarwal said.

Agarwal's test evicted the study ending in .1 and also deleted the studies ending in .10 through .19 and .100 through .199. That single eviction removed 111 studies. The flaw does not require attacker involvement, and its prefix-based cleanup can destroy data belonging to unrelated studies.

In testing, one nominal study eviction became 111 study deletions, with no attacker action required.

Does DCMTK 3.7.1 remove the downstream risk?

Both new vulnerabilities affect DCMTK versions 3.5.4 through 3.7.0. The developer fixed them in DCMTK 3.7.1, released on October 15, 2026. Agarwal reported the issues to the developer and CISA. He had also found five unrelated vulnerabilities in the same toolkit earlier in the year; those earlier defects have since been fixed.

The 3.7.1 release does not by itself establish that deployed systems are safe. Products that incorporate the DCMTK archive server may still carry the flaws, including certain package sources for Debian, Ubuntu and Fedora.

Hospitals and suppliers need to establish three facts:

  • Whether the archive server or its backend appears in the build.
  • Which revision the product contains.
  • Whether both fixes reached the downstream product.

An SBOM entry naming DCMTK alone cannot answer those questions. Version 3.7.1 closes the upstream defects, but only a build-level review can show whether a deployed archive still carries them.

via hipaajournal.com (Source)

Filed under

  • dcmtk
  • dicom
  • medical-imaging
  • vulnerability-management
  • supply-chain-security
Share this article:

More from Amara Osei

Amara Osei

Show full bio

Correspondent covering regulation, policy and their impact on enterprise information technology and the leaders who run at CIO Monitor.

226 articles

The newsroom digest

One email a day with the stories that matter. No noise.

By subscribing you agree to the privacy policy.

Cross-references

‹ Previous articleNext article ›