CVE-2026-120439Quickjs NG QuickJS-NG integer overflow
CVSS score
8.3
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.34%
0.34% chance of exploitation in the next 30 days, higher than 28.4% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
QuickJS-NG before 0.16.0 contains an integer overflow in js_typed_array_sort() in quickjs.c that allows attackers to cause a heap buffer overflow on 32-bit hosts. Attackers who can run JavaScript can call TypedArray.prototype.sort with a comparator on a typed array near 2^30 elements, wrapping the allocation size and writing indices past the buffer to crash or potentially execute code.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running QuickJS-NG and compare its version with the affected versions.
Update to a fixed version
- Update QuickJS-NG to 0.16.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| quickjs-ng QuickJS-NG | < 0.16.0 |
Weakness
- CWE-190 integer overflow
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-120439 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-120439?
CVE-2026-120439 has a CVSS 4.0 base score of 8.3 (high).
Which versions are affected?
Quickjs NG QuickJS-NG (< 0.16.0)
Is there a patch for CVE-2026-120439?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L60032
- github.com/quickjs-ng/quickjs/commit/e93cca611908e12b824ec85fbee6b31a5ee61568
- github.com/quickjs-ng/quickjs/releases/tag/v0.16.0
- github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6
- www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-typedarray-prototype-sort
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.