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.
Published: 2026-07-08
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 terminates, an attacker could cause the conversion to crash, resulting in a null dereference (CWE‑476) and affects 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.

Generated by OpenCVE AI on July 25, 2026 at 20:43 UTC.

Remediation

No vendor fix or workaround currently provided.

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 25, 2026 at 20:43 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

Fri, 10 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 09 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 08 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Onnx
Onnx onnx
Vendors & Products Onnx
Onnx onnx

Wed, 08 Jul 2026 19:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T13:36:58.289Z

Reserved: 2026-05-06T18:28:20.887Z

Link: CVE-2026-44512

cve-icon Vulnrichment

Updated: 2026-07-09T13:36:39.371Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-08T19:32:04Z

Links: CVE-2026-44512 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-25T20:45:02Z

Weaknesses