OSV-2025-321 Use-of-uninitialized-value in JS_DefineProperty

Not scored Published

An attacker can trigger a crash in the JavaScript engine via an uninitialized value in JS_DefineProperty, causing denial of service.

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-321?

OSV-2025-321 is a vulnerability in quickjs, published on 4 May 2025.

Official description

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

Crash type: Use-of-uninitialized-value
Crash state:
JS_DefineProperty
build_backtrace
JS_CallInternal

Which versions are affected by OSV-2025-321?

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

PackageAffectedFixed in
quickjs OSS-FuzzAll versionsNone

How do I fix OSV-2025-321?

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

Is OSV-2025-321 being exploited?

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

Sources

Is OSV-2025-321 in your software?

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

Check your SBOMs for free