CVE-2025-46688
- State
- Published
- Severity
- 5.6 Medium
- Published
- Apr 27, 2025
- Updated
- Apr 28, 2025
- Reserved
- Apr 27, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.6 Medium | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L | mitre |
Weaknesses
- CWE-131 Incorrect Calculation of Buffer Size
Affected Products
| Product | Versions |
|---|---|
QuickJSQuickJS Project |
|
References
- https://github.com/quickjs-ng/quickjs/issues/1018
- https://github.com/quickjs-ng/quickjs/pull/1020
- https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a
- https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465
- https://github.com/bellard/quickjs/issues/399
- https://bellard.org/quickjs/Changelog
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.