CVE-2026-120440 QuickJS-NG before 0.16.0 Memory Leak via Atomics.store
MediumCVSS 6.9
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
3 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/quickjs-ng(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/quickjs-ng(Debian 14) | < 0.16.2-1; = 0.13.0-1; = 0.13.0-2; = 0.13.0-3 +8 more | 0.16.2-1 | Fixed |
| quickjs-ng quickjs | < 0.16.0 | 0.16.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| quickjs-ng quickjs | < 0.16.0 | 0.16.0 |
| debian/quickjs-ng(Debian:14) | < 0.16.2-1 | 0.16.2-1 |
| debian/quickjs-ng(Debian:14) | = 0.13.0-1 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.13.0-2 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.13.0-3 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.14.0-1 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.14.0-2 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.14.0-2~bpo13+1 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.14.0-2~bpo13+2 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.15.0-1 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.15.0-1~bpo13+1 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.15.1-1 | No fix listed |
| debian/quickjs-ng(Debian:14) | = 0.15.1-1~bpo13+1 | No fix listed |
| ubuntu/quickjs-ng(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2565315 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com technical-description
- github.com patch
- QuickJS-NG v0.16.0 Release Notes release-notes
- GitHub Security Advisory (GHSA-wm7w-r6qf-3c9w) vendor-advisory
- VulnCheck Advisory: QuickJS-NG before 0.16.0 Memory Leak via Atomics.store third-party-advisory
- Debian Security Tracker CVE-2026-120440 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-115200 third-party-advisory