LOW 7.5

CVE-2026-123564

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

Description

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm » devaluevia npm devalue
>= 1.0.0, < 5.9.3
5.9.3
org.webjars.npm » devaluevia npm devalue
>= 1.0.0, < 5.9.3
5.9.3

Blast radius

2affected artifacts
15affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV