A hospital imaging center illustrates cybersecurity protecting medical scans on a server.
If you mark a filing cabinet "Read-Only," bolt it to the floor, and tell the front desk not to accept new folders, you expect the paperwork inside to stay put. On December 1, 2026, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) issued ICS Medical Advisory ICSMA-26-335-02 warning healthcare IT teams and software developers that a popular open-source medical imaging toolkit doesn't quite follow that logic.

The advisory targets two newly cataloged vulnerabilities—CVE-2026-125130 and CVE-2026-126500—in OFFIS DCMTK (the DICOM Toolkit), affecting versions 3.5.4 through 3.7.0. At stake isn't merely another nuisance bug or a theoretical memory leak: both flaws directly threaten the integrity and availability of medical imaging archives, allowing either an unauthenticated network peer—or, in one case, the archive's own routine housekeeping—to quietly wipe out stored diagnostic studies.

For Windows administrators, radiology IT specialists, and C++ developers, this isn't an obscure Linux-only footnote. OFFIS e.V., the German research institute behind DCMTK, designates Windows and Linux as its two core platforms for exhaustive manual testing and distributes official 32-bit and 64-bit Windows builds alongside Windows package-manager support. If your hospital workstation, PACS test node, or imaging application relies on DCMTK under the hood, it is time to check what version is sitting in your binaries.

A hospital imaging center illustrates cybersecurity protecting medical scans on a server. Why "Read-Only" Didn't Mean "Hands-Off"​

To understand why CISA slapped a 9.1 Critical CVSS v3.1 score on CVE-2026-125130, it helps to look at how DICOM—the Digital Imaging and Communications in Medicine standard—handles network conversations. Before a scanner or viewer sends an X-ray or CT scan across a network, it negotiates an "association" with the archive server, agreeing on which services (like Verification or Storage) are permitted during that session.

According to technical findings from security researcher Abhinav Agarwal—a Rubrik senior software engineer credited by CISA with reporting the flaws—DCMTK's archive server enforced read-only permissions at the front door, but forgot to watch the hallway inside:

  • The handshake check worked: If a remote peer asked to negotiate the DICOM Storage service against a read-only storage area, the server properly refused.
  • The echo workaround: The server still allowed peers to connect using the DICOM Verification service (essentially a harmless DICOM "ping" or echo).
  • The missing command check: Once that Verification-only session was established, the server executed whatever commands arrived over the wire without verifying that those commands matched the service negotiated at connection time.

In short, an unauthenticated network peer could politely ask to say "hello," and then immediately start stuffing unauthorized image files (C-STORE requests) into a supposedly read-only archive.

Why does pushing junk into a read-only area lead to data deletion? Because DCMTK's image database server (dcmqrdb / dcmqrscp) uses automatic quota management. Once a storage area hits its configured capacity limit, the server automatically evicts the oldest imaging studies to free up space for incoming files. In proof-of-concept testing on DCMTK 3.7.0 reported by The HIPAA Journal, Agarwal sent 200 unauthorized stores over a Verification association, triggering quota cleanup that deleted all 200 original synthetic image files. No password, no exploit shellcode, no buffer overflow—just a server dutifully obeying its own storage-cleanup rules on behalf of an unauthorized guest.

The Second Bug: Collateral Damage via Prefix Matching​

If CVE-2026-125130 is the intruder kicking open the storage quota, CVE-2026-126500 is the automated shredder that doesn't know when to stop.

Tracked under CWE-187 (Partial String Comparison) and carrying a 5.9 Medium CVSS v3.1 score (6.0 under CVSS v4.0), CVE-2026-126500 stems from how DCMTK's quota-eviction routine identifies which study to delete when space runs low. Rather than matching the selected study's Study Instance UID exactly—the way study selection works elsewhere in the same backend—the cleanup routine deletes every index record whose Study Instance UID starts with the selected UID.

In DICOM environments, UIDs are dot-separated numeric strings, which makes prefix matching a disaster waiting to happen. As Agarwal demonstrated and The HIPAA Journal reported, evicting a study UID ending in .1 also wiped out unrelated studies ending in .10 through .19 and .100 through .199—erasing 111 studies in a single eviction event.

Crucially, CVE-2026-126500 doesn't even require a malicious hacker to cause trouble. Any routine quota cleanup on a busy archive with sequentially numbered UIDs can silently purge neighboring patient studies. At the same time, it is important not to conflate the exploitability of the two flaws: unlike CVE-2026-125130, CISA's vector for CVE-2026-126500 requires low privileges (PR:L) and high attack complexity (AC:H), with partial availability impact alongside high integrity impact.

Side-by-Side Comparison of the Two Vulnerabilities​

Metric / DetailCVE-2026-125130CVE-2026-126500
Weakness TypeCWE-862: Missing AuthorizationCWE-187: Partial String Comparison
CVSS v3.1 Score9.1 (Critical) (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H)5.9 (Medium) (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L)
CVSS v4.0 Score8.8 (High)6.0 (Medium)
Authentication NeededNone (unauthenticated network peer)Low privileges (PR:L), or triggered by normal quota eviction
Primary ImpactUnauthorized stores overwrite/evict existing read-only dataPrefix UID matching deletes unrelated studies during cleanup
Data Disclosure?None reported (C:N / VC:N)None reported (C:N / VC:N)
Affected VersionsOFFIS DCMTK 3.5.4 through 3.7.0OFFIS DCMTK 3.5.4 through 3.7.0

Patching Status: Mind the Gap Between Commits, 3.7.1, and Vendors​

Here is where diligent IT administrators need to read the fine print rather than skimming headlines.

In ICSMA-26-335-02, CISA states that OFFIS DCMTK was notified and provided fixes "included in the latest commits," without specifying a particular version number in the advisory itself. Meanwhile, earlier November coverage from The HIPAA Journal and Defensorum, along with community vulnerability tracking, reports that both issues are resolved in DCMTK 3.7.1, which OFFIS officially released on October 15, 2026.

Both statements make sense once you look at OFFIS's release model:

  • No backports to old branches: OFFIS explicitly notes in its documentation that bugs and vulnerabilities are only resolved in the latest version/snapshot of DCMTK, meaning organizations still running 3.5.x, 3.6.x, or 3.7.0 won't receive a cherry-picked 3.6.9.1 security patch from upstream.
  • Post-release commits continue: DCMTK's official GitHub mirror also maintains a rolling latest pre-release tag (updated as recently as November 16, 2026, for unrelated digital-signature timezone fixes).
  • Downstream lag is real: Even with DCMTK 3.7.1 available upstream, downstream OS packages—including Debian, Ubuntu, Fedora, and Windows third-party software bundles—often lag behind upstream releases. Likewise, commercial PACS, VNA, and imaging applications (such as scientific/medical frameworks like MeVisLab or ITK that incorporate DCMTK modules) ship on their own vendor update cycles.

In other words, don't assume your system is safe just because apt, choco, or a vendor installer hasn't flagged an update yet. And if you are building DCMTK 3.7.1 from source on Windows using Visual Studio and CMake, note a breaking toolchain change introduced in DCMTK 3.7.1: compilation with C++98 is no longer supported (C++11 is now the minimum standard, up through C++20), and CMake 3.7.0 or later is required.

A Recurring Pattern in Medical Supply-Chain Security​

If OFFIS DCMTK sounds familiar to regular followers of cybersecurity advisories, that's because 2026 has been a remarkably busy year for medical-imaging protocol bugs.

Back on June 30, 2026, CISA issued advisory ICSMA-26-181-01 for CVE-2026-50003—a 9.8 Critical path traversal vulnerability (also reported by Abhinav Agarwal) allowing a malicious or compromised server to force a DCMTK client using bit-preserving C-GET mode to write files outside the designated output directory using relative or absolute paths. Around the same period in late May 2026, CVE-2026-10194 flagged a heap-based buffer overflow in DcmQueryRetrieveIndexDatabaseHandle::deleteOldestImages inside dcmqrdb/libsrc/dcmqrdbi.cc in DCMTK 3.7.0.

Notice the common thread? Every one of these bugs lives in the unglamorous plumbing of medical imaging—database cleanup routines, quota eviction, and network association state machines. As Agarwal noted in an Industrial Control Systems (ICS) Cybersecurity Conference briefing on 2026 disclosures across protocol libraries including DCMTK, AI-assisted security testing has dramatically accelerated how quickly researchers uncover deep logic and memory bugs in foundational C/C++ libraries—far outpacing the speed at which downstream healthcare vendors can rebuild, certify, and ship patches.

There is also an uncomfortable architectural reality worth calling out. OFFIS's own manual pages explicitly describe dcmqrscp as a simple image archive and "Central Test Node" intended for DICOM demonstrations and compatibility testing. Yet because open-source reference toolkits are reliable, BSD-licensed, and thoroughly documented, pieces of dcmqrdb and dcmnet inevitably end up inside research archives, hospital middleware, and vendor appliances running on Windows and Linux servers worldwide. Treating test-grade access controls as production-ready perimeter security is how a missing association check turns into a CVSS 9.1 data-destruction risk.

Practical Steps for Windows Admins, Healthcare IT, and Developers​

CISA notes that no known public exploitation specifically targeting CVE-2026-125130 or CVE-2026-126500 had been reported as of December 1, 2026. That is reassuring, but hardly an excuse to procrastinate—particularly when CVE-2026-126500 can trigger unintended study deletion during ordinary quota cleanup without any attacker involvement.

Here is a concrete, prioritized checklist for securing Windows and mixed environments:

  1. Inventory where DCMTK actually lives: Don't only check standalone Windows installations (dcmqrscp.exe or Chocolatey packages installed via choco install dcmtk). Audit custom C++ builds, medical research platforms, and commercial PACS/viewing software that statically link or bundle dcmqrdb or dcmnet DLLs. Any component built against versions 3.5.4 through 3.7.0 requires review.
  2. Verify fixes and upgrade to DCMTK 3.7.1 (or vendor-patched equivalents):
    • For standalone Windows deployments, OFFIS provides precompiled 32-bit and 64-bit Windows DLL archives for DCMTK 3.7.1—and remember that if your workflow uses DICOM TLS/cryptographic extensions, you must also download the matching 3.7.1 OpenSSL add-on archive.
    • For developers compiling from source on Windows (MSVC) or Linux, verify that your build pulls DCMTK 3.7.1 (or the latest upstream master snapshot containing the fixes) and update your CMake configuration to target C++11 or newer.
    • For downstream OS packages or third-party medical appliances, ask your vendor or package maintainer directly whether the upstream commits for CVE-2026-125130 and CVE-2026-126500 have been backported or shipped—never rely on version-number guesswork.
  3. Lock down DICOM network exposure immediately: Following CISA's ICS recommended practices, ensure no DICOM archive or dcmqrscp listener is reachable from the public internet. Segment clinical imaging servers behind firewalls, isolate them from general business/corporate Windows domains, and restrict peer Application Entity (AE) titles and IP addresses tightly.
  4. Harden remote access and backups: If clinicians or administrators need remote access to imaging networks, route traffic through updated VPNs—keeping CISA's reminder in mind that a VPN is only as secure as the endpoint devices connected to it. Because both vulnerabilities impact data integrity and availability rather than stealing data, maintain tested, immutable, or offline backups of imaging archives and audit quota-eviction logs for unexpected study purges.
  5. Assess clinical impact before changing live settings: Before toggling firewall rules, disabling quota eviction, or swapping binaries on an active imaging workflow, perform a formal risk and impact analysis so security hardening doesn't accidentally interrupt urgent diagnostic care.

In healthcare IT, availability is patient safety. A vulnerability that lets an unauthenticated peer trick a "read-only" server into deleting its own history—or lets a prefix bug sweep away 111 studies in one automated housecleaning pass—deserves a spot at the very top of this week's patching queue.

 

References

  1. OFFIS DCMTK (DICOM Toolkit) CISA 2026-12-01T12:00:00+00:00
  2. cisa.gov cisa.gov
  3. github.com github.com