Skip to main content
← Vulnerabilities

dcmjs: DS/IS VALUE REPRESENTATION INPUT VALIDATION BYPASS

dcmjs versions before 0.52.0 are affected in Node.js or browser applications that parse DICOM DS or IS fields. The fix is in 0.52.0.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

9.1CriticalCNA
Exploited
No known exploitation
Fix
Fixed in 0.52.0
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 0.52.0.

Published
Last modified
38/100 · provisional
Unclear
None on Exploit-DB, Metasploit or GitHub
On X
View the cve.now post

Summary

dcmjs, a JavaScript library for manipulating DICOM medical imaging files, fails to validate numeric DS and IS fields, so an attacker can remotely, without logging in or user interaction, supply values that parse to infinity, NaN, or out-of-range numbers. Applications that trust these values can produce incorrect calculations or disrupted processing in areas such as spatial geometry, display windowing, dose scaling, and volume reconstruction.

Read the original 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.

cve.now Index

38Pcve.now Index 38 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
  • Reach12/20dcmjs: 230.3K downloads a week
  • Severity9.1/10CVSS 9.1
  • No patch0/5No signal

What would change the score

  • Would score about 83 if added to CISA KEV
  • Would score about 78 if CISA's SSVC rates exploitation active
  • Would score about 43 if advisories confirm default setups are exposed

Impact

  • Widely used

    dcmjs has 230.3k weekly downloads.Source: npmjs.com

    17 packages depend on dcmjs.Source: deps.dev

What to do

  • Upgrade to a fixed version: 0.52.0.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now

Affected versions

  • dcmjs-org dcmjs

    fixed in 0.52.0

  • dcmjsnpm

    fixed in 0.52.0

Evidence 4

  1. Advisory
  2. Repository
  3. Repository
  4. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-46350

Is CVE-2026-46350 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

Malformed DS or IS input can produce Infinity, NaN, or out-of-range integers. These values can spread through downstream arithmetic, causing incorrect calculations or disrupted processing.Source: github.com

Which versions are affected by CVE-2026-46350?

dcmjs: before 0.52.0. dcmjs (npm): before 0.52.0.Source: cve.now feed data

Am I affected, and how do I check?

dcmjs versions before 0.52.0 are affected. The issue applies to Node.js or browser applications that parse DICOM via dcmjs, and the installed dcmjs version can be checked in the project's dependency list.Source: github.com

How do I fix CVE-2026-46350?

Upgrade dcmjs to 0.52.0 or later, which was released on 2026-05-19 with the fix.Source: github.com