{
  "id": "CVE-2026-120439",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-120439",
  "published_at": "2026-11-02T14:29:01.345Z",
  "title": "QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort",
  "vendor": "quickjs-ng",
  "product": "QuickJS-NG",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-190",
  "cvss_by_source": {
    "cna": 8.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "quickjs-ng",
        "product": "QuickJS-NG",
        "ranges": [
          "\u003c 0.16.0"
        ],
        "fixed_in": [
          "0.16.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade QuickJS-NG to 0.16.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/quickjs-ng/quickjs/commit/e93cca611908e12b824ec85fbee6b31a5ee61568"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
