CVE-2026-44037

Uncontrolled recursion in DCMTK JSON reader allows denial of service

Published Oct 8, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
Uncontrolled mutual recursion between DcmJSONReader::parseDataSet(), DcmJSONReader::parseElement() and DcmJSONReader::parseSequence() in dcmdata/libsrc/dcjsonrd.cc of OFFIS DCMTK 3.7.0 allows an attacker to cause a denial of service (stack exhaustion and process crash) via a crafted DICOM JSON document with deeply nested sequence (SQ) values. The json2dcm tool and any service that converts untrusted DICOM JSON (for example, DICOMweb payloads) with this reader are affected. The issue is fixed in commit cf955e64c35a1e07ba10698f639d5dcdec53b9d7.

Analysis

AI-generated

Technical impact

A vulnerability exists in OFFIS DCMTK 3.7.0 where the JSON parser performs uncontrolled mutual recursion among the functions parseDataSet, parseElement, and parseSequence. A well‑crafted DICOM JSON document that contains deeply nested sequence values triggers this recursion, exhausting the call stack and causing the process to crash. The flaw is an example of CWE‑674 and CWE‑770 weaknesses, leading to a denial of service for any application that reads untrusted DICOM JSON.

Affected Systems

The affected systems are OFFIS DCMTK version 3.7.0 and any earlier releases that use the same JSON parsing code. Services that convert untrusted DICOM JSON, such as the json2dcm utility or DICOMweb payload converters that rely on this parser, are impacted because they invoke the vulnerable routines.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate risk. No EPSS score is provided and the vulnerability is not listed in CISA KEV, yet an attacker can exploit it by delivering a deeply nested JSON document over any interface that processes DICOM JSON, such as DICOMweb services or batch import tools. The attack requires only crafted input; it can be performed remotely if the target accepts user supplied JSON.

Remediation

Vendor Solution

Update to a DCMTK version that contains commit cf955e64c35a1e07ba10698f639d5dcdec53b9d7. As of the publication date, no tagged release after DCMTK 3.7.0 includes this fix, so apply the commit or build from the current master branch.


OpenCVE Recommended Actions

  • Update DCMTK to a version that includes commit cf955e64c35a1e07ba10698f639d5dcdec53b9d7 or apply the commit directly and rebuild the library.
  • If an immediate upgrade is not possible, validate or filter incoming DICOM JSON to enforce a practical depth limit on nested sequences before passing the data to the parser, or disable the json2dcm tool for untrusted input.
  • Run DICOM JSON conversion services inside a sandboxed environment with strict resource limits to contain any stack overflow and prevent a full application or host crash.

Generated by OpenCVE AI on October 9, 2026 at 03:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Uncontrolled mutual recursion between DcmJSONReader::parseDataSet(), DcmJSONReader::parseElement() and DcmJSONReader::parseSequence() in dcmdata/libsrc/dcjsonrd.cc of OFFIS DCMTK 3.7.0 allows an attacker to cause a denial of service (stack exhaustion and process crash) via a crafted DICOM JSON document with deeply nested sequence (SQ) values. The json2dcm tool and any service that converts untrusted DICOM JSON (for example, DICOMweb payloads) with this reader are affected. The issue is fixed in commit cf955e64c35a1e07ba10698f639d5dcdec53b9d7.
Title Uncontrolled recursion in DCMTK JSON reader allows denial of service
First Time appeared Offis
Offis dcmtk
Weaknesses CWE-674
CPEs cpe:2.3:a:offis:dcmtk:3.7.0:*:*:*:*:*:*:*
Vendors & Products Offis
Offis dcmtk
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
securin
Published
Updated
Oct 8, 2026, 2:08 PM
Reserved
May 5, 2026, 2:49 AM
Status
Awaiting Analysis
Published
Oct 8, 2026, 1:17 PM
Modified
Oct 8, 2026, 9:10 PM
Severity
Moderate
Public date
Oct 8, 2026, 12:55 PM