CVE-2025-12745
QuickJS quickjs.c js_array_buffer_slice buffer over-read
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 5, 2025
- Updated
- Nov 5, 2025
- Reserved
- Nov 5, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
QuickJSn/a |
|
References
- VDB-331268 | QuickJS quickjs.c js_array_buffer_slice buffer over-readvdb-entrytechnical-description
- VDB-331268 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #678850 | Fabrice Bellard QuickJS Latest commit eb2c890 (and earlier versions) Memory Corruptionthird-party-advisory
- https://github.com/bellard/quickjs/issues/451issue-tracking
- https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558issue-tracking
- https://github.com/bellard/quickjs/issues/451#issue-3533698042exploitissue-tracking
- https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449feapatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.