{"schema":"threatline.record/2","record":{"id":"CVE-2026-115921","aliases":["GHSA-m4pr-6v3c-6fgr"],"summary":"ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute","details":"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.","categories":["Unclassified"],"product":"onnx","vendor":"onnx","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-115921","source_modified_at":"2026-10-26T17:28:41.420Z","fetched_at":"2026-10-26T19:10:57.178988Z","product":"onnx","vendor":"onnx","versions":[{"version":">= 1.4.0, < 1.22.0","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":6.2,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-26T17:28:41.420Z","modified_at":"2026-10-26T17:28:41.420Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-115921","fetched_at":"2026-10-26T19:10:57.178988Z","source_modified_at":"2026-10-26T17:28:41.420Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/onnx/onnx/security/advisories/GHSA-m4pr-6v3c-6fgr","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/onnx/onnx/pull/7916","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/onnx/onnx/commit/dd6bc92ea39fd2274fd671f0734b0b8b558356f5","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/onnx/onnx/releases/tag/v1.22.0","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-26T17:28:41.420Z","content_hash":"fe0a6ee480e1b3bf4f4cd964362c0c7907e6033f1498b4ea632cdf131dda9645"}}
