GitHub Advisoryadvisory · npm
GHSA-hx4r-w6wj-j8fg devalue: Residual sparse-array CPU amplification in uneval
MEDIUM
Official page ↗
- Ecosystem
- npm
- Packages
- devalue
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- Weaknesses
- CWE-400, CWE-407
- Reviewed
- 2026-10-01
Affected packages
• npm devalue: < 5.9.3 → fixed in 5.9.3
Description
`uneval` performs synchronous work proportional to a sparse array's declared length. An application that passes attacker-influenced sparse values to `uneval` can suffer event-loop blocking. Since attacker-controlled creation of sparse arrays is so difficult, this vulnerability is very difficult to exploit.