OSV-2025-959 Heap-buffer-overflow in re_parse_term

Not scored Published

A heap-buffer-overflow in the regular expression parser allows attackers to cause crashes or potentially execute arbitrary code via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2025-959?

OSV-2025-959 is a memory corruption vulnerability in quickjs, published on 29 Nov 2025.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=464349132

Crash type: Heap-buffer-overflow READ 2
Crash state:
re_parse_term
re_parse_disjunction
re_parse_term

Which versions are affected by OSV-2025-959?

1 open source package ship an affected version, including quickjs.

PackageAffectedFixed in
quickjs OSS-FuzzAll versionsNone

How do I fix OSV-2025-959?

No fix has been published for OSV-2025-959 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 OSV-2025-959 being exploited?

There is no known exploitation of OSV-2025-959 in the wild and no public exploit code.

Sources

Is OSV-2025-959 in your software?

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

Check your SBOMs for free