onnx: known vulnerabilities and the safe version
The version to be on
Version 1.22.0 or later fixes every vulnerability on this page that has a recorded fix.
Upgrade onnx with pip
pip install --upgrade "onnx>=1.22.0"
pip show onnx | grep VersionPin it in requirements.txt
onnx>=1.22.0Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.
Watch onnx
Get an email only when onnx has a new vulnerability record. Unsubscribe with one click.
Badge for your README
Shows the number of known critical and high vulnerabilities in onnx and the version that fixes them. It updates by itself.
Markdown
[](https://securityelites.com/ai-vulnerabilities/package/onnx/)All records
- ONNX: Out-of-bounds read in ConvTranspose shape inference via undersized weight rankMedium · CVE-2026-115920 · fixed in 1.22.0 · 29 Oct 2026
- ONNX: Denial of service via unchecked expansion of packed sub-byte tensors in ONNX Python APIsMedium · CVE-2026-115922 · fixed in 1.22.0 · 29 Oct 2026
- ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required AttributeMedium · CVE-2026-115921 · fixed in 1.22.0 · 29 Oct 2026
- ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)Medium · CVE-2026-115919 · fixed in 1.22.0 · 29 Oct 2026
- ONNX: Heap-Buffer-Overflow READ in Gemm Version Converter Adapter via Undersized Input ShapeUnknown · CVE-2026-63632 · fixed in 1.22.0 · 24 Jul 2026
- ONNX has Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)Unknown · CVE-2026-44512 · fixed in 1.22.0 · 7 Jul 2026
- ONNX: TOCTOU arbitrary file read/write in save_external_datUnknown · CVE-2026-49114 · fixed in 1.21.0 · 2 Apr 2026
- ONNX: External Data Symlink TraversalUnknown · CVE-2026-34447 · fixed in 1.21.0 · 2 Apr 2026
- ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX loadUnknown · CVE-2026-34446 · fixed in 1.21.0 · 2 Apr 2026
- ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.Unknown · CVE-2026-34445 · fixed in 1.21.0 · 2 Apr 2026
- onnx Vulnerable to Path Traversal via SymlinkUnknown · CVE-2026-27489 · fixed in 1.21.0 · 1 Apr 2026
- ONNX Untrusted Model Repository Warnings Suppressed by silent=True in onnx.hub.load() — Silent Supply-Chain…Unknown · CVE-2026-28500 · fixed in 1.21.0rc1 · 16 Mar 2026
- Open Neural Network Exchange (ONNX) Path Traversal VulnerabilityUnknown · CVE-2024-7776 · fixed in 1.16.2 · 20 Mar 2025
- onnx allows Arbitrary File Overwrite in download_model_with_test_dataUnknown · CVE-2024-5187 · no fix recorded · 7 Jun 2024
- Onnx Directory Traversal vulnerabilityUnknown · CVE-2024-27318 · fixed in 1.16.0 · 24 Feb 2024
- Onnx Out-of-bounds Read vulnerabilityUnknown · CVE-2024-27319 · fixed in 1.16.0 · 24 Feb 2024
- Directory Traversal in onnxUnknown · CVE-2022-25882 · fixed in 1.13.0 · 27 Jan 2023