Vulnerability record · CVE-2025-46687 · published 27 April 2025
CVE-2025-46687: Bellard quickjs allocation without limits vulnerability
Bellard · Quickjs
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.
Description
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bellard.org/quickjs/Changelog | Release Notes |
| https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9a | Patch |
| https://github.com/bellard/quickjs/issues/399 | ExploitIssue TrackingVendor Advisory |
| https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465 | Patch |
| https://github.com/quickjs-ng/quickjs/issues/1018 | ExploitIssue TrackingVendor Advisory |
| https://github.com/quickjs-ng/quickjs/pull/1020 | Issue TrackingPatch |
Track CVE-2025-46687 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-46687), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.