CVE-2026-46350dcmjs-org dcmjs
Improper Input Validation of Numeric Values in dcmjs
Critical 9.1 No auth needed
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Nov 5, 2026
- Updated
- Nov 12, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
dcmjs prior to 0.52.0 fails to properly validate DecimalString and IntegerString values, allowing overflowed scientific notation to produce Infinity or NaN. An attacker can send malformed DICOM data causing incorrect calculations in spatial geometry, display windowing, dose scaling, or volume reconstruction.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.52.0
Update dcmjs to version 0.52.0 or later to fix numeric value validation in DS and IS fields.
Vendor advisory · github.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for dcmjs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | dcmjs |
< 0.52.0 |
0.52.0 |
npm install dcmjs@0.52.0 |
Per OSV / GitHub Advisories (GHSA-px68-xx5g-48q5). Check the version in your lockfile before upgrading.
Affected products
- dcmjs-org · dcmjs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.