Unknown · Quickjs-Ng · CVE-2025-46688
**Name of the Vulnerable Software and Affected Versions**
quickjs-ng versions 0.9.0 and earlier
QuickJS versions prior to 2025-04-26
**Description**
The issue is related to an incorrect size calculation in `JS ReadBigInt` for a `BigInt`, leading to a heap-based buffer overflow.
**Recommendations**
For quickjs-ng versions 0.9.0 and earlier, update to a version later than 0.9.0 to resolve the issue.
For QuickJS versions prior to 2025-04-26, update to a version released after 2025-04-26 to fix the problem.
As a temporary workaround, consider restricting the use of the `JS ReadBigInt` function for `BigInt` values until a patch is available.