Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged access to model pipeline
-
DeliverySubmit crafted ONNX model with malformed opset19 conv/pool operator
-
ExploitTrigger convPoolShapeInference_opset19 shape inference
-
ExecutionOut-of-bounds read occurs
-
ImpactLeak partial process memory contents
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker hold low-privileged access to a system or service that processes ONNX models - as confirmed by the CVSS PR:L metric. The vulnerable code path (convPoolShapeInference_opset19) is only reachable when an ONNX model containing convolution or pooling operators under opset version 19 is submitted for shape inference. Deployments that only process internally-generated, trusted models are not meaningfully exposed. Unauthenticated exploitation is not supported by the CVSS vector (PR:L excludes PR:N scenarios). Exploitation is further bounded by the impact ceiling: only limited confidentiality data is accessible (VC:L), and there is no integrity or availability impact. Platforms or services that accept arbitrary user-supplied ONNX models for inference represent the realistic attack surface. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N) assigns a score of 2.1, placing this firmly in the Low severity tier. The PR:L metric confirms that low-privileged access is required - unauthenticated exploitation is not supported by the vector. The impact is limited solely to confidentiality (VC:L), with no integrity or availability consequence, suggesting only partial memory disclosure rather than full data compromise or crash. The E:P supplemental metric confirms a public exploit proof-of-concept exists, which slightly elevates urgency over a theoretical-only flaw. However, the absence from CISA KEV and no EPSS data in the provided intelligence indicate no confirmed widespread exploitation. The primary real-world concern is in ML inference services or model-serving pipelines where untrusted ONNX models are ingested from external sources - a scenario where the low-privilege requirement may be satisfied by any client able to submit a model. Overall, this is a genuine but low-priority vulnerability: the POC lowers the exploitation barrier, but the limited impact ceiling and authentication requirement cap actual damage. |
| Exploit ScenarioDerived | An attacker with low-privileged access to a model-serving endpoint or ML pipeline submits a crafted ONNX model containing a malformed convolution or pooling operator definition targeting the opset19 shape inference path. The convPoolShapeInference_opset19 function reads beyond the allocated buffer boundary, potentially leaking a small amount of adjacent process memory. A public proof-of-concept demonstrating this trigger is available via the GitHub issue at https://github.com/onnx/onnx/issues/8036. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 04, 2026
Out-of-bounds read in ONNX versions up to 1.21.x exposes limited memory contents to low-privileged remote attackers via the convPoolShapeInference_opset19 shape inference function. The CVSS 4.0 score of 2.1 reflects minimal real-world impact - confidentiality-only, low severity - yet a public proof-of-concept is available via GitHub issue #8036. No active exploitation has been confirmed by CISA KEV, and an upstream patch exists at commit a7bf3a0f1d18bb62575236ef6e4944980c40e045 via PR #8051.
RemediationAI
The upstream fix is available via GitHub commit a7bf3a0f1d18bb62575236ef6e4944980c40e045, merged through pull request https://github.com/onnx/onnx/pull/8051. Organizations should apply this patch directly or upgrade to a released version of ONNX that incorporates this commit - note that a specific tagged release version incorporating the fix has not been independently confirmed from the available data, so verify against the upstream changelog before deploying. As a compensating control for environments that cannot patch immediately, restrict the sources of ONNX models accepted for shape inference to trusted, internally-generated artifacts only; do not allow untrusted or user-supplied ONNX files to be processed by the affected function. Sandboxing or containerizing model-loading pipelines would limit the blast radius of any memory disclosure to the inference worker process. The trade-off of model-source restriction is operational friction in ML pipelines that accept third-party models.
Affected VersionsENISA
Affected Packages
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 (Open Neural Network Exchange) is an open-source ML model interchange format and runtime library. The affected code resides in onnx/defs/nn/old.cc, specifically the convPoolShapeInference_opset19 function, which handles shape inference for convolutional and pooling operators under opset version 19 - a legacy compatibility layer for older operator set definitions. CWE-125 (Out-of-Bounds Read) indicates the function reads memory beyond the bounds of an allocated buffer, likely during shape computation from a crafted or malformed ONNX model. The CPE (cpe:2.3:a:n/a:onnx:*:*:*:*:*:*:*:*) covers the onnx library itself; the description also references the onnxruntime component, suggesting the vulnerable code path can be triggered through model loading or shape inference pipelines in either project. The 'old.cc' filename indicates this is legacy opset handling code, potentially with less hardening than newer operator definitions.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Network-reachable shape inference requiring low-privilege model submission; only partial memory read, no integrity or availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in onnx up to 1.21.x. This vulnerability affects the function convPoolShapeInference_opset19 of the file onnx/defs/nn/old.cc of the component onnxruntime. This manipulation causes out-of-bounds read. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. Patch name: a7bf3a0f1d18bb62575236ef6e4944980c40e045. It is recommended to apply a patch to fix this issue.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, version 1.16.0, allows for a
Symlink-following arbitrary file write in ONNX's save_external_data function (onnx/external_data_helper.py) allows a loc
Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX_ASSERT and ONN
Arbitrary attribute injection in ONNX Python library (versions prior to 1.21.0) allows unauthenticated remote attackers
Versions of the package onnx before and including 1.15.0 are vulnerable to Directory Traversal as the external_data fiel
Out-of-bounds read in ONNX ConvTranspose shape inference (convTransposeShapeInference and convTransposeShapeInference_op
Out-of-bounds read in ONNX's legacy shape-inference path allows an attacker-supplied model to crash a process that calls
Memory exhaustion denial of service in ONNX prior to 1.22.0: the Python tensor-materialization helpers _unpack_2bit() an
Shape inference in the ONNX library (versions 1.4.0 through 1.21.0) mishandles the required Scan attribute num_scan_inpu
Cross-site scripting in ONNX ONNXMLTools 1.16.0 and earlier allows attacker-influenced model metadata to execute script
ONNX versions prior to 1.21.0 allow local attackers to read arbitrary files outside the model directory through symlink
ONNX versions prior to 1.21.0 allow local attackers to read arbitrary files by exploiting a hardlink-based path traversa
EUVD-2026-41691
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB