Vulnerability · Published Oct 26, 2026 · Assigned by GitHub_M

CVE-2026-115919ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)

Medium 6.2

In plain English

A medium-severity out-of-bounds read in onnx from onnx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 92.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to 1.22.0, RNNShapeInference_opset1_to_6() processes malformed RNN and LSTM nodes from opsets 1 through 6 and GRU nodes from opsets 3 through 6 without verifying that the first input has rank three. The function accesses dim(0) and dim(1) on an undersized protobuf shape, which can read outside the intended repeated field and terminate an application when onnx.shape_inference.infer_shapes() processes an untrusted model that can pass onnx.checker.check_model(). This issue is fixed in version 1.22.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12onnxno fix listedDEBIAN-CVE-2026-115919
Debian:13onnxno fix listedDEBIAN-CVE-2026-115919
Debian:14onnxno fix listedDEBIAN-CVE-2026-115919
PyPIonnx1.22.0GHSA-48m4-24cq-37qf
Ubuntu:22.04:LTSonnxno fix listedUBUNTU-CVE-2026-115919
Ubuntu:26.04:LTSonnxno fix listedUBUNTU-CVE-2026-115919
Ubuntu:26.10onnxno fix listedUBUNTU-CVE-2026-115919

Affected products (as reported)

VendorProductVersions
onnx onnx < 1.22.0

Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References