Downloads · 30 days
0
htdy7703/joblib-legacy-zfile-header-memory-bomb-poc
joblib-legacy-zfile-header-memory-bomb-poc is a machine learning model from htdy7703. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This PoC shows that a tiny legacy Joblib compatibility artifact can make joblib.load() try to allocate an attacker-chosen decompression buffer before the pickle payload is even validated.
Downloads · 30 days
0
Access
Public
Updated Jul 8, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py2 KB · 44%
From the Hugging Face model README
ZF Header Memory Exhaustion PoCThis PoC shows that a tiny legacy Joblib compatibility artifact can make
joblib.load() try to allocate an attacker-chosen decompression buffer before
the pickle payload is even validated.
What this PoC shows:
ZF compatibility loader in joblib.load()What this PoC does not show:
Runtime tested:
b030e4e1ed6a227c0e587c31b266c03b3b6923723.1.23.14Run reproduce.py to create a valid legacy artifact, mutate only the ZF
header length, and trigger the allocation attempt through joblib.load().