إرسال #1050822: sonos tract main @ 2b68fb8 (0.21.x) Denial of Serviceالمعلومات

عنوانsonos tract main @ 2b68fb8 (0.21.x) Denial of Service
الوصفSeveral 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[].
المصدر⚠️ https://github.com/sonos/tract/issues/2391
المستخدم
 m00dy (UID 97162)
ارسال21/10/2026 11:20 PM (1 شهر منذ)
الاعتدال20/11/2026 08:57 AM (29 days later)
الحالةتمت الموافقة
إدخال VulDB441217 [sonos tract حتى 0.23.4 Operand Arity Indexing gemm.rs InferenceRulesOp::rules inputs/outputs الكشف عن المعلومات]
النقاط20

Want to know what is going to be exploited?

We predict KEV entries!