UBUNTU-CVE-2026-115919: Medium severity ubuntu/onnx vulnerability

Published Oct 26, 2026
·
Updated

Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to 1.22.0, RNNShapeInferenceopset1to6() 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.shapeinference.infershapes() processes an untrusted model that can pass onnx.checker.checkmodel(). This issue is fixed in version 1.22.0.

Affected Software

4 affected components
ubuntu/onnx*
ubuntu/onnx*
ubuntu/onnx*
ubuntu/onnx*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade onnx to a version that resolves this vulnerability.

    Fixed in 1.22.0

Event History

Oct 26, 2026
CVE Published
via OSV·06:17 PM
Data Sourced
via OSV·06:17 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What workloads are exposed to this issue?

Applications are exposed if they run onnx.shape_inference.infer_shapes() on untrusted ONNX models. The affected path involves malformed RNN or LSTM nodes using opsets 1 through 6, or GRU nodes using opsets 3 through 6.

2

Does an attacker need to bypass ONNX model validation?

No. A malicious model can pass onnx.checker.check_model() and still trigger the issue during shape inference.

3

What is the impact of successful exploitation?

The malformed shape can cause an out-of-bounds read from the intended protobuf repeated field and terminate the application, resulting in a denial of service.

4

What version contains the fix?

The issue is fixed in ONNX version 1.22.0. Systems using an earlier version should avoid running shape inference on untrusted models until they can update.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203