ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute
CVE-2026-115921 · GHSA-m4pr-6v3c-6fgr · published 2026-10-28
- Severity
- Medium
- CVSS score
- 6.2
- Chance of exploitation (EPSS)
- 0.13%
- 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 or forced into an exceptional allocation path, causing denial of service. No confidentiality or integrity impact was demonstrated.
Upgrade onnx to 1.22.0 or later.
Upgrade to ONNX 1.22.0 or later. Fix: onnx/onnx#7916 Commit: dd6bc92ea Both reported models were re-tested against the published ONNX 1.23.2 wheel and correctly raise InferenceError.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| onnx | PyPI | >= 1.4.0, <= 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.