CVE-2026-115921
Open Neural Network Exchange (ONNX) is an open standard for machine …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/onnx/onnx/commit/dd6bc92ea39fd2274fd671f0734b0b8b558356f5
- github.com/onnx/onnx/pull/7916
- github.com/onnx/onnx/releases/tag/v1.22.0
- github.com/onnx/onnx/security/advisories/GHSA-m4pr-6v3c-6fgr
- nvd.nist.gov/vuln/detail/CVE-2026-115921
- github.com/advisories/GHSA-m4pr-6v3c-6fgr
- nvd.nist.gov/vuln/detail/CVE-2026-115921
- cve.org/CVERecord?id=CVE-2026-115921
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.