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

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-26T17:24:40.346Z
- Modified: 2026-10-28T21:30:05.796Z
- Also known as: GHSA-48m4-24cq-37qf
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- onnx onnx: < 1.22.0
- onnx (PyPI): before 1.22.0

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `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> (web)
- <https://github.com/onnx/onnx/pull/7879> (web)
- <https://github.com/onnx/onnx/commit/92e541266af5dd38cfa48aeb92206f4268a066cd> (web)
- <https://github.com/onnx/onnx/releases/tag/v1.22.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-115919> (advisory)
- <https://github.com/onnx/onnx> (package)

## Sources

- CVE List: [CVE-2026-115919](https://www.cve.org/CVERecord?id=CVE-2026-115919), CVE Terms of Use, modified 2026-10-26
- GitHub Advisory Database: [GHSA-48m4-24cq-37qf](https://github.com/advisories/GHSA-48m4-24cq-37qf), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-115919](https://nvd.nist.gov/vuln/detail/CVE-2026-115919), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-115919 · Whole record: https://cve.day/CVE-2026-115919.json · Rebuilt by cve.day 2026-11-25T22:59:47.174Z
