CVE-2026-115919

Source
https://cve.org/CVERecord?id=CVE-2026-115919
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115919.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-115919
Aliases
Downstream
Published
2026-10-26T17:24:40Z
Modified
2026-10-28T11:02:24Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-125"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115919.json"
}
References

Affected packages

Git / github.com/onnx/onnx

Affected ranges

Type
GIT
Repo
https://github.com/onnx/onnx
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.22.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "92e541266af5dd38cfa48aeb92206f4268a066cd"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.22.0",
            "range":  [
                {
                    "fixed":  "2bb50465112feca9003e1ed654d77f01ff1415ca"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.1
v0.2
v1.*
v1.1.0
v1.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115919.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "39139337109251584108024523979745733852",
            "length":  978
        },
        "id":  "CVE-2026-115919-834d0828",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/92e541266af5dd38cfa48aeb92206f4268a066cd",
        "target":  {
            "file":  "onnx/defs/rnn/old.cc",
            "function":  "RNNShapeInference_opset1_to_6"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "302463207670665385796003383090842981164",
                "337841822595743203073637057909591624658",
                "123610630421239743102900145222100234477",
                "213925626365999599949651027615974399498",
                "123806544783221397525493439607080430830"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-115919-c3f9cbea",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/92e541266af5dd38cfa48aeb92206f4268a066cd",
        "target":  {
            "file":  "onnx/defs/rnn/old.cc"
        }
    }
]
vanir_signatures_modified
"2026-10-28T11:02:24Z"