Low

devalue: Sparse arrays emitted by uneval cause eager allocation when evaluated

  • Disclosed: 01.10.2026
  • Updated: 11.10.2026 10:22

Evaluating legitimate uneval output for a sparse array can allocate memory proportional to its declared length. A tiny serialized value can therefore cause large memory allocation in a consuming browser/runtime. This occurs during evaluation of generated code, not in default parse sparse-array construction.

You would only be affected by this if you were serializing very large sparse arrays and then evaluating the results. In the general use case for uneval of sending data to the client, the worst that could happen is the browser tab running out of memory.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package devalue >= 1.0.0, < 5.9.3 5.9.3

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:N/SA:L
Weakness (CWE)
CWE-400, CWE-789
Platform
npm
Package
devalue
Disclosed
01.10.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-wf3x-273g-mvxv - CC BY 4.0

Vulnerability history: devalue

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (16) in the archive
Total entries
16
First → latest
08.2025 10.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 8
  • Medium 4
  • Low 4

Disclosures per year

  1. 2025: 1
  2. 2026: 15
Severity:
  1. High · 7.5 CVE-2026-92708 >= 5.1.0, < 5.9.3 5.9.3
  2. devalue: Sparse arrays emitted by uneval cause eager allocation when evaluated this entry
    Low ghsa-wf3x-273g-mvxv >= 1.0.0, < 5.9.3 5.9.3
  3. High · 7.5 CVE-2026-42570 >= 5.6.3, < 5.8.1 5.8.1
  4. High CVE-2025-57820 < 5.3.2 5.3.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.