Denial of service in ONNX Python APIs via packed tensor expansion
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-789.
Summary
ONNX versions before 1.22.0 are affected. The helpers that unpack sub-byte tensors resize output arrays from attacker-controlled dimensions without checking that the packed data contains that many elements (CWE-789). An attacker with local access who supplies an untrusted UINT2, INT2, UINT4, INT4, or FLOAT4E2M1 tensor can make onnx.numpy_helper.to_array() or onnx.reference.ReferenceEvaluator allocate a disproportionately large array and exhaust memory.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| onnx | onnx | before 1.22.0 | 1.22.0 | Patch available | CNA |
| — | onnx (PyPI) | before 1.22.0 | 1.22.0 | Patch available | GHSA-q69g-f4f5-v8m7 |
- onnx Vendoronnx Affected before 1.22.0 Fixed in 1.22.0 Patch available CNA
- onnx (PyPI) Vendor— Affected before 1.22.0 Fixed in 1.22.0 Patch available GHSA-q69g-f4f5-v8m7
Remediation
Upgrade the onnx PyPI package to version 1.22.0. Red Hat OpenShift AI (RHOAI) is affected, and Red Hat lists its plan as none available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA onnx (onnx) Fixed in 1.22.0
- Fix · GHSA-q69g-f4f5-v8m7 onnx (PyPI) Fixed in 1.22.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-26 Threatist record created from CVE-2026-115922
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-27 CVSS score added · Red Hat
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-10-28 Alias added: GHSA-q69g-f4f5-v8m7
- 2026-10-28 Fix available: PyPI/[email protected] · GHSA-q69g-f4f5-v8m7
- 2026-10-28 CVSS score added · GHSA-q69g-f4f5-v8m7
- 2026-10-28 Weakness changed · GHSA-q69g-f4f5-v8m7
- 2026-10-28 10 new references · GHSA-q69g-f4f5-v8m7
- 2026-10-30 CISA SSVC decision points changed
References
Other 9
- https://github.com/onnx/onnx/security/advisories/GHSA-q69g-f4f5-v8m7
- https://github.com/onnx/onnx/pull/8033
- https://github.com/onnx/onnx/pull/8038
- https://github.com/onnx/onnx/pull/8066
- https://github.com/onnx/onnx/commit/05c1bc3bceceb8d3cf11e9e7fc7f19f971c44988
- https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df
- https://github.com/onnx/onnx/commit/dce5876d6cc6cc30157af7d26a752ef44976da8e
- https://github.com/onnx/onnx/releases/tag/v1.22.0
- https://github.com/onnx/onnx
More onnx vulnerabilities
- TI-2026-22763 ONNX Untrusted Model Repository Warnings Suppressed by silent=True in onnx.hub.load() — Silent Supply-Chain Attack CVSS 3.1CRITICAL 9.1
- TI-2026-21896 ONNX: Path Traversal via Symlink CVSS 4.0HIGH 8.7
- TI-2024-07209 Arbitrary File Overwrite in onnx/onnx CVSS 3.1CRITICAL 9.1
- TI-2024-04814 Arbitrary File Overwrite in download_model_with_test_data in onnx/onnx CVSS 3.1HIGH 8.8
- TI-2026-36338 ONNX symlink-following and path-traversal arbitrary file write CVSS 4.0MEDIUM 6.8
- TI-2026-32442 ONNX: Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs) CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-115922 · CVE Program
- CVE-2026-115922 · NVD
- FIRST EPSS
- GHSA-q69g-f4f5-v8m7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-115922 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences