CVE-2026-34445ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, the ExternalDataInfo class in ONNX was using Python’s setattr() function to load metadata (like file paths or data lengths) directly from an ONNX model file. It didn’t check if the "keys" in the file were valid. Due to this, an attacker could craft a malicious model that overwrites internal object properties. This issue has been patched in version 1.21.0.
What to do
Fixed builds are available from PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | onnx | Fix pending | UBUNTU-CVE-2026-34445 | |
| Ubuntu 26.04 | onnx | Fix pending | UBUNTU-CVE-2026-34445 | |
| Ubuntu 25.10 | onnx | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-34445 | |
| Ubuntu 24.04 | onnx | Fix pending | UBUNTU-CVE-2026-34445 | |
| Ubuntu 22.04 | onnx | Fix pending | UBUNTU-CVE-2026-34445 | |
| Debian 14 | onnx | Fix pending | DEBIAN-CVE-2026-34445 | |
| Debian 13 | onnx | Fix pending | DEBIAN-CVE-2026-34445 | |
| Debian 12 | onnx | Fix pending | DEBIAN-CVE-2026-34445 | |
| PyPI library | onnx | Fixed | 1.21.0 | PYSEC-2026-2240 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- onnx: affected: < 1.21.0
References
- https://github.com/onnx/onnx/security/advisories/GHSA-538c-55jv-c5g9
- https://github.com/onnx/onnx/pull/7751
- https://github.com/onnx/onnx/commit/e30c6935d67cc3eca2fa284e37248e7c0036c46b
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.