CVE-2026-120440
published medium CVSS 4.0 · 6.9QuickJS-NG before 0.16.0 Memory Leak via Atomics.store
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| quickjs-ng | — | QuickJS-NG0 to < 0.16.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| quickjs-ng | QuickJS-NG | 0 to < 0.16.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-401 Missing Release of Memory after Effective Lifetime
References
5- https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L61154
- https://github.com/quickjs-ng/quickjs/commit/62951e1bc68711d37aad986ff84ef0fe17038a7e
- QuickJS-NG v0.16.0 Release Notes https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0
- GitHub Security Advisory (GHSA-wm7w-r6qf-3c9w) https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-wm7w-r6qf-3c9w
- VulnCheck Advisory: QuickJS-NG before 0.16.0 Memory Leak via Atomics.store https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-memory-leak-via-atomics-store
Provider assertions
2VulnCheck · cna
QuickJS-NG before 0.16.0 Memory Leak via Atomics.store
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a75b0ed1e81368ef97b4d14cf1d815d380b5d3527e3263e507d8534b73f3825b
- Ingested
- 02 Nov 2026, 17:40:06 UTC
- Source record
- Official CVE record