CVE-2026-120440
QuickJS-NG before 0.16.0 Memory Leak via Atomics.store
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-401 |
| Vendor | quickjs-ng |
| Product | quickjs-ng |
| Published | Nov 2, 2026 |
Stay Ahead of the Next One
Get instant alerts for quickjs-ng quickjs-ng
Be the first to know when new medium vulnerabilities affecting quickjs-ng quickjs-ng are published — delivered to Slack, Telegram or Discord.
Get Free Alerts →
Free · No credit card · 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Affected Versions
quickjs-ng / QuickJS-NG
0 < 0.16.0
References
github.com: https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-wm7w-r6qf-3c9w github.com: https://github.com/quickjs-ng/quickjs/commit/62951e1bc68711d37aad986ff84ef0fe17038a7e github.com: https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0 github.com: https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L61154 vulncheck.com: https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-memory-leak-via-atomics-store
Credits
Tristan Madani (Talence Security) Saúl Ibarra Corretgé