Resource allocation without limits in QuickJS
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| QuickJS | QuickJS | before 2025-04-26 | 2025-04-26 | Patch available | CNA |
- QuickJS VendorQuickJS Affected before 2025-04-26 Fixed in 2025-04-26 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bellard:quickjs:*:*:*:*:*:*:*:* | before 2025-04-26 | Vulnerable | Bellard |
| cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:* | up to 0.9.0 | Vulnerable | quickjs-ng |
- cpe:2.3:a:bellard:quickjs:*:*:*:*:*:*:*:* Versions before 2025-04-26 Vulnerable ·Bellard
- cpe:2.3:a:quickjs-ng:quickjs:*:*:*:*:*:*:*:* Versions up to 0.9.0 Vulnerable ·quickjs-ng
Remediation
- Fix · CNA QuickJS (QuickJS Project) Fixed in 2025-04-26
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
QuickJS 2025-04-26
2 records Highest priority Priority HIGH 2 HIGH
Other records, highest priority first
- TI-2025-29366 quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt…Priority HIGH 70
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46687
- 2026-10-03 Alias added: GHSA-hrc5-3jpv-g9x2
References
Exploit 2
Patch 3
More QuickJS vulnerabilities
- TI-2025-38733 Use-after-free in js_std_promise_rejection_check in QuickJS CVSS 4.0HIGH 8.8
- TI-2025-42911 A crafted JavaScript input executed with the QuickJS release 2025-09-13, fixed in commit… CVSS 3.1HIGH 7.5
- TI-2025-29366 quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt… CVSS 3.1HIGH 8.4
- TI-2025-38738 Integer overflow in js_bigint_from_string in QuickJS CVSS 4.0HIGH 7.1
- TI-2025-38737 Type confusion in string addition in QuickJS CVSS 4.0HIGH 7.1
- TI-2025-38736 Type confusion in string addition in QuickJS CVSS 4.0HIGH 7.1
Sources
- CVE-2025-46687 · CVE Program
- CVE-2025-46687 · NVD
- FIRST EPSS
- GHSA-hrc5-3jpv-g9x2 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-46687 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences