CVE-2026-115919
mediumOpen Neural Network Exchange (ONNX) is an open standard for machine learning interoperability.
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/onnx/onnx/commit/92e541266af5dd38cfa48aeb92206f4268a066cd security-advisories@github.com
- https://github.com/onnx/onnx/pull/7879 security-advisories@github.com
- https://github.com/onnx/onnx/releases/tag/v1.22.0 security-advisories@github.com
- https://github.com/onnx/onnx/security/advisories/GHSA-48m4-24cq-37qf security-advisories@github.com
