CVE-2026-120440
QuickJS-NG before 0.16.0 contains a memory leak vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L61154
- github.com/quickjs-ng/quickjs/commit/62951e1bc68711d37aad986ff84ef0fe17038a7e
- github.com/quickjs-ng/quickjs/releases/tag/v0.16.0
- github.com/quickjs-ng/quickjs/security/advisories/GHSA-wm7w-r6qf-3c9w
- www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-memory-leak-via-atomics-store
- nvd.nist.gov/vuln/detail/CVE-2026-120440
- cve.org/CVERecord?id=CVE-2026-120440
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.