CVE-2026-34445

NameCVE-2026-34445
DescriptionOpen 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
onnx (PTS)bullseye1.7.0+dfsg-3vulnerable
bookworm1.12.0-2vulnerable
trixie1.17.0-3vulnerable
forky, sid1.20.0-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
onnxsource(unstable)(unfixed)

Notes

https://github.com/onnx/onnx/security/advisories/GHSA-538c-55jv-c5g9
https://github.com/onnx/onnx/pull/7751

Search for package or bug name: Reporting problems