Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
quickjs-ng QuickJS-NG
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

QuickJS-NG 0.16.0 之前的版本在 quickjs.c 文件的 js_atomics_store() 函数中存在内存泄漏漏洞:当函数返回 RangeError 时,未能释放已转换的值。攻击者可通过 JavaScript 反复调用 Atomics.store,并传入一个会分离或缩小缓冲区的 valueOf 值,从而耗尽堆内存,导致拒绝服务(DoS)。

CVSS 5.3 · Medium

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 1

VendorProduct Version RangeStatus
quickjs-ng QuickJS-NG < 0.16.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-120440

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
QuickJS-NG before 0.16.0 Memory Leak via Atomics.store
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
在移除最后引用时对内存的释放不恰当(内存泄露)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
quickjs-ng QuickJS-NG 0 ~ 0.16.0 -

II. Public POCs for CVE-2026-120440

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-120440

请登录查看更多情报信息。

Other References for CVE-2026-120440 (5)

Same Patch Batch · quickjs-ng · 2026-11-02 · 3 CVEs total

CVE-2026-120438 7.8 HIGH QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration
CVE-2026-120439 7.0 HIGH QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort

IV. Related Vulnerabilities