Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted ONNX model to victim
-
Deliverytract loads model for inference
-
ExploitGemm node missing required operands
-
ExecutionInferenceRulesOp::rules indexes out of bounds
-
ImpactOut-of-bounds read crashes inference (DoS)
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 an application embedding sonos/tract at version ≤0.23.4 be made to load and run shape inference on an attacker-controlled ONNX model containing an operator node with fewer operands than the op expects - specifically a Gemm node with fewer than 2 inputs (per the gemm.rs fix), or analogous empty-input/under-arity nodes in Concat, Reshape, Squeeze13, or the recurrent CommonRec path. The limiting factor is model provenance and user interaction (CVSS UI:P): the attacker must supply or substitute the model file, so deployments that only run trusted, first-party models are not realistically exposed. Network reach (AV:N) applies only where the application accepts externally-supplied models; no authentication bypass is involved beyond PR:L. The flaw is triggered purely by malformed operand arity, not by any special configuration flag. |
| Impact | This is a moderate-severity, lower-priority issue rather than an urgent one. The authoritative signals point the same direction: VulDB assigns CVSS 4.0 base 5.1 with only availability impact (VA:L, VC:N/VI:N), the SSVC/vuln.today Decision label is 'this_month' (not act_now or emergency), there is no CISA KEV listing, and no EPSS score was supplied. The exploit maturity is E:P (proof-of-concept), consistent with the input showing only a GitHub issue reference, not verified working exploit code. The CVSS vector claims AV:N (network) with UI:P (passive user interaction) and PR:L, but the mechanism in the evidence is parsing/shape-inference of a crafted ONNX operator node (missing required inputs/outputs) - that is network-reachable only if the application accepts attacker-supplied models over a network; in the more common case where models are loaded as local/bundled files the real vector is closer to local-with-user-interaction. This AV:N-versus-data-processing tension should be verified against how the deploying application sources its models. The practical impact of the missing arity check is an out-of-bounds index during inference-rule construction, which in Rust typically manifests as a panic/crash (denial of service) rather than a reliable memory-disclosure primitive, matching VulDB's availability-only scoring despite the 'Information Disclosure' tag. |
| Exploit ScenarioDerived | An attacker crafts a malformed ONNX model whose Gemm (or similarly affected Concat/Reshape/Squeeze/recurrent) node omits required operands, then gets a victim application built on tract ≤0.23.4 to load and analyze it. During InferenceRulesOp::rules the code indexes the inputs/outputs array without checking arity, triggering an out-of-bounds read that crashes or disrupts the inference process. A public PoC reference exists (a GitHub issue) but it is not verified as working exploit code; CVSS AC:L and UI:P indicate the main barrier is simply getting the target to load the attacker's model. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
An out-of-bounds read in the sonos/tract ONNX inference library through version 0.23.4 is triggered when shape inference expands an operator node whose operand list is shorter than the operator definition requires, causing the affected code paths to index past the end of the inputs/outputs vectors. Applications that embed tract and run shape inference on attacker-supplied ONNX models are affected; the assessed impact is availability-only (C:N/I:N/A:L) with local attack reach and required user interaction, since the attacker must supply or substitute the model file. A public PoC reference exists in the upstream issue tracker; it is not verified as working exploit code, and there is no confirmed active exploitation (no CISA KEV listing). The upstream project has fixed the missing arity guards and released version 0.23.5.
RemediationAI
Upgrade sonos/tract to version 0.23.5, which the maintainers state is sufficient to fix the issue; the corresponding patch is commit 44c6f4a7ef988a5bafe98c8bb465d8a253599395 and pull request https://github.com/sonos/tract/pull/2411, published in the release at https://github.com/sonos/tract/releases/tag/v0.23.5. Downstream applications that vendor or pin tract should bump the dependency to 0.23.5 or later and rebuild, since the fix adds operand-arity guards to the Gemm, Concat, Reshape, Squeeze13 and recurrent expansion paths rather than changing public APIs. Beyond upgrading, exposure is governed by model provenance: because the flaw is only reached when shape inference processes an attacker-influenced ONNX model, deployments that restrict model loading to trusted, first-party models are not realistically exposed, and enforcing that restriction is the practical compensating control until the upgrade is applied. Review the upstream issue at https://github.com/sonos/tract/issues/2391 and the VulDB entry at https://vuldb.com/vuln/441217 for the reporter's details and any further maintainer guidance.
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
tract is a Rust-native deep learning inference toolkit that parses and optimizes ONNX (and other) model graphs. Each operator implements an Expansion trait whose rules() method builds the output node and computes output shapes from the declared inputs and outputs; several of these implementations indexed the inputs/outputs operand vectors without first confirming they contained the minimum number of entries the ONNX operator specification requires. The upstream fix (PR #2411) adds explicit arity guards: a minimum-two-inputs check in onnx/src/ops/math/gemm.rs (the Gemm path named in the CVE), empty-input guards in hir/src/ops/array/concat.rs and onnx/src/ops/array/squeeze.rs (Squeeze13), a check_input_arity(inputs, 2) call in hir/src/ops/array/reshape.rs, and check_output_arity(outputs, output_count.max(1)) in onnx/src/ops/rec/common.rs so recurrent nodes are never validated against an output count of zero. The root cause class is CWE-125 (out-of-bounds read): malformed operand arity leads to reading outside the bounds of the operand collection during shape inference. The trigger is purely the operand count in the model graph; no special configuration flag is involved. Note that the published CVSS 4.0 vector supplied with the CVE (PR:L/UI:P) and the assessed CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R) differ in their representation of privileges, but both describe the same practical precondition: the attacker must get a crafted model loaded and shape-inferred by the embedding application.
Know when Tract 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:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Triggered by loading an attacker-supplied ONNX model (UI:R, and AV:L in typical local-model deployments); the out-of-bounds index causes a crash, so availability-only (A:L), no confidentiality or integrity impact per the evidence.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found in sonos tract up to 0.23.4. The affected element is the function InferenceRulesOp::rules of the file onnx/src/ops/math/gemm.rs of the component Operand Arity Indexing. The manipulation of the argument inputs/outputs results in out-of-bounds read. The attack can be executed remotely. The exploit has been made public and could be used. Upgrading to version 0.23.5 is sufficient to fix this issue. The patch is identified as 44c6f4a7ef988a5bafe98c8bb465d8a253599395. It is recommended to upgrade the affected component.
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.
EUVD-2026-131577
GHSA-679x-5hx6-p69v
NVD
CVE.org
EPSS
VulDB
Exploit-DB