CVE-2026-115919
MEDIUM 6.2CVSS 3.1ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)
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.
- Published
- 26 Oct 2026
- Last modified
- 28 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-125
- Also known as
- GHSA-48m4-24cq-37qf
- Sources
- NVDJSONOSV GHSA-48m4-24cq-37qfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | onnx | < 1.22.0 | 1.22.0 |
References
- https://github.com/onnx/onnx/commit/92e541266af5dd38cfa48aeb92206f4268a066cd · WEB
- https://github.com/onnx/onnx/pull/7879 · WEB
- https://github.com/onnx/onnx/releases/tag/v1.22.0 · WEB
- https://github.com/onnx/onnx/security/advisories/GHSA-48m4-24cq-37qf · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-115919 · ADVISORY
- https://github.com/onnx/onnx · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 26 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Oct 2026)