CVE-2025-12745 Details
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.
A heap buffer overflow vulnerability has been identified in QuickJS versions prior to commit eb2c89087def1829ed99630cb14b549d7a98408c. The issue arises in the ArrayBuffer.prototype.slice() method, particularly with resizable ArrayBuffers. This vulnerability allows for a buffer over-read, where the program reads data beyond the allocated memory, potentially leading to information disclosure. The vulnerability is classified as a Time-of-Check-Time-of-Use (TOCTOU) condition, where the buffer's size is manipulated during the slicing operation, causing an out-of-bounds read of over 400 bytes.
Users are advised to update to the latest version of QuickJS, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bellard/quickjs/issues/451 | CISA-ADP | ExploitIssue Tracking |
| https://github.com/bellard/quickjs/issues/451#issue-3533698042 | CISA-ADP | ExploitIssue Tracking |
| https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558 | CISA-ADP | ExploitIssue Tracking |
| https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea | [email protected] | Patch |
| https://github.com/bellard/quickjs/issues/451 | [email protected] | ExploitIssue Tracking |
| https://github.com/bellard/quickjs/issues/451#issue-3533698042 | [email protected] | ExploitIssue Tracking |
| https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558 | [email protected] | ExploitIssue Tracking |
| https://vuldb.com/?ctiid.331268 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.331268 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.678850 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-126 | Buffer Over-read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bellard quickjs | < 2025-11-03 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jan 8, 2026 | Initial Analysis | [email protected] |
| Nov 5, 2025 | CVE Modified | CISA-ADP |
| Nov 5, 2025 | New CVE Received | [email protected] |