CVE-2026-120440

QuickJS-NG before 0.16.0 Memory Leak via Atomics.store

Medium published · updated

6.9
CVSS score out of 10 · NVD (vulncheck.com)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
quickjs-ng quickjs-ng 0 → <0.16.00.16.0 CVE.org

References