CVE-2025-46688
5.6medium
quickjs-ng through 0.9.0 has an incorrect size calculation in JSReadBigInt for a BigInt, leading to a heap-based buffer overflow.
- Severity
- 5.6medium CVSS:3.1 by mitre
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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
| Product or package | Versions | Reported by |
|---|---|---|
| QuickJS Project QuickJS | before 2025-04-26 | CVE List |
| quickjs-ng quickjs | up to 0.9.0 | NVD |
| quickjs_project quickjs | before 2025-04-26 | NVD |
All scores
| mitre | 5.6medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
| NVD | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Las versiones quickjs-ng hasta la 0.9.0 tienen un cálculo de tamaño incorrecto en JS_ReadBigInt para un BigInt, lo que provoca un desbordamiento de búfer basado en el montón. Las versiones QuickJS anteriores al 26/04/2025 también se ven afectadas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-46688 changed 2025-04-28 | CVE Terms of Use |
| NVD | CVE-2025-46688 changed 2026-06-17 | Public domain |