CVE-2026-115922

Source
https://cve.org/CVERecord?id=CVE-2026-115922
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115922.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-115922
Aliases
Downstream
Published
2026-10-26T17:31:03Z
Modified
2026-11-01T07:03:34Z
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: Denial of service via unchecked expansion of packed sub-byte tensors in ONNX Python APIs
Details

Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to 1.22.0, _unpack_2bit() and _unpack_4bit() resize unpacked arrays according to attacker-controlled TensorProto.dims without verifying that raw_data or int32_data encodes the declared number of elements. Materializing an untrusted UINT2, INT2, UINT4, INT4, or FLOAT4E2M1 tensor through onnx.numpy_helper.to_array() or onnx.reference.ReferenceEvaluator can therefore expand a small packed payload into a disproportionately large allocation and exhaust memory. This issue is fixed in version 1.22.0.

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

Affected packages

Git / github.com/onnx/onnx

Affected ranges

Type
GIT
Repo
https://github.com/onnx/onnx
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.22.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "05c1bc3bceceb8d3cf11e9e7fc7f19f971c44988"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "8de2cf6aa47928e6515ac6d9e1a8b4758886a7df"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "dce5876d6cc6cc30157af7d26a752ef44976da8e"
                }
            ],
            "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-115922.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "184337509803398633610380455478682277910",
            "length":  3251
        },
        "id":  "CVE-2026-115922-14e8cf83",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/05c1bc3bceceb8d3cf11e9e7fc7f19f971c44988",
        "target":  {
            "file":  "onnx/checker.cc",
            "function":  "check_tensor"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "25440321514036043065278204033159090187",
                "239192492975256045386654701084331199934",
                "50896641983058245200330746032464766586",
                "326994317127274540128886881335231680220",
                "25440321514036043065278204033159090187",
                "239192492975256045386654701084331199934",
                "50896641983058245200330746032464766586",
                "326994317127274540128886881335231680220"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-115922-1ec9b28e",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df",
        "target":  {
            "file":  "onnx/defs/nn/old.cc"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "171641436542286700733147705809519379958",
                "101170925163148126753492092233437221293",
                "235781877266724711102317429284310758987",
                "133166857247336735345625195269151223936",
                "323780389527129471481851863189052095286",
                "229965024959858802828265845816360469967",
                "164318697743328883263585683552947512205",
                "76056082528319384445805717850658992685",
                "53725209526338910326530770119475588712",
                "133131361728817836662841977945018546425",
                "207759490206948136993896029912675428482",
                "206947597080773764075342388888165283915"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-115922-3cbc71d2",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df",
        "target":  {
            "file":  "onnx/checker.cc"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "184337509803398633610380455478682277910",
            "length":  3251
        },
        "id":  "CVE-2026-115922-42ba609d",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df",
        "target":  {
            "file":  "onnx/checker.cc",
            "function":  "check_tensor"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "114246219743612271859074864330744590136",
            "length":  4075
        },
        "id":  "CVE-2026-115922-4e65cf3e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df",
        "target":  {
            "file":  "onnx/defs/nn/old.cc",
            "function":  "convPoolShapeInference_opset1_to_11"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "25440321514036043065278204033159090187",
                "239192492975256045386654701084331199934",
                "50896641983058245200330746032464766586",
                "326994317127274540128886881335231680220"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-115922-999b2556",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df",
        "target":  {
            "file":  "onnx/defs/nn/defs.cc"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "313236776269097801195290806981349185413",
            "length":  4182
        },
        "id":  "CVE-2026-115922-a16fdbca",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df",
        "target":  {
            "file":  "onnx/defs/nn/old.cc",
            "function":  "convPoolShapeInference_opset19"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "117027709560668418335400936449174118866",
            "length":  4203
        },
        "id":  "CVE-2026-115922-e7d1f7a6",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/8de2cf6aa47928e6515ac6d9e1a8b4758886a7df",
        "target":  {
            "file":  "onnx/defs/nn/defs.cc",
            "function":  "convPoolShapeInference"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "171641436542286700733147705809519379958",
                "101170925163148126753492092233437221293",
                "235781877266724711102317429284310758987",
                "133166857247336735345625195269151223936",
                "323780389527129471481851863189052095286",
                "229965024959858802828265845816360469967",
                "164318697743328883263585683552947512205",
                "76056082528319384445805717850658992685",
                "53725209526338910326530770119475588712",
                "133131361728817836662841977945018546425",
                "207759490206948136993896029912675428482",
                "206947597080773764075342388888165283915"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-115922-f00cdb77",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/onnx/onnx/commit/05c1bc3bceceb8d3cf11e9e7fc7f19f971c44988",
        "target":  {
            "file":  "onnx/checker.cc"
        }
    }
]
vanir_signatures_modified
"2026-11-01T07:03:34Z"