GHSA-r9w8-h9r3-54w4 devalue: Custom ArrayBuffer revivers can bypass typed-array allocation validation
Attackers can cause denial of service by crafting malicious input that triggers massive ArrayBuffer allocations in the devalue library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-r9w8-h9r3-54w4?
GHSA-r9w8-h9r3-54w4 is a denial of service vulnerability in devalue, published on 1 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
parse could create massive ArrayBuffers with very small input. This required a malformed ArrayBuffer custom reviver.Which versions are affected by GHSA-r9w8-h9r3-54w4?
2 open source packages ship an affected version, including devalue.
| Package | Affected | Fixed in |
|---|---|---|
devalue npm | All versions | 5.9.3 |
devalue npm | All versions | 5.9.3 |
How do I fix GHSA-r9w8-h9r3-54w4?
Upgrade devalue to 5.9.3 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-r9w8-h9r3-54w4 being exploited?
There is no known exploitation of GHSA-r9w8-h9r3-54w4 in the wild and no public exploit code.