{"id":"CVE-2026-63632","summary":"ONNX: Heap-Buffer-Overflow READ in Gemm Version Converter Adapter via Undersized Input Shape","details":"Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.3.0 until 1.22.0, onnx.version_converter.convert_version() can perform an out-of-bounds read in Gemm_7_6::adapt_gemm_7_6() in onnx/version_converter/adapters/gemm_7_6.h when a Gemm node has input tensors with fewer than two dimensions because B_shape[1], A_shape[0], or A_shape[1] is accessed without a rank check, potentially causing a process crash during an opset 7 to 6 downgrade. This issue is fixed in version 1.22.0.","aliases":["GHSA-p893-rvq9-2xf9","PYSEC-2026-3587"],"modified":"2026-08-20T10:17:20.536696Z","published":"2026-08-18T14:55:15.923Z","database_specific":{"cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63632.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/onnx/onnx/releases/tag/v1.22.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63632.json"},{"type":"ADVISORY","url":"https://github.com/onnx/onnx/security/advisories/GHSA-p893-rvq9-2xf9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63632"},{"type":"FIX","url":"https://github.com/onnx/onnx/commit/e9c74f596eaa0250f89e52a54160a25bbcb25b66"},{"type":"FIX","url":"https://github.com/onnx/onnx/pull/7880"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/onnx/onnx","events":[{"introduced":"bae6333e149a59a3faa9c4d9c44974373dcf5256"},{"fixed":"e9c74f596eaa0250f89e52a54160a25bbcb25b66"},{"fixed":"2bb50465112feca9003e1ed654d77f01ff1415ca"}],"database_specific":{"extracted_events":[{"introduced":"1.3.0"},{"fixed":"1.22.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v1.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63632.json","vanir_signatures_modified":"2026-08-20T10:17:20Z","vanir_signatures":[{"digest":{"line_hashes":["292188751415577935686374571181763892506","90434398677232478955331354905066639374","247864276543317705276403198468261977974","100986146437639410938004369847397115622"],"threshold":0.9},"id":"CVE-2026-63632-3a61a3bd","signature_type":"Line","signature_version":"v1","source":"https://github.com/onnx/onnx/commit/e9c74f596eaa0250f89e52a54160a25bbcb25b66","target":{"file":"onnx/version_converter/adapters/gemm_7_6.h"},"deprecated":false},{"digest":{"line_hashes":["292188751415577935686374571181763892506","90434398677232478955331354905066639374","247864276543317705276403198468261977974","100986146437639410938004369847397115622"],"threshold":0.9},"id":"CVE-2026-63632-dca6cc3a","signature_type":"Line","signature_version":"v1","source":"https://github.com/onnx/onnx/commit/e9c74f596eaa0250f89e52a54160a25bbcb25b66","target":{"file":"onnx/version_converter/adapters/gemm_6_7.h"},"deprecated":false},{"target":{"file":"onnx/version_converter/adapters/gemm_6_7.h","function":"adapt_gemm_6_7"},"deprecated":false,"digest":{"function_hash":"140827284312704201829013781921217954388","length":863},"id":"CVE-2026-63632-eab45d0d","signature_type":"Function","signature_version":"v1","source":"https://github.com/onnx/onnx/commit/e9c74f596eaa0250f89e52a54160a25bbcb25b66"},{"id":"CVE-2026-63632-ef526576","signature_type":"Function","signature_version":"v1","source":"https://github.com/onnx/onnx/commit/e9c74f596eaa0250f89e52a54160a25bbcb25b66","target":{"file":"onnx/version_converter/adapters/gemm_7_6.h","function":"adapt_gemm_7_6"},"deprecated":false,"digest":{"function_hash":"86970247179047495039148164583357807048","length":986}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"}]}