Technical impact
dcmjs is a JavaScript implementation of DICOM manipulation. Prior to version 0.52.0, the DecimalString and IntegerString value representations accepted permissively sanitized text and passed it directly to JavaScript's Number constructor without ensuring the result was finite or compliant with DICOM rules. An attacker can craft a DICOM file using scientific notation that overflows to Infinity or a string that converts to NaN. These invalid numeric values can be propagated into spatial geometry calculations, display windowing, dose scaling, frame counts, rescaling, or volume reconstruction, leading to incorrect medical imaging output or processing failures.
Affected Systems
All installations of dcmjs-org dcmjs prior to release 0.52.0 are affected. The vulnerability manifests in any application that relies on dcmjs to parse DICOM attributes of type DS or IS, including imaging viewer, PACS servers, and image processing pipelines that import data via this library.
Risk and Exploitability
The CVSS score of 9.1 indicates a high severity weakness. EPSS is not available, and the issue is not listed in CISA KEV. The most likely attack vector is the delivery of a carefully crafted DICOM file that contains out‑of‑range or malformed numeric values; no network exploitation or privilege escalation is required. If an application accepts such data without validation, the attacker can influence critical calculations, potentially causing diagnostic errors or system instability. Overall, the risk remains high due to the widespread use of dcmjs in medical imaging environments and the lack of built-in validation for these value representations.
Github GHSA