[ CVE-2026-46350 · Published 5 Nov 2026 ]
dcmjs: DS/IS VALUE REPRESENTATION INPUT VALIDATION BYPASS
[ Why it matters ]Priority signals
- Critical severity: CVSS 9.1
[ Description ]Official description
dcmjs is a JavaScript implementation of DICOM manipulation. Prior to 0.52.0, the DecimalString and IntegerString implementations in src/ValueRepresentation.js sanitize text with a permissive regular expression and pass the result to JavaScript's Number constructor without validating finiteness or the DICOM value-representation rules. Scientific notation overflow in a DS or IS field can produce positive or negative Infinity, while stripping alphabetic characters from signed infinity text can leave a sign-only string that converts to NaN. IntegerString also accepts exponent notation and values outside the DICOM signed 32-bit IS range. Applications that trust these parsed values can propagate invalid numbers into spatial geometry, display windowing, dose scaling, frame counts, rescaling, or volume reconstruction, causing incorrect calculations or disrupted processing. This issue is fixed in version 0.52.0.
[ Fixes ]How to fix it
- dcmjs 0.52.0Fixed version · GitHub Advisories · npm package dcmjs: upgrade to 0.52.0 or later (affected < 0.52.0)
Fixed versions
- dcmjs-org dcmjs: upgrade to 0.52.0 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
- Patchgithub.com
- Release notesgithub.com
Until you can patch: our advice
- Keep it off the internet. It can be attacked over the network without an account. Until you have patched, make sure the affected service is not reachable from the internet: close the port, or put it behind a VPN or a firewall allow-list.
[ Packages ]Affected open-source packages
- dcmjs npmAffected < 0.52.0 · fixed in 0.52.0 · GHSA-px68-xx5g-48q5