Buffer overflow in Bellard Quickjs
CVE-2025-12745
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.002, 12.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Bellard Quickjs
- Quickjs — versions eb2c89087def1829ed99630cb14b549d7a98408c
Weakness classification (CWE)
References
- VDB-331268 | QuickJS quickjs.c js_array_buffer_slice buffer over-read (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-331268 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #678850 | Fabrice Bellard QuickJS Latest commit eb2c890 (and earlier versions) Memory Corruption (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/bellard/quickjs/issues/451 (issue-tracking, Exploit, Issue Tracking)
- github.com/bellard/quickjs/issues/451 (issue-tracking, Exploit, Issue Tracking)
- github.com/bellard/quickjs/issues/451 (issue-tracking, Exploit, exploit, Issue Tracking)
- github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea (Patch, patch)