Heap buffer over-read via stale slice bounds
Published Nov 5, 2025 · Updated Nov 5, 2025
Buffer over-read in QuickJS through eb2c89087def1829ed99630cb14b549d7a98408c allows local users to read beyond an ArrayBuffer. In js_array_buffer_slice, a Symbol.species constructor can resize the source buffer after slice bounds are calculated, and the function copies the stale length without rechecking the reduced byte_length. Executing crafted JavaScript locally performs an out-of-bounds heap read; the demonstrated AddressSanitizer build aborts the interpreter.
Summary
What happened
Buffer over-read in QuickJS through eb2c89087def1829ed99630cb14b549d7a98408c allows local users to read beyond an ArrayBuffer. In js_array_buffer_slice, a Symbol.species constructor can resize the source buffer after slice bounds are calculated, and the function copies the stale length without rechecking the reduced byte_length. Executing crafted JavaScript locally performs an out-of-bounds heap read; the demonstrated AddressSanitizer build aborts the interpreter.
The record
- CVE
- CVE-2025-12745
- Published
- Nov 5, 2025
- Updated
- Nov 5, 2025
- Vendor
- Fabrice Bellard
- Product
- QuickJS
- Classifications
- CWE-125, CWE-119, CWE-126
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 5, 2025CVE publishedPublication date reported by the CVE source.
- Nov 5, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=eb2c89087def1829ed99630cb14b549d7a98408c
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- ArrayBuffer.prototype.slice heap-buffer-overflow reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo