Advisory

GHSA-wf3x-273g-mvxv

Also known as: CVE-2026-123564

Summary

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

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-10-01 15:17 UTC
Modified
2026-11-08 10:56 UTC

Affected packages and fixes

devalue

npm · All systems

Affected

  • introduced 1.0.0, fixed 5.9.3 (semver)

Fixed versions

5.9.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences