Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-120440 EUVD-2026-115200GHSA-48fx-7fjq-qgg4

QuickJS-NG before 0.16.0 Memory Leak via Atomics.store

Published Nov 2, 2026 · Updated Nov 2, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
quickjs-ng QuickJS-NG < 0.16.0 0.16.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 quickjs-ng 0.16.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 quickjs-ng No fix yet —

References