{"id":"UBUNTU-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-28T20:17:45.576186637Z","published":"2026-10-26T18:17:00Z","upstream":["CVE-2026-115921"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-115921"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-115921"},{"type":"REPORT","url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/115xxx/cve-2026-115921.json"},{"type":"REPORT","url":"https://github.com/onnx/onnx/commit/dd6bc92ea39fd2274fd671f0734b0b8b558356f5"},{"type":"REPORT","url":"https://github.com/onnx/onnx/pull/7916"},{"type":"REPORT","url":"https://github.com/onnx/onnx/releases/tag/v1.22.0"},{"type":"REPORT","url":"https://github.com/onnx/onnx/security/advisories/ghsa-m4pr-6v3c-6fgr"},{"type":"REPORT","url":"https://nvd.nist.gov/vuln/detail/cve-2026-115921"},{"type":"REPORT","url":"https://security-tracker.debian.org/tracker/cve-2026-115921"}],"affected":[{"package":{"name":"onnx","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0+dfsg-3build1","1.7.0+dfsg-3build2","1.7.0+dfsg-3ubuntu1","1.7.0+dfsg-3ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libonnx-testdata","binary_version":"1.7.0+dfsg-3ubuntu2"},{"binary_version":"1.7.0+dfsg-3ubuntu2","binary_name":"libonnx1"},{"binary_name":"libonnxifi","binary_version":"1.7.0+dfsg-3ubuntu2"},{"binary_version":"1.7.0+dfsg-3ubuntu2","binary_name":"python3-onnx"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115921.json"}},{"package":{"name":"onnx","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.1-3","1.13.1-3build1","1.14.1-2","1.14.1-2.1","1.14.1-2.1build1","1.14.1-2.1build2","1.14.1-2.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libonnx-testdata","binary_version":"1.14.1-2.1ubuntu0.1~esm1"},{"binary_name":"libonnx1t64","binary_version":"1.14.1-2.1ubuntu0.1~esm1"},{"binary_version":"1.14.1-2.1ubuntu0.1~esm1","binary_name":"python3-onnx"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115921.json"}},{"package":{"name":"onnx","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0-1","1.20.0-6"],"ecosystem_specific":{"binaries":[{"binary_name":"libonnx-testdata","binary_version":"1.20.0-6"},{"binary_version":"1.20.0-6","binary_name":"libonnx1l"},{"binary_name":"python3-onnx","binary_version":"1.20.0-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115921.json"}},{"package":{"name":"onnx","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0-3build1","1.20.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libonnx-testdata","binary_version":"1.20.0-1"},{"binary_name":"libonnx1t64","binary_version":"1.20.0-1"},{"binary_name":"python3-onnx","binary_version":"1.20.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}