Submit #1050822: sonos tract main @ 2b68fb8 (0.21.x) Denial of Serviceinfo

Titelsonos tract main @ 2b68fb8 (0.21.x) Denial of Service
BeschreibungSeveral InferenceRulesOp::rules() implementations in sonos/tract index inputs[k] or outputs[k] before validating the operator's operand count via check_input_arity or check_output_arity. Loading a crafted .onnx model file that gives an operator too few inputs (or zero outputs) reaches an out-of-bounds slice index and panics during model construction and shape inference ("index out of bounds"), terminating the process in release builds (denial of service). Affected sites confirmed live on main @ 2b68fb8 by rebuild-and-replay include onnx/src/ops/math/gemm.rs:41 (Gemm::rules), hir/src/ops/array/concat.rs:37 (Concat::rules), onnx/src/ops/array/squeeze.rs:33 (Squeeze::rules), hir/src/ops/array/reshape.rs:19 (Reshape::rules), and onnx/src/ops/rec/common.rs:325. This defect in InferenceRulesOp::rules() operand arity indexing (reported at https://github.com/sonos/tract/issues/2391) is distinct from CVE-2026-75093 / VDB-391335 (sonos/tract#2390, which is in Tensor::from_raw_dt_align tensor initializer byte-slice length validation). Fix: call s.check_input_arity and s.check_output_arity before indexing inputs[] or outputs[].
Quelle⚠️ https://github.com/sonos/tract/issues/2391
Benutzer
 m00dy (UID 97162)
Einreichung21.10.2026 23:20 (vor 30 Tagen)
Moderieren20.11.2026 08:57 (29 days later)
StatusAkzeptiert
VulDB Eintrag441217 [sonos tract bis 0.23.4 Operand Arity Indexing gemm.rs InferenceRulesOp::rules inputs/outputs Information Disclosure]
Punkte20

Want to know what is going to be exploited?

We predict KEV entries!