Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/dcmjs-org/dcmjs/commit/81e7e11cdefb56aa1a65bfe259648b865583ff
- https://github.com/dcmjs-org/dcmjs/pull/497
- https://github.com/dcmjs-org/dcmjs/releases/tag/v0.52.0
- https://github.com/dcmjs-org/dcmjs/security/advisories/GHSA-px68-xx5g-48q5
FAQ
What is CVE-2026-46350?
CVE-2026-46350 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 e...
How severe is CVE-2026-46350?
CVE-2026-46350 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-46350?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.