{"id":"CVE-2026-115922","published":"2026-10-26T17:31:03Z","modified":"2026-10-30T17:40:32Z","title":"ONNX: Denial of service via unchecked expansion of packed sub-byte tensors in ONNX Python APIs","vendor":"onnx","product":"onnx","tier":"tail","description":{"text":"Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to 1.22.0, _unpack_2bit() and _unpack_4bit() resize unpacked arrays according to attacker-controlled TensorProto.dims without verifying that raw_data or int32_data encodes the declared number of elements. Materializing an untrusted UINT2, INT2, UINT4, INT4, or FLOAT4E2M1 tensor through onnx.numpy_helper.to_array() or onnx.reference.ReferenceEvaluator can therefore expand a small packed payload into a disproportionately large allocation and exhaust memory. This issue is fixed in version 1.22.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00131,"percentile":0.02767,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/onnx/onnx/security/advisories/GHSA-q69g-f4f5-v8m7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/onnx/onnx/pull/8033","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/pull/8038","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/pull/8066","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/commit/05c1bc3bceceb8d3cf11e9e7fc7f19f971c44988","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/commit/dce5876d6cc6cc30157af7d26a752ef44976da8e","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/releases/tag/v1.22.0","tags":["x_refsource_MISC"]}],"priority":{"score":4.9,"factors":[{"name":"EPSS percentile","points":0.55},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"onnx","affectedVersions":[{"vendor":"onnx","product":"onnx","versions":["< 1.22.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-30T17:40:12.778537Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onnx","vulnerableRanges":["<1.22.0"],"patched":["1.22.0"],"from":["GHSA-q69g-f4f5-v8m7"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-110049","exploited":false,"provenance":"source"}}