{"id":"CVE-2026-34445","published":"2026-04-01T17:30:19Z","modified":"2026-04-01T18:00:14Z","title":"ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.","vendor":"onnx","product":"onnx","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00298,"percentile":0.23066,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/onnx/onnx/security/advisories/GHSA-538c-55jv-c5g9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/onnx/onnx/pull/7751","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/commit/e30c6935d67cc3eca2fa284e37248e7c0036c46b","tags":["x_refsource_MISC"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":4.61},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"onnx","affectedVersions":[{"vendor":"onnx","product":"onnx","versions":["< 1.21.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-01T17:59:29.944812Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onnx","vulnerableRanges":["<1.21.0"],"patched":["1.21.0"],"from":["GHSA-538c-55jv-c5g9","PYSEC-2026-2240"],"provenance":"source"}],"summary":{"text":"The ONNX library (product \"onnx\") contains a flaw in its ExternalDataInfo class, which loads metadata such as file paths and data lengths from model files using setattr() without validating the keys, and this affects versions prior to 1.21.0. An attacker can supply a crafted ONNX model that overwrites internal object properties to crash the server, and the attack requires no privileges or user interaction and can be carried out over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:19Z"},"euvd":{"id":"EUVD-2026-17985","exploited":false,"provenance":"source"}}