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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-401 — Missing Release of Memory after Effective Lifetime
Affected products
| Vendor | Product | Versions |
|---|---|---|
| quickjs-ng | QuickJS-NG | 0 to <0.16.0 [affected] |
References
- https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-wm7w-r6qf-3c9w (vendor-advisory)
- https://github.com/quickjs-ng/quickjs/commit/62951e1bc68711d37aad986ff84ef0fe17038a7e (patch)
- https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0 (release-notes)
- https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L61154 (technical-description)
- https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-memory-leak-via-atomics-store (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 03 Nov 2026 08:01 UTC.