Read the docs

Denial of service in ONNX Python APIs via packed tensor expansion

Priority LOW 27CWE-789Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00131 2nd percentileScored 2026-11-07
Fix Partial onnx (onnx): 1.22.0onnx (PyPI): 1.22.0Red Hat: 1 without a fix

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

VendorProductAffected versionsFixed inStatusSource
onnxonnxbefore 1.22.01.22.0Patch availableCNA
—onnx (PyPI)before 1.22.01.22.0Patch availableGHSA-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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*——backstage
  • cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:* Versions — — ·backstage

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 →

ProductStatusPlan or fix
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-26 Threatist record created from CVE-2026-115922
  2. 2026-10-27 Affected versions changed · Red Hat
  3. 2026-10-27 CVSS score added · Red Hat
  4. 2026-10-27 Priority changed: MEDIUM → LOW
  5. 2026-10-28 Alias added: GHSA-q69g-f4f5-v8m7
  6. 2026-10-28 Fix available: PyPI/[email protected] · GHSA-q69g-f4f5-v8m7
  7. 2026-10-28 CVSS score added · GHSA-q69g-f4f5-v8m7
  8. 2026-10-28 Weakness changed · GHSA-q69g-f4f5-v8m7
  9. 2026-10-28 10 new references · GHSA-q69g-f4f5-v8m7
  10. 2026-10-30 CISA SSVC decision points changed

References

  • 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
See all 16 →

Sources