Out-of-bounds Read Affecting onnx package, versions [1.3.0,1.22.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-ONNX-18313042
  • published26 Jul 2026
  • disclosed24 Jul 2026
  • creditMinicoAI

Introduced: 24 Jul 2026

NewCVE-2026-63632  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade onnx to version 1.22.0 or higher.

Overview

onnx is an Open Neural Network Exchange

Affected versions of this package are vulnerable to Out-of-bounds Read in the adapt_gemm_7_6 function when processing input tensors with fewer than two dimensions. An attacker can cause a crash or potentially leak adjacent heap memory by providing a specially crafted model file with undersized input shapes to the version conversion process.

CVSS Base Scores

version 4.0
version 3.1