NULL pointer dereference in onnx - CVE-2026-115921

 

NULL pointer dereference in onnx - CVE-2026-115921

Published: November 10, 2026


Vulnerability identifier: #VU164358
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-115921
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service in applications performing ONNX shape inference on untrusted models.

The vulnerability exists due to a null pointer dereference and unchecked signed-to-unsigned conversion in ScanInferenceFunction when processing the required num_scan_inputs attribute. A remote attacker can supply a model with this attribute missing or negative through a local library API or file boundary to terminate the process or trigger an exceptional vector allocation.


Affected software

onnx

How to mitigate CVE-2026-115921

Install security update from vendor's website.

onnx - update to 1.22.0

External References

Related Security Bulletins