{"id":"DEBIAN-CVE-2026-115921","details":"Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.4.0 until 1.22.0, ScanInferenceFunction, ScanInferenceFunction_opset8, and ScanInferenceFunction_opset9 do not safely validate the required num_scan_inputs attribute. A missing attribute is dereferenced as a null pointer, while a negative value is converted to size_t and can reach an exceptional oversized allocation path. An untrusted model can therefore terminate or disrupt shape inference, including a negative-value model that can pass onnx.checker.check_model(). This issue is fixed in version 1.22.0.","modified":"2026-10-27T08:00:07.529709047Z","published":"2026-10-26T18:17:39.990Z","upstream":["CVE-2026-115921"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-115921"}],"affected":[{"package":{"name":"onnx","ecosystem":"Debian:12","purl":"pkg:deb/debian/onnx?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.0-2","1.13.1-1","1.13.1-2","1.13.1-3","1.14.1-1","1.14.1-2","1.14.1-2.1","1.14.1-2.1~exp1","1.16.1-1","1.16.2-1","1.17.0-1","1.17.0-2","1.17.0-3","1.19.1-1~exp1","1.20.0-1","1.20.0-1~exp1","1.20.0-3","1.20.0-4","1.20.0-5","1.20.0-6","1.21.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115921.json"}},{"package":{"name":"onnx","ecosystem":"Debian:13","purl":"pkg:deb/debian/onnx?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0-3","1.19.1-1~exp1","1.20.0-1","1.20.0-1~exp1","1.20.0-3","1.20.0-4","1.20.0-5","1.20.0-6","1.21.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115921.json"}},{"package":{"name":"onnx","ecosystem":"Debian:14","purl":"pkg:deb/debian/onnx?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0-3","1.19.1-1~exp1","1.20.0-1","1.20.0-1~exp1","1.20.0-3","1.20.0-4","1.20.0-5","1.20.0-6","1.21.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115921.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}