What’s Vulnerable › Vulnerabilities
CVE-2025-46688
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-04-27 · updated 2026-06-17
- Weakness: CWE-131
Description
quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.
Affected products
- quickjs-ng quickjs: through 0.9.0
- QuickJS: before 2025-04-26 — fixed in 2025-04-26
How to fix
Upgrade to a fixed version: QuickJS 2025-04-26. Check the vendor advisory for mitigations.
References
- https://bellard.org/quickjs/Changelog
- https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a
- https://github.com/bellard/quickjs/issues/399
- https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465
- https://github.com/quickjs-ng/quickjs/issues/1018
- https://github.com/quickjs-ng/quickjs/pull/1020
- https://github.com/quickjs-ng/quickjs/issues/1018
Get alerted when CVE-2025-46688 or the next vulnerability affects your stack