# CVE-2026-115921: ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-26 · Modified: 2026-10-31
- Aliases: DEBIAN-CVE-2026-115921, UBUNTU-CVE-2026-115921, GHSA-m4pr-6v3c-6fgr
- Record: https://cvemate.com/vulnerability/CVE-2026-115921 · JSON: https://cvemate.com/vulnerability/CVE-2026-115921/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.176%, percentile 7.417%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian onnx (Debian): All versions (No fix recorded)
- ubuntu onnx (Ubuntu): All versions (No fix recorded)
- onnx onnx: ≥ 1.4.0, \< 1.22.0
- PyPI onnx (PyPI): ≥ 1.4.0, \< 1.22.0

## References

- <https://github.com/onnx/onnx/security/advisories/GHSA-m4pr-6v3c-6fgr>
- <https://github.com/onnx/onnx/pull/7916>
- <https://github.com/onnx/onnx/commit/dd6bc92ea39fd2274fd671f0734b0b8b558356f5>
- <https://github.com/onnx/onnx/releases/tag/v1.22.0>
- <https://security-tracker.debian.org/tracker/CVE-2026-115921>
- <https://ubuntu.com/security/CVE-2026-115921>
- <https://www.cve.org/CVERecord?id=CVE-2026-115921>
- <https://github.com/cveproject/cvelistv5/tree/main/cves/2026/115xxx/cve-2026-115921.json>
- <https://github.com/onnx/onnx/security/advisories/ghsa-m4pr-6v3c-6fgr>
- <https://nvd.nist.gov/vuln/detail/cve-2026-115921>
- <https://security-tracker.debian.org/tracker/cve-2026-115921>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-115921>
- <https://github.com/onnx/onnx>

---

Data as of 2026-12-05T04:49:39.391Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
