CVE-2025-46688
Quickjs-ng Quickjs vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Quickjs-ng Quickjs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a · Patch
- github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465 · Patch
- github.com/quickjs-ng/quickjs/pull/1020 · Patch
- github.com/bellard/quickjs/issues/399 · Exploit
- github.com/quickjs-ng/quickjs/issues/1018 · Third Party Advisory
- bellard.org/quickjs/Changelog
- nvd.nist.gov/vuln/detail/CVE-2025-46688
- cve.org/CVERecord?id=CVE-2025-46688
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.