CVE-2026-50003

OFFIS DCMTK Toolkit Path Traversal

Published Jun 30, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Offis Dicom
Offis Dicom dcmtk Toolkit
Vendors & Products Offis Dicom
Offis Dicom dcmtk Toolkit
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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
icscert
Published
Updated
Jul 1, 2026, 3:39 PM
Reserved
Jun 22, 2026, 5:03 PM
Status
Deferred
Published
Jun 30, 2026, 10:16 PM
Modified
Oct 25, 2026, 9:10 PM