CVE-2025-46688
quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, leading...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.6
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.
- Record
CVE-2025-46688- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-131
- Updated
- 2026-11-02
EUVDEUVD-2025-12432
5.6
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.
- Record
EUVD-2025-12432- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2qc3-w5w6-7r8m
5.6
quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, leading...
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.
- Record
GHSA-2qc3-w5w6-7r8m- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-131
- Updated
- 2026-11-02
NVD
5.6
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.
- Record
CVE-2025-46688- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-131
- Updated
- 2026-11-02
OSVALPINE-CVE-2025-46688
8.4
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.
- Record
ALPINE-CVE-2025-46688- CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
5.6
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.
- Record
CVE-2025-46688- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-131
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-46688
8.4
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.
- Record
DEBIAN-CVE-2025-46688- CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-46688
5.6
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.
- Record
UBUNTU-CVE-2025-46688- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
quickjs-ngAlpine:v3.23 |
before 0.10.0-r0 | 0.10.0-r0 |
quickjs-ngAlpine:v3.24 |
before 0.10.0-r0 | 0.10.0-r0 |
quickjsDebian:13 |
before 2025.04.26-1 | 2025.04.26-1 |
quickjsDebian:14 |
before 2025.04.26-1 | 2025.04.26-1 |
quickjsUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 2021.03.27-12021.03.27-1ubuntu0.1~esm1 |
None known |
quickjsUbuntu:25.10 |
All versions, plus listed versions 2024.01.13-52025.04.26-1 |
None known |
quickjsUbuntu:26.10 |
All versions, plus listed versions 2025.04.26-1build1 |
None known |
quickjsUbuntu:26.04:LTS |
All versions, plus listed versions 2025.04.26-12025.04.26-1build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-46688 is a medium vulnerability (CVSS 5.6) in Quickjs Project Quickjs, published April 27, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 25th percentile. Fixed in quickjs-ng 0.10.0-r0.
References
github.com/quickjs-ng/quickjs/issues/1018
github.com/quickjs-ng/quickjs/pull/1020
github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a
github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465
github.com/bellard/quickjs/issues/399
bellard.org/quickjs/Changelog
Show 7 moreShow less
nvd.nist.gov/vuln/detail/CVE-2025-46688
github.com/advisories/GHSA-2qc3-w5w6-7r8m
security.alpinelinux.org/vuln/CVE-2025-46688
github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46688.json
security-tracker.debian.org/tracker/CVE-2025-46688
ubuntu.com/security/CVE-2025-46688
cve.org/CVERecord?id=CVE-2025-46688