Downloads · 30 days
0
ReLrO/tensorrt-oob-deserialize-poc
tensorrt-oob-deserialize-poc is a machine learning model from ReLrO. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Out-of-bounds memory access in TensorRT plugin deserialization due to: 1. read<T() in plugin.h:100-108 — Zero bounds checking on the primary deserialization primitive used by 30+ plugins 2. serialize.hpp assert-only c…
Downloads · 30 days
0
Access
Public
Updated Feb 27, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.cpp10.3 KB · 80%
From the Hugging Face model README
Out-of-bounds memory access in TensorRT plugin deserialization due to:
read<T>() in plugin.h:100-108 — Zero bounds checking on the primary deserialization primitive used by 30+ pluginsserialize.hpp assert-only checks — assert() is compiled out in release builds (NDEBUG), leaving zero bounds checking in productionpoc_tensorrt_serialize.cpp — Standalone PoC extracting vulnerable code from TensorRT source# Build in release mode (NDEBUG — matching production TensorRT):
g++ -fsanitize=address -g -DNDEBUG -std=c++17 -o poc_release poc_tensorrt_serialize.cpp
# Run:
./poc_release
==PID==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x...
READ of size 4 at 0x... thread T0
#0 in int read<int, char>(char const*&) poc_tensorrt_serialize.cpp:171
#1 in poc_read_oob() poc_tensorrt_serialize.cpp:213
TensorRT latest commit from default branch (2026-02-27)