Every CVE Search/ Get API key

CVE-2025-46687

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a...

5.6 MediumFix available

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, 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

0.30%Up 0.3 points since Apr 28, 2025
90%50%10%1%

What each source reports

CVE List Score used 5.6

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Record
CVE-2025-46687
CVSS 3.1
5.6 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
Weakness
CWE-770
Updated
2026-11-02
EUVDEUVD-2025-12428 5.6

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Record
EUVD-2025-12428
CVSS 3.1
5.6 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-hrc5-3jpv-g9x2 5.6

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a...

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Record
GHSA-hrc5-3jpv-g9x2
CVSS 3.1
5.6 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
Weakness
CWE-770
Updated
2026-11-02
NVD 5.6

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Record
CVE-2025-46687
CVSS 3.1
5.6 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-770
Updated
2026-11-02
OSVALPINE-CVE-2025-46687 7.8

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Record
ALPINE-CVE-2025-46687
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 5.6

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Record
CVE-2025-46687
CVSS 3.1
5.6 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
Weakness
CWE-770
Updated
2026-11-02
OSVDEBIAN-CVE-2025-46687 7.8

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Record
DEBIAN-CVE-2025-46687
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-46687 5.6

quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

Record
UBUNTU-CVE-2025-46687
CVSS 3.1
5.6 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
quickjs-ng
Alpine:v3.23
before 0.10.0-r0
0.10.0-r0
quickjs-ng
Alpine:v3.24
before 0.10.0-r0
0.10.0-r0
quickjs
Debian:13
before 2025.04.26-1
2025.04.26-1
quickjs
Debian:14
before 2025.04.26-1
2025.04.26-1
quickjs
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
2021.03.27-12021.03.27-1ubuntu0.1~esm1
None known
quickjs
Ubuntu:25.10
All versions, plus listed versions
2024.01.13-52025.04.26-1
None known
quickjs
Ubuntu:26.10
All versions, plus listed versions
2025.04.26-1build1
None known
quickjs
Ubuntu:26.04:LTS
All versions, plus listed versions
2025.04.26-12025.04.26-1build1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-46687 is a medium vulnerability (CVSS 5.6) in Bellard Quickjs, published April 27, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 23rd percentile. Fixed in quickjs-ng 0.10.0-r0.

References

Show 7 moreShow less
MoveEnter Open