Vulnerability · CVE-2026-115919
ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)
Published Oct 26, 2026 · catalog updated Oct 28, 2026 · Red Hat Red Hat Enterprise Linux
Last checked Nov 5, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-115919. EPSS is 0.18%. Act only if a listed version of Red Hat Red Hat Enterprise Linux is installed.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-99280 · Medium
- CVE-2026-99279 · Medium
- CVE-2026-99282 · Medium
- CVE-2026-99281 · High
- CVE-2026-99278 · Medium
- Severity
- Medium6.2
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.18%
- Remediation
- Version ranges on file
- Affected products
- pip onnx · pypi onnx
## Summary ONNX shape inference performed an out-of-bounds read when processing a malformed RNN, GRU, or LSTM node from opsets 1–6 whose first input had a rank other than three. checked whether the input shape was present but accessed and without first checking its rank. A crafted model could therefore terminate a process that called . The model passed before reaching the vulnerable path. ## Technical details The vulnerable code read dimensions unconditionally: For an undersized shape, protobuf's repeated-field access read outside the intended array in release builds. The observed result was SIGSEGV; sanitizer and debug builds terminated on a protobuf bounds check. The newer opset 7–13 and opset 14+ inference paths already required the first input to have rank three and were not affected. ## Impact An application that performs shape inference on an untrusted model can be terminated, causing denial of service. Exploitation does not require privileges or human interaction once the model is processed. No confidentiality or integrity impact was demonstrated. ## Affected versions - Affected: ONNX through 1.21.0 - Patched: ONNX 1.22.0 The vulnerable schemas are limited to RNN and LSTM opsets 1–6 and GRU opsets 3–6. ## Remediation Upgrade to ONNX 1.22.0 or later. The fix validates that the first input has rank three before accessing its dimensions. - Fix: [onnx/onnx#7879](https://github.com/onnx/onnx/pull/7879) - Commit: [ ](https://github.com/onnx/onnx/commit/92e541266af5dd38cfa48aeb92206f4268a066cd) The original malformed model was also re-tested against the published ONNX 1.23.2 wheel and correctly raises . ## Severity The vulnerable ONNX component processes the malicious model through a local library API or file boundary and is not itself bound to a network stack. Applications that expose ONNX model processing over a network should calculate an Environmental score with Modified Attack Vector set to Network.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- pip onnx<= 1.21.0
- pypi onnxversion unspecified
How to fix CVE-2026-115919
Upgrade
CVE-2026-115919 lists a fix boundary at 1.21.0. Compare the installed build with that boundary before you change production.
Version check
Affected <= 1.21.0
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-115919. EPSS is 0.18%. Act only if a listed version of Red Hat Red Hat Enterprise Linux is installed.
Which versions are affected?
Compare what you have installed with <= 1.21.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-125: Out-of-bounds Read. EPSS 0.18%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 26, 2026 · Red Hat Security Data
Detected
onnx: onnx: Denial of Service via out-of-bounds read in shape inference
Oct 28, 2026 · GitHub Advisory Database
Updated
## Summary ONNX shape inference performed an out-of-bounds read when processing a malformed RNN, GRU, or LSTM node from opsets 1–6 whose first input had a rank other than three. checked whether the input shape was present but accessed and without first checking its rank. A crafted model could therefore terminate a process that called . The model passed before reaching the vulnerable path. ## Techn
Sources
- CVE.orgVulnerability recordCVE-2026-115919
Official CVE identifier
cve.org - GitHub Advisory DatabasePackage advisoryGHSA-48m4-24cq-37qf
ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)
github.com - GitLab Advisory DatabasePackage advisoryCVE-2026-115919
ONNX shape inference performed an out-of-bounds read when processing a malformed RNN, GRU, or LSTM node from opsets 1–6 whose first input had a rank other than three. RNNShapeInference_opset1_to_6() checked whether the input shape was present but accessed dim(0) and dim(1) without first checking its rank. A crafted model could therefore terminate a process that called onnx.shape_inference.infer_sh
advisories.gitlab.com - Red Hat Security DataVendor advisoryCVE-2026-115919
onnx: onnx: Denial of Service via out-of-bounds read in shape inference
access.redhat.com
References
Freshness
Last verified in this catalog Nov 5, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- GitHub Advisory DatabaseOct 30, 2026
- GitLab Advisory DatabaseOct 29, 2026
- CVE.orgOct 27, 2026
- Red Hat Security DataOct 27, 2026