ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings. (onnx onnx)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.29 % · percentile 22 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
Description
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.
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
- CWE-400 — Uncontrolled Resource Consumption
- CWE-915 — Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H | GitHub_M |
| CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-538c-55jv-c5g9 — ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.
- PYSEC-2026-2240 — 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 u
European references
- ENISA EUVD · EUVD-2026-17985
- GCVE · GCVE-0-2026-34445
CERT-FR advisories
- CERTFR-2026-AVI-0463 — Multiples vulnérabilités dans les produits Microsoft · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*< 1.21.0
Affected products
| Product | Versions |
|---|---|
| onnx · onnx | affected < 1.21.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |