Uncontrolled Memory Allocation in onnx - CVE-2026-115922
Published: November 10, 2026
Vulnerability details
The vulnerability allows a remote attacker to exhaust available memory and cause a denial of service.
The vulnerability exists due to excessive memory allocation in ONNX's _unpack_2bit() and _unpack_4bit() helpers when materializing packed sub-byte tensors without verifying that their payloads contain enough elements for the declared dimensions. A remote attacker can supply a small model with oversized tensor dimensions and undersized raw_data or packed int32_data payloads to trigger excessive allocations through onnx.numpy_helper.to_array() or onnx.reference.ReferenceEvaluator and cause a denial of service.