UBUNTU-CVE-2026-120439

Source
https://ubuntu.com/security/CVE-2026-120439
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120439.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-120439
Upstream
Published
2026-11-03T00:00:00Z
Modified
2026-11-04T03:30:39Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
  • 8.3 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:26.10 / quickjs-ng

Package

Name
quickjs-ng
Purl
pkg:deb/ubuntu/quickjs-ng?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.15.0-1
0.15.1-1
0.16.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libqjs0",
            "binary_version": "0.16.2-2"
        },
        {
            "binary_name": "qjs",
            "binary_version": "0.16.2-2"
        },
        {
            "binary_name": "qjs-src",
            "binary_version": "0.16.2-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120439.json"