CVE-2025-12745: QuickJS · Buffer Over-read
Affects QuickJSSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
1. Apply the official patch identified by commit c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea immediately to all affected QuickJS instances. 2. Restrict local access to systems running QuickJS to trusted users only, employing strict access controls and monitoring. 3. Employ memory protection mechanisms such as Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP) to reduce exploitation likelihood. 4. Conduct regular code audits and fuzz testing on QuickJS integrations to detect similar memory safety issues proactively. 5. For embedded or IoT devices using QuickJS, ensure secure firmware update mechanisms to deploy patches efficiently. 6. Monitor local system logs and behavior for unusual activity that could indicate exploitation attempts. 7. Educate developers and system administrators about the risks of local vulnerabilities and the importance of patch management. 8. Consider sandboxing or isolating QuickJS execution environments to limit potential damage from local exploits.
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.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/bellard/quickjs/issues/451 (opens in a new tab)
- github.com/bellard/quickjs/issues/451 (opens in a new tab)
- github.com/bellard/quickjs/issues/451 (opens in a new tab)
- github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea (opens in a new tab)