UBUNTU-CVE-2026-120440

Source
https://ubuntu.com/security/CVE-2026-120440
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120440.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-120440
Upstream
Published
2026-11-03T00:00:00Z
Modified
2026-11-04T03:30:38Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

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-120440.json"