Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Quickjs-Ng | Quickjs | <= 0.9.0 |
| Quickjs Project | Quickjs | < 2025-04-26 |
Related Weaknesses (CWE)
References
- https://bellard.org/quickjs/ChangelogProduct
- https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ecPatch
- https://github.com/bellard/quickjs/issues/399ExploitThird Party Advisory
- https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82Patch
- https://github.com/quickjs-ng/quickjs/issues/1018Third Party Advisory
- https://github.com/quickjs-ng/quickjs/pull/1020Patch
- https://github.com/quickjs-ng/quickjs/issues/1018Third Party Advisory
FAQ
What is CVE-2025-46688?
CVE-2025-46688 is a vulnerability with a CVSS score of 5.6 (MEDIUM). 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.
How severe is CVE-2025-46688?
CVE-2025-46688 has been rated MEDIUM with a CVSS base score of 5.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-46688?
Check the references section above for vendor advisories and patch information. Affected products include: Quickjs-Ng Quickjs, Quickjs Project Quickjs.