What’s Vulnerable › Vulnerabilities
CVE-2025-12745: QuickJS quickjs.c js_array_buffer_slice buffer over-read
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-11-05 · updated 2026-10-19
- Weakness: CWE-119
Description
A weakness has been identified in QuickJS up to eb2c89087def1829ed99630cb14b549d7a98408c. This affects the function js_array_buffer_slice of the file quickjs.c. This manipulation causes buffer over-read. The attack is restricted to local execution. The exploit has been made available to the public and could be exploited. This product adopts a rolling release strategy to maintain continuous delivery Patch name: c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea. To fix this issue, it is recommended to deploy a patch.
Affected products
- QuickJS: before 2025-11-03 — fixed in 2025-11-03
How to fix
Upgrade to a fixed version: QuickJS 2025-11-03. Check the vendor advisory for mitigations.
References
- https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea
- https://github.com/bellard/quickjs/issues/451
- https://github.com/bellard/quickjs/issues/451#issue-3533698042
- https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558
- https://vuldb.com/?ctiid.331268
- https://vuldb.com/?id.331268
- https://vuldb.com/?submit.678850
- https://github.com/bellard/quickjs/issues/451
- https://github.com/bellard/quickjs/issues/451#issue-3533698042
- https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558
Get alerted when CVE-2025-12745 or the next vulnerability affects your stack