Skip to content
Heist/ feed
Back to feed
Medium

onnx — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-115922

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.

Products
onnx
Affected versions
1.12.0-2, 1.13.1-1, 1.13.1-2, 1.13.1-3, 1.14.1-1, 1.14.1-2, 1.14.1-2.1, 1.14.1-2.1~exp1, 1.16.1-1, 1.16.2-1, 1.17.0-1, 1.17.0-2, 1.17.0-3, 1.19.1-1~exp1, 1.20.0-1, 1.20.0-1~exp1, 1.20.0-3, 1.20.0-4, 1.20.0-5, 1.20.0-6, 1.21.0-1
Fixed versions
Not specified
CVEs
CVE-2026-115922
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:42 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-115922

core-osv · Original source

Published 26 Oct 2026, 18:17 UTC

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.

osv:DEBIAN-CVE-2026-115922

onnx

Fixed versions: Not specified

onnx

Fixed versions: Not specified

onnx

Fixed versions: Not specified

Complete source record
{
  "id": "5119db0bbffd14a14f4d05969abb0e52d6db54cb50a32bd93325b5ce3832b8b8",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-115922",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-115922",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-115922",
    "products": [
      {
        "name": {
          "value": "onnx",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.12.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.13.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.13.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.13.1-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.14.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.14.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.14.1-2.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.14.1-2.1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.17.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.17.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.17.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.1-1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.0-1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.0-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.0-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.0-6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.21.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "onnx",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.19.1-1~exp1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.0-1~exp1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.0-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.0-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.0-6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.21.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "onnx",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.0-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.1-1~exp1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.0-1~exp1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.0-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.0-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.0-5",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.0-6",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.21.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-115922",
      "aliases": [
        "DEBIAN-CVE-2026-115922"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "onnx",
            "purl": "pkg:deb/debian/onnx?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.12.0-2",
            "1.13.1-1",
            "1.13.1-2",
            "1.13.1-3",
            "1.14.1-1",
            "1.14.1-2",
            "1.14.1-2.1",
            "1.14.1-2.1~exp1",
            "1.16.1-1",
            "1.16.2-1",
            "1.17.0-1",
            "1.17.0-2",
            "1.17.0-3",
            "1.19.1-1~exp1",
            "1.20.0-1",
            "1.20.0-1~exp1",
            "1.20.0-3",
            "1.20.0-4",
            "1.20.0-5",
            "1.20.0-6",
            "1.21.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115922.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "onnx",
            "purl": "pkg:deb/debian/onnx?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.17.0-3",
            "1.19.1-1~exp1",
            "1.20.0-1",
            "1.20.0-1~exp1",
            "1.20.0-3",
            "1.20.0-4",
            "1.20.0-5",
            "1.20.0-6",
            "1.21.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115922.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "onnx",
            "purl": "pkg:deb/debian/onnx?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.17.0-3",
            "1.19.1-1~exp1",
            "1.20.0-1",
            "1.20.0-1~exp1",
            "1.20.0-3",
            "1.20.0-4",
            "1.20.0-5",
            "1.20.0-6",
            "1.21.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115922.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-31T09:47:22.968815176Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-115922"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-115922"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-115922",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 461026,
  "published_at": "2026-10-26T18:17:40.163+00:00"
}