{"id":"CVE-2026-63632","published":"2026-08-18T14:55:15Z","modified":"2026-08-18T18:51:29Z","title":"ONNX: Heap-Buffer-Overflow READ in Gemm Version Converter Adapter via Undersized Input Shape","vendor":"onnx","product":"onnx","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00168,"percentile":0.0344,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/onnx/onnx/security/advisories/GHSA-p893-rvq9-2xf9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/onnx/onnx/pull/7880","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/commit/e9c74f596eaa0250f89e52a54160a25bbcb25b66","tags":["x_refsource_MISC"]},{"url":"https://github.com/onnx/onnx/releases/tag/v1.22.0","tags":["x_refsource_MISC"]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":0.69},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"onnx","affectedVersions":[{"vendor":"onnx","product":"onnx","versions":[">= 1.3.0, < 1.22.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-18T18:51:22.894530Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onnx","vulnerableRanges":[">=1.3.0, <1.22.0"],"patched":["1.22.0"],"from":["GHSA-p893-rvq9-2xf9","PYSEC-2026-3587"],"provenance":"source"}],"summary":{"text":"The ONNX library's version converter, specifically the Gemm opset 7-to-6 adapter in onnx/version_converter/adapters/gemm_7_6.h, reads tensor shape dimensions without checking their rank, so inputs to a Gemm node with fewer than two dimensions trigger an out-of-bounds read. An attacker who can get a crafted model with such a Gemm node processed by convert_version() during an opset 7-to-6 downgrade, which requires a local user to run the conversion, can crash the process, with the impact limited to availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:54Z"},"euvd":{"id":"EUVD-2026-60944","exploited":false,"provenance":"source"}}