Resource exhaustion in Bellard Quickjs
CVE-2025-46687
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.6 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 23.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Bellard Quickjs
- Quickjs-Ng Quickjs
- Quickjs Project — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/quickjs-ng/quickjs/issues/1018 (Exploit, Issue Tracking, Vendor Advisory)
- github.com/quickjs-ng/quickjs/pull/1020 (Patch, Issue Tracking)
- github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a (Patch)
- github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465 (Patch)
- github.com/bellard/quickjs/issues/399 (Exploit, Issue Tracking, Vendor Advisory)
- bellard.org/quickjs/Changelog (Release Notes)