Vulnerability · Published Oct 26, 2026 · Assigned by GitHub_M

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

Medium 6.2

In plain English

A medium-severity null pointer dereference in onnx from onnx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.1%top 97.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12onnxno fix listedDEBIAN-CVE-2026-115921
Debian:13onnxno fix listedDEBIAN-CVE-2026-115921
Debian:14onnxno fix listedDEBIAN-CVE-2026-115921
PyPIonnx1.22.0GHSA-m4pr-6v3c-6fgr
Ubuntu:22.04:LTSonnxno fix listedUBUNTU-CVE-2026-115921
Ubuntu:26.04:LTSonnxno fix listedUBUNTU-CVE-2026-115921
Ubuntu:26.10onnxno fix listedUBUNTU-CVE-2026-115921

Affected products (as reported)

VendorProductVersions
onnx onnx >= 1.4.0, < 1.22.0

Weakness: CWE-195, CWE-476 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References