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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

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-21755376
  • published27 Oct 2026
  • disclosed26 Oct 2026
  • creditMinicoAI

Introduced: 26 Oct 2026

NewCVE-2026-115920  (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 via invalid input shapes supplied to the maxUnpoolShapeInference and convTransposeShapeInference functions in onnx/defs/nn/defs.cc and onnx/defs/nn/old.cc. When an attacker provides a rank-0 or rank-1 indices tensor to MaxUnpool, or a weight or input tensor with fewer than 3 dimensions to ConvTranspose, the shape inference code accesses out-of-bounds dimension indices, causing a crash.

CVSS Base Scores

version 4.0
version 3.1