CVE-2026-46350 dcmjs-org · dcmjs
AI summary
dcmjs before 0.52.0 parses DICOM DecimalString and IntegerString values without validating finiteness or DICOM rules, so crafted files can yield Infinity, NaN or out-of-range integers. Applications trusting these values may produce incorrect geometry, dose or display calculations or disrupted processing. Critical (CVSS 9.1); upgrade to 0.52.0.
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.
- Published
- 2026-11-05 21:18 UTC
- Modified
- 2026-11-12 22:18 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - EPSS
- 0.65% (percentile 46)
- ENISA EUVD
- EUVD-2026-117784
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
- CWE
- CWE-20
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- none
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/dcmjs-org/dcmjs/commit/81e7e11cdefb56aa1a65bfe259648b865583ff88 - github.com
https://github.com/dcmjs-org/dcmjs/pull/497 - github.com
https://github.com/dcmjs-org/dcmjs/releases/tag/v0.52.0 - github.com
https://github.com/dcmjs-org/dcmjs/security/advisories/GHSA-px68-xx5g-48q5