CVE-2026-120440 QuickJS-NG before 0.16.0 Memory Leak via Atomics.store

Medium 6.9 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120440?

CVE-2026-120440 is a medium-severity vulnerability in QuickJS-NG, published on 2 Nov 2026.

Official 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.

Weakness: CWE-401

Which versions are affected by CVE-2026-120440?

How do I fix CVE-2026-120440?

Upgrade to a fixed version.

Is CVE-2026-120440 being exploited?

There is no known exploitation of CVE-2026-120440 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-120440, GHSA-48fx-7fjq-qgg4, GHSA-wm7w-r6qf-3c9w, UBUNTU-CVE-2026-120440.

Is CVE-2026-120440 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free