CVE-2026-44512

ONNX: Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)

Published Jul 8, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.9.0 before 1.22.0, onnx.version_converter.convert_version() can dereference a null pointer in Upsample_6_7::adapt_upsample_6_7() in onnx/version_converter/adapters/upsample_6_7.h when processing an untrusted model with an Upsample node that has zero inputs, causing an unrecoverable denial of service. This issue is fixed in version 1.22.0.

Analysis

AI-generated

Technical impact

ONNX, the open‑source machine‑learning interchange format, contains a defect in the version conversion routine that can dereference a null pointer when processing an Upsample node that supplies no inputs. The flaw resides in the Upsample_6_7::adapt_upsample_6_7() function within onnx/version_converter/adapters/upsample_6_7.h. An attacker could cause the conversion to crash, resulting in a null dereference (CWE‑476) and affecting the availability of any service that performs version conversion on untrusted models.

Affected Systems

The vulnerability applies to ONNX releases from 1.9.0 through 1.21.x. Any deployment that loads external ONNX models—such as machine‑learning inference engines or conversion services that call onnx.version_converter.convert_version()—is susceptible if it does not enforce the ONNX schema for Upsample nodes. The issue is resolved in ONNX 1.22.0 and later.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity of the vulnerability, while the EPSS score of less than 1% shows a very low yet non‑zero likelihood of exploitation at the time of this analysis. It is not listed in CISA’s KEV catalog. The likely attack vector requires an attacker to supply a crafted ONNX file with an Upsample node that contains zero inputs; upon conversion, the resulting crash can interrupt the service without providing privilege escalation or data leakage.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the ONNX library to version 1.22.0 or later, which fixes the null‑pointer dereference.
  • Validate or reject incoming ONNX models before conversion, ensuring that each Upsample node complies with the ONNX schema.
  • If an upgrade is not immediately feasible, perform the conversion in an isolated or sandboxed environment that limits the impact of a crash and monitor for repeated failures that may signal exploitation attempts.

Generated by OpenCVE AI on July 31, 2026 at 13:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hwpq-hmq9-wj77 ONNX has Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Onnx
Onnx onnx
Vendors & Products Onnx
Onnx onnx
Type Values Removed Values Added
Description Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.9.0 before 1.22.0, onnx.version_converter.convert_version() can dereference a null pointer in Upsample_6_7::adapt_upsample_6_7() in onnx/version_converter/adapters/upsample_6_7.h when processing an untrusted model with an Upsample node that has zero inputs, causing an unrecoverable denial of service. This issue is fixed in version 1.22.0.
Title ONNX: Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 9, 2026, 1:36 PM
Reserved
May 6, 2026, 6:28 PM
Status
Analyzed
Published
Jul 8, 2026, 8:16 PM
Modified
Jul 13, 2026, 5:02 PM
Severity
Moderate
Public date
Jul 8, 2026, 7:32 PM