CVE Catalog

CVE-2026-120440

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Summary

QuickJS-NG before 0.16.0 contains a memory leak vulnerability in js_atomics_store() in quickjs.c that fails to free the converted value when returning a RangeError. Attackers running JavaScript can repeatedly call Atomics.store with a valueOf that detaches or shrinks the buffer to exhaust heap memory and cause denial of service.

Risk Assessment

Repeated calls can exhaust process memory and lead to a crash or unavailability of the service running JavaScript.

Recommendation

Update QuickJS-NG to 0.16.0 or later and consider memory limits for environments executing untrusted JavaScript.

Other vulnerabilities in QuickJS-NG

See all
Original NVD description (English source)

QuickJS-NG before 0.16.0 contains a memory leak vulnerability in js_atomics_store() in quickjs.c that fails to free the converted value when returning a RangeError. Attackers running JavaScript can repeatedly call Atomics.store with a valueOf that detaches or shrinks the buffer to exhaust heap memory and cause denial of service.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS