Description
A malicious or compromised server can make a DCMTK client using bit-preserving C-GET storage mode write files outside the chosen output directory, using both relative (../) paths and absolute paths.
Published: 2026-06-30
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A malicious or compromised server can make a DCMTK client that uses bit‑preserving C‑GET storage mode write files outside the specified output directory, by supplying relative or absolute paths. This path traversal flaw (CWE‑22) enables an attacker to create or overwrite arbitrary files on the client’s file system.

Affected Systems

The vulnerability affects the OFFIS DICOM: DCMTK Toolkit. Version information is not specified in the report, indicating that all releases before the published fix are potentially vulnerable.

Risk and Exploitability

The CVSS score of 9.3 classifies this as high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the high CVSS combined with the capability to write arbitrary files makes it a serious risk. An attacker can trigger exploitation by issuing a C‑GET request to a vulnerable client, typically from a compromised or malicious server. The attack does not require special privileges on the client and can be performed remotely.

Generated by OpenCVE AI on June 30, 2026 at 22:50 UTC.

Remediation

Vendor Solution

The maintainer was notified of these vulnerabilities and has provided a fix. The fix is included in the latest commits and can be obtained in the following snapshot: https://github.com/DCMTK/dcmtk/releases/tag/latest Users are recommended to download the latest GitHub release once it becomes available.


OpenCVE Recommended Actions

  • Download and install the latest DCMTK release from GitHub that contains the patch.
  • Configure the client to accept commands only from trusted servers, for example by tightening firewall rules or using mutual TLS if possible.
  • If an upgrade is not immediately feasible, restrict the C‑GET storage mode to disallow relative or absolute paths, or limit the output directory using application configuration or system‑level permissions to prevent arbitrary file writes.

Generated by OpenCVE AI on June 30, 2026 at 22:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 01 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Offis Dicom
Offis Dicom dcmtk Toolkit
Vendors & Products Offis Dicom
Offis Dicom dcmtk Toolkit

Tue, 30 Jun 2026 21:30:00 +0000

Type Values Removed Values Added
Description A malicious or compromised server can make a DCMTK client using bit-preserving C-GET storage mode write files outside the chosen output directory, using both relative (../) paths and absolute paths.
Title OFFIS DCMTK Toolkit Path Traversal
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Offis Dicom Dcmtk Toolkit
cve-icon MITRE

Status: PUBLISHED

Assigner: icscert

Published:

Updated: 2026-07-01T15:39:24.236Z

Reserved: 2026-06-22T17:03:25.968Z

Link: CVE-2026-50003

cve-icon Vulnrichment

Updated: 2026-07-01T15:39:21.442Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T10:00:56Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')