npm
CVE-2026-46350
dcmjs: DS/IS VALUE REPRESENTATION INPUT VALIDATION BYPASS
- Severity
- Low
- Published
- 27 Oct 2026
- Last changed
- 27 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.52.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 24 Nov 2026
- Also known as
- GHSA-px68-xx5g-48q5
- Sources
- OSV.dev and GitHub
Description
dcmjs, a JavaScript library for DICOM manipulation used in web-based medical imaging viewers, contains an input validation bypass in its handling of DS (Decimal String) and IS (Integer String) value representations.
The DecimalString and IntegerString classes in ValueRepresentation.js use a regex sanitizer followed by JavaScript's Number() constructor. While the regex strips direct NaN/Infinity strings, it preserves scientific notation (including the 'e' character), enabling:
- Infinity injection via scientific notation overflow (1e999999)
- NaN injection via sign-only remnants from stripped inf strings ("-inf" -> "-")
- IS accepting scientific notation in violation of PS3.5
AFFECTED PRODUCT Product: dcmjs (JavaScript DICOM manipulation library) Repository: https://github.com/dcmjs-org/dcmjs npm: https://www.npmjs.com/package/dcmjs Affected Versions: < 0.52.0 (patched in 0.52.0, released 2026-05-19) CVE: CVE-2026-46350 (assigned by GitHub 2026-05-13) CWE: CWE-20 (Improper Input…
Affected software
| Software | Affected versions |
|---|---|
dcmjsnpm · osv:npm:dcmjs |
|
About dcmjs
- Weekly downloads (npm)
- 239,273npm, 24 Nov 2026
This is the only vulnerability in dcmjs in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-46350
- GitHub Advisory Database https://github.com/advisories/GHSA-px68-xx5g-48q5