Downloads · 30 days
0
krishprober/huntr-poc-darknet-divbyzero
huntr-poc-darknet-divbyzero is a machine learning model from krishprober. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Malicious model config: PoCdivbyzeromin.cfg (34 bytes, SHA-256 b62e1334cca4321d2a0305ba0ef58ccc8bdc41ff35230d3dd6600b836f146367)
Downloads · 30 days
0
Access
Public
Updated Jun 3, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 65%
From the Hugging Face model README
Malicious model config: PoC_divbyzero_min.cfg (34 bytes, SHA-256 b62e1334cca4321d2a0305ba0ef58ccc8bdc41ff35230d3dd6600b836f146367)
Loading this 34-byte Darknet .cfg ([net] inputs=1,batch=1 + [softmax]) triggers an integer
divide-by-zero (SIGFPE) in Darknet::CfgFile::create_network (src-lib/darknet_cfg.cpp:1149,
avg_outputs / avg_counter). avg_counter is incremented only for layers with w>1 && h>1; a
network of only 1-D layers leaves it 0 -> divide-by-zero -> crash on model load (DoS).
Reproduces on hank-ai/darknet HEAD d17e352 with AddressSanitizer:
AddressSanitizer: FPE ... create_network ... darknet_cfg.cpp:1149.
PoC artifact for a huntr Model File Format (Darknet) disclosure.