OpenVINO shape_size() Integer Overflow PoC
Files
overflow_shape.xmlโ OpenVINO IR model with dimensions that overflow in shape_size()overflow_shape.binโ Minimal weights file
Root Cause
xml_deserialize_util.cpp:916 uses unsafe ov::shape_size(shape) despite shape_size_safe() existing.
Dimensions 2147483647 ร 2147483647 ร 2 ร 1 overflow size_t, bypassing bounds check.
Reproduce
pip install openvino
python3 -c "from openvino.runtime import Core; core = Core(); core.read_model('overflow_shape.xml', 'overflow_shape.bin')"
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support