CVE-2026-115921onnx
Medium 6.2
Follow: this CVE · onnx · onnx We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 6.2
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 26, 2026
- Updated
- Oct 31, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
- Apply the vendor's security update for onnx.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | onnx |
≥ 1.4.0 < 1.22.0 |
1.22.0 |
pip install "onnx>=1.22.0" |
Per OSV / GitHub Advisories (GHSA-m4pr-6v3c-6fgr). Check the version in your lockfile before upgrading.
Affected products
- onnx · onnx
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.