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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | onnx | no fix listed | DEBIAN-CVE-2026-115919 |
| Debian:13 | onnx | no fix listed | DEBIAN-CVE-2026-115919 |
| Debian:14 | onnx | no fix listed | DEBIAN-CVE-2026-115919 |
| PyPI | onnx | 1.22.0 | GHSA-48m4-24cq-37qf |
| Ubuntu:22.04:LTS | onnx | no fix listed | UBUNTU-CVE-2026-115919 |
| Ubuntu:26.04:LTS | onnx | no fix listed | UBUNTU-CVE-2026-115919 |
| Ubuntu:26.10 | onnx | no fix listed | UBUNTU-CVE-2026-115919 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/onnx/onnx/security/advisories/GHSA-48m4-24cq-37qf x_refsource_CONFIRM
- https://github.com/onnx/onnx/pull/7879 x_refsource_MISC
- https://github.com/onnx/onnx/commit/92e541266af5dd38cfa48aeb92206f4268a066cd x_refsource_MISC
- https://github.com/onnx/onnx/releases/tag/v1.22.0 x_refsource_MISC