Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-44512 EUVD-2026-42355GHSA-hwpq-hmq9-wj77PYSEC-2026-2689

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

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
onnx onnx >= 1.9.0, < 1.22.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 onnx No fix yet —
Debian 13 onnx No fix yet —
Debian 12 onnx No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 onnx No fix yet —
Ubuntu 26.04 LTS onnx No fix yet —
Ubuntu 25.10 onnx No fix yet —
Ubuntu 22.04 LTS onnx No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS onnx No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed onnxruntime 1.31.0-1.1 openSUSE-SU-2026:12274-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI onnx >= 1.9.0, < 1.22.0 1.22.0 GHSA-hwpq-hmq9-wj77

Advisories 1

References