{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"quickjs-ng/quickjs","product":"QuickJS-NG","source":"CNA: VulnCheck","vendor":"quickjs-ng","versions":[{"lessThan":"0.16.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-120440","cwes":["CWE-401"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.9,"severity":"medium","source":"CNA: VulnCheck","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","version":"4.0"},{"score":5.3,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}],"modifiedAt":1793629742038,"publishedAt":1793629742038,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-wm7w-r6qf-3c9w"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/quickjs-ng/quickjs/commit/62951e1bc68711d37aad986ff84ef0fe17038a7e"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L61154"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-memory-leak-via-atomics-store"}],"remediation":[],"revision":"f1d1e4965219f2389e929eec6f2869a74df506582fffe4ee20be5c516c3b5ef8","sources":[{"modifiedAt":1793629742038,"name":"CNA: VulnCheck","retrievedAt":1793632126123,"url":"https://www.cve.org/CVERecord?id=CVE-2026-120440"}],"ssvc":null,"status":"published","title":"QuickJS-NG before 0.16.0 Memory Leak via Atomics.store","updatedAt":1793632126123}