Skip to main content

onnx-mlir EUVDEUVD-2026-34826

| CVE-2026-11329 LOW
Use of Weak Hash (CWE-328)
2026-06-05 VulDB GHSA-h7gg-9w38-vh5g
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local low-privilege access to onnx-mlir host
  2. Delivery
    Craft ONNX graph with same-shape, different-dtype placeholder nodes
  3. Exploit
    Submit model for compilation via torch_onnxmlir backend
  4. Execution
    generate_hash_key produces collision for distinct placeholder nodes
  5. Persist
    Compiler reuses incorrect cached compilation result
  6. Impact
    Compiled model exhibits integrity deviation or availability failure

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Irreversible hash functions
Exploitation Conditions

Exploitation requires local system access (AV:L) and low-privilege credentials (PR:L per CVSS vector). The specific triggering condition is use of the torch_onnxmlir Python backend to compile ONNX graphs containing multiple placeholder nodes that share the same tensor shape but have different data types (dtypes) - a scenario that causes generate_hash_key to produce identical cache keys for distinct nodes. The vulnerability does not manifest in standard single-dtype model compilation. Exploitation is further limited by high attack complexity (AC:H), meaning the attacker must precisely control model structure and compilation flow. This is not remotely exploitable and does not affect default configurations of systems that do not use the torch_onnxmlir backend.

Impact

CVSS 3.6 (Low) with vector AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L accurately reflects a narrow, locally-exploitable issue with limited blast radius. The high attack complexity (AC:H) and local-only vector (AV:L) substantially constrain real-world exploitation likelihood. The CVSS Remediation Level is RL:O (official fix available) and Report Confidence is RC:C (confirmed). No EPSS score was provided in the available intelligence, and the vulnerability is not listed in the CISA KEV catalog. No public exploit code exists. The practical risk profile is low: this is fundamentally a correctness and integrity issue in a developer/ML toolchain rather than a server-side or network-exposed attack surface. Security teams serving ML platform environments should treat this as a maintenance-priority patch rather than an emergency response item.

Exploit ScenarioDerived

A local user with low-privilege access on a machine running onnx-mlir crafts an ONNX model containing placeholder nodes with identical tensor shapes but differing data types (e.g., a float32 and an int64 input of shape [1, 128]). When this model is compiled via the torch_onnxmlir backend, both placeholders resolve to the same cache key, causing the compiler to reuse an incorrect cached result and producing a compiled model with subtly wrong behavior or a compilation failure. No public exploit code exists; successful exploitation requires deep knowledge of the onnx-mlir compilation pipeline and is described as difficult.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 05, 2026

Weak cache key construction in onnx-mlir's torch backend (versions up to 0.5.0.0) omits tensor data type (dtype) from placeholder node hash keys, enabling cache collisions between semantically distinct nodes. A locally authenticated attacker with high-complexity manipulation can cause the compiler to incorrectly reuse cached compilation results across mismatched dtypes, yielding low-integrity and low-availability impacts. No public exploit is identified at time of analysis; the upstream fix is confirmed via commit 72c5187 and PR #3427.

RemediationAI

Apply the upstream fix by incorporating commit 72c5187ff6d13c2c2b3d3789b8f5faf99f08a5b4, available via PR #3427 at https://github.com/onnx/onnx-mlir/pull/3427. The patch modifies generate_hash_key to append the tensor dtype to the placeholder cache key, eliminating collisions between same-shape, different-dtype nodes. An exact released tagged version incorporating this fix has not been independently confirmed from available intelligence - users should verify that their target release includes this specific commit before considering remediation complete. As a compensating control pending patch deployment, ML engineers compiling models with the torch_onnxmlir backend should avoid or disable placeholder node caching in workflows that involve multiple dtypes sharing identical tensor shapes; note this may degrade compilation performance. The official fix is the only fully effective remediation.

Affected VersionsENISA

onnx-mlir 0.5.0

Affected Packages

euvd onnx_mlir no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

onnx-mlir is a compiler toolchain that lowers ONNX model graphs to native machine code. The affected component is the torch_onnxmlir Python backend (src/Runtime/python/torch_onnxmlir/src/torch_onnxmlir/backend.py), where the generate_hash_key function constructs a cache key for placeholder nodes as f'om_placeholder_{placeholder_counter}_[{shape_str}]' - encoding only tensor shape, not dtype. CWE-328 (Use of Weak Hash) applies because this key omits a critical distinguishing attribute: two placeholder nodes with identical shapes but different data types (e.g., float32 vs. int64) hash to the same value. The fix in PR #3427 appends _{dtype} to produce f'om_placeholder_{placeholder_counter}_[{shape_str}]_{dtype}', making the key collision-resistant for differing dtypes. CPE cpe:2.3:a:onnx:onnx-mlir:*:*:*:*:*:*:*:* covers all versions through 0.5.0.0.

Know when Onnx gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.0 LOW
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 05, 2026 - 13:22 NVD
3.6 (LOW) 2.0 (LOW)

DescriptionCVE.org

A vulnerability has been found in onnx onnx-mlir up to 0.5.0.0. Affected by this issue is the function generate_hash_key of the file src/Runtime/python/torch_onnxmlir/src/torch_onnxmlir/backend.py of the component Placeholder Node Cache Handler. Such manipulation leads to use of weak hash. An attack has to be approached locally. A high complexity level is associated with this attack. The exploitation is known to be difficult. The name of the patch is 72c5187ff6d13c2c2b3d3789b8f5faf99f08a5b4. Applying a patch is advised to resolve this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Onnx

View all
CVE-2024-5187 HIGH POC
8.8 Jun 06

A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, version 1.16.0, allows for a

CVE-2026-49114 MEDIUM POC
6.8 Aug 21

Symlink-following arbitrary file write in ONNX's save_external_data function (onnx/external_data_helper.py) allows a loc

CVE-2024-27319 CRITICAL
9.1 Feb 23

Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX_ASSERT and ONN

CVE-2026-34445 HIGH
8.6 Apr 01

Arbitrary attribute injection in ONNX Python library (versions prior to 1.21.0) allows unauthenticated remote attackers

CVE-2024-27318 HIGH
7.5 Feb 23

Versions of the package onnx before and including 1.15.0 are vulnerable to Directory Traversal as the external_data fiel

CVE-2026-115920 MEDIUM
6.2 Oct 26

Out-of-bounds read in ONNX ConvTranspose shape inference (convTransposeShapeInference and convTransposeShapeInference_op

CVE-2026-115919 MEDIUM
6.2 Oct 26

Out-of-bounds read in ONNX's legacy shape-inference path allows an attacker-supplied model to crash a process that calls

CVE-2026-115922 MEDIUM
6.2 Oct 26

Memory exhaustion denial of service in ONNX prior to 1.22.0: the Python tensor-materialization helpers _unpack_2bit() an

CVE-2026-115921 MEDIUM
6.2 Oct 26

Shape inference in the ONNX library (versions 1.4.0 through 1.21.0) mishandles the required Scan attribute num_scan_inpu

CVE-2026-137667 LOW POC
2.1 Nov 26

Cross-site scripting in ONNX ONNXMLTools 1.16.0 and earlier allows attacker-influenced model metadata to execute script

CVE-2026-14647 LOW POC
2.1 Jul 04

Out-of-bounds read in ONNX versions up to 1.21.x exposes limited memory contents to low-privileged remote attackers via

CVE-2026-34447 MEDIUM
5.5 Apr 01

ONNX versions prior to 1.21.0 allow local attackers to read arbitrary files outside the model directory through symlink

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy