QuickJS-NG before 0.16.0 Memory Leak via Atomics.store

State
Published
Severity
6.9 Medium
Published
Nov 2, 2026
Updated
Nov 2, 2026
Reserved
Nov 2, 2026

Read the record on cve.org

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.

ProductVersions
QuickJS-NG quickjs-ngbefore 0.16.0 Affected

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.