{"id":"CVE-2026-115921","published":"2026-10-26T17:28:41Z","modified":"2026-10-31T01:40:08Z","title":"ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute","vendor":"onnx","product":"onnx","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00131,"percentile":0.02768,"provenance":"source"},"cwes":[{"id":"CWE-195","name":"Signed to Unsigned Conversion Error"},{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/onnx/onnx/security/advisories/GHSA-m4pr-6v3c-6fgr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/onnx/onnx/pull/7916","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/commit/dd6bc92ea39fd2274fd671f0734b0b8b558356f5","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/releases/tag/v1.22.0","tags":["x_refsource_MISC"]}],"priority":{"score":4.9,"factors":[{"name":"EPSS percentile","points":0.55},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"onnx","affectedVersions":[{"vendor":"onnx","product":"onnx","versions":[">= 1.4.0, < 1.22.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-31T01:39:56.289903Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onnx","vulnerableRanges":[">=1.4.0, <1.22.0"],"patched":["1.22.0"],"from":["GHSA-m4pr-6v3c-6fgr"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-110046","exploited":false,"provenance":"source"}}