ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)
CVE-2026-115919 · GHSA-48m4-24cq-37qf · published 2026-10-28
- Severity
- Medium
- CVSS score
- 6.2
- Chance of exploitation (EPSS)
- 0.18%
- Fixed in
- 1.22.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
An application that performs shape inference on an untrusted model can be terminated, causing denial of service. Exploitation does not require privileges or human interaction once the model is processed. No confidentiality or integrity impact was demonstrated.
Upgrade onnx to 1.22.0 or later.
Upgrade to ONNX 1.22.0 or later. The fix validates that the first input has rank three before accessing its dimensions. Fix: onnx/onnx#7879 Commit: 92e541266 The original malformed model was also re-tested against the published ONNX 1.23.2 wheel and correctly raises InferenceError.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| onnx | PyPI | <= 1.21.0 | 1.22.0 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- HighONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.onnx
- HighONNX: TOCTOU arbitrary file read/write in save_external_datonnx
- Highonnx Vulnerable to Path Traversal via Symlinkonnx
- HighONNX Untrusted Model Repository Warnings Suppressed by silent=True in onnx.hub.load() — Silent Supply-Chain Attackonnx
- HighOpen Neural Network Exchange (ONNX) Path Traversal Vulnerabilityonnx
- Highonnx allows Arbitrary File Overwrite in download_model_with_test_dataonnx
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.