# CVE-2026-115922: ONNX: Denial of service via unchecked expansion of packed sub-byte tensors in ONNX Python APIs

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-26T17:31:03.716Z
- Modified: 2026-10-30T18:17:23.540Z
- Also known as: GHSA-q69g-f4f5-v8m7
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- onnx onnx: < 1.22.0
- onnx (PyPI): before 1.22.0

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/onnx/onnx/security/advisories/GHSA-q69g-f4f5-v8m7> (web)
- <https://github.com/onnx/onnx/pull/8033> (web)
- <https://github.com/onnx/onnx/pull/8038> (web)
- <https://github.com/onnx/onnx/pull/8066> (web)
- <https://github.com/onnx/onnx/commit/05c1bc3bceceb8d3cf11e9e7fc7f19f971c44988> (web)
- <https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df> (web)
- <https://github.com/onnx/onnx/commit/dce5876d6cc6cc30157af7d26a752ef44976da8e> (web)
- <https://github.com/onnx/onnx/releases/tag/v1.22.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-115922> (advisory)
- <https://github.com/onnx/onnx> (package)

## Sources

- CVE List: [CVE-2026-115922](https://www.cve.org/CVERecord?id=CVE-2026-115922), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-q69g-f4f5-v8m7](https://github.com/advisories/GHSA-q69g-f4f5-v8m7), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-115922](https://nvd.nist.gov/vuln/detail/CVE-2026-115922), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-115922 · Whole record: https://cve.day/CVE-2026-115922.json · Rebuilt by cve.day 2026-11-25T22:59:47.175Z
