CVE-2026-120439
JSON

8.3high

QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort

Severity
8.3high CVSS:4.0 by VulnCheck
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
quickjs-ng QuickJS-NGbefore 0.16.0CVE List

All scores

VulnCheck8.3high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
VulnCheck7.0high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120439 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-120439 changed 2026-11-06Public domain