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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-195",
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115921.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.4.0"
},
{
"fixed": "1.22.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "dd6bc92ea39fd2274fd671f0734b0b8b558356f5"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.22.0",
"range": [
{
"fixed": "2bb50465112feca9003e1ed654d77f01ff1415ca"
}
],
"source": "REFERENCES_TAG"
}
]
}