ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute
影響: pip:onnx >= 1.4.0, <= 1.21.0 → 1.22.0
ONNX shape inference did not safely validate the required Scan num_scan_inputs attribute. Two malformed values could terminate or disrupt the process: 1. If the attribute was missing, ctx.getAttribute("num_scan_inputs") returned null and was dereferenced. 2. If the attribute was negative, conversion to size_t produced a very large value that reached a vector allocation and raised std::length_error. The negative-value variant passed onnx.checker.check_model() before reaching shape inference. Tec…
| CVE | CVE-2026-115921 |
|---|---|
| 情報源 | GitHub Advisory Database |
| 取得日時 | 2026/10/29 09:48 |
| データ | Markdown JSON |
2026/10/29 06:16、GitHub Advisory Databaseが「ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Python。CVE: CVE-2026-115921。