Vulnerability · Published Nov 5, 2025 · Assigned by VulDB
CVE-2025-12745QuickJS quickjs.c js_array_buffer_slice buffer over-read
Medium 5.3
In plain English
A medium-severity memory corruption in QuickJS. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | quickjs | no fix listed | DEBIAN-CVE-2025-12745 |
| Debian:14 | quickjs | no fix listed | DEBIAN-CVE-2025-12745 |
| Ubuntu:25.10 | quickjs | no fix listed | UBUNTU-CVE-2025-12745 |
| Ubuntu:26.04:LTS | quickjs | no fix listed | UBUNTU-CVE-2025-12745 |
| Ubuntu:26.10 | quickjs | no fix listed | UBUNTU-CVE-2025-12745 |
Affected products (as reported)
Weakness: CWE-126, CWE-119 · Vector: 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
References
- VDB-331268 | QuickJS quickjs.c js_array_buffer_slice buffer over-read vdb-entry, technical-description
- VDB-331268 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #678850 | Fabrice Bellard QuickJS Latest commit eb2c890 (and earlier versions) Memory Corruption third-party-advisory
- https://github.com/bellard/quickjs/issues/451 issue-tracking
- https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558 issue-tracking
- https://github.com/bellard/quickjs/issues/451#issue-3533698042 exploit, issue-tracking
- https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea patch