Downloads · 30 days
0
0xiviel/poc-pytorch-flatbuf-dict
poc-pytorch-flatbuf-dict is a machine learning model from 0xiviel. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Vulnerability: flatbufferloader.cpp:594 — parseDict() loops over keys-size() entries and reads values-Get(i) without checking i < values-size() or that values is non-null. A crafted .ptl file can trigger SIGSEGV (null…
Downloads · 30 days
0
Access
Public
Updated Feb 13, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py17.7 KB · 88%
From the Hugging Face model README
Vulnerability: flatbuffer_loader.cpp:594 — parseDict() loops over keys->size() entries and reads values->Get(i) without checking i < values->size() or that values is non-null. A crafted .ptl file can trigger SIGSEGV (null values pointer), OOB read (size mismatch), or type confusion (OOB values point to wrong-type IValues).
poc_flatbuf_dict_oob.py — Full PoC with 3 attack variants + code analysispip install torch
python poc_flatbuf_dict_oob.py