Intel

AIKIDO-2026-583329

devalue is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-wf3x-273g-mvxv Published Yesterday

37

Low Risk

This Affects:

JSdevalue
1.0.0 - 5.9.2
Fixed in 5.9.3
Are you affected? Scan for Free

TL;DR

uneval emits Array(length) for a sparse array, and running that expression allocates memory proportional to the declared length. A compact value can therefore force a large allocation in the runtime that evaluates the generated code, which is separate from how parse constructs sparse arrays. In the usual case of sending uneval output to a browser, the tab can run out of memory. The fix emits an allocator that switches the array to dictionary-elements mode before setting length.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you evaluate uneval output for a very large sparse array.

Background info

devalue is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 5.9.2.

How to fix this

Upgrade the devalue library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform