CVE-2025-12745 QuickJS quickjs.c js_array_buffer_slice buffer over-read

Medium 4.8 Published Updated

A buffer over-read in QuickJS allows local attackers to cause denial of service or disclose sensitive memory contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-12745?

CVE-2025-12745 is a medium-severity memory corruption vulnerability in QuickJS, published on 5 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-125, CWE-126, CWE-119

Which versions are affected by CVE-2025-12745?

It affects 1 product.

Products include Bellard Quickjs.

How do I fix CVE-2025-12745?

No fix has been published for CVE-2025-12745 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-12745 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12745 exists.

Sources

Also known as DEBIAN-CVE-2025-12745, GHSA-rw7h-fw9j-wrgx, UBUNTU-CVE-2025-12745.

Is CVE-2025-12745 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free