Intel

AIKIDO-2026-354683

devalue is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-mcm9-63f2-9j32 Published Yesterday

59

Medium Risk

This Affects:

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

TL;DR

uneval repeats the full literal of a long string or bigint at every occurrence instead of emitting it once. A value from parse that repeats such a primitive therefore turns a small payload into output whose size grows quadratically. That expansion can exhaust CPU and memory during serialization. The fix hoists an expensive repeated primitive into one shared literal when that is smaller than inlining it.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes values with repeated large strings or bigints to uneval.

Background info

devalue is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 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