Downloads · 30 days
0
AgentRen/ggml-whisper-n-dims-oob-poc
ggml-whisper-n-dims-oob-poc is a machine learning model from AgentRen. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repo contains a tiny crafted legacy GGML-container model file (malicious.ggml.bin) designed to reach the weights parsing loop in whisper.cpp v1.4.2 and trigger a stack out-of-bounds write by setting ndims = 5.
Downloads · 30 days
0
Access
Public
Updated Feb 2, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 64%
From the Hugging Face model README
This repo contains a tiny crafted legacy GGML-container model file (malicious.ggml.bin) designed to reach the weights parsing loop in whisper.cpp v1.4.2 and trigger a stack out-of-bounds write by setting n_dims = 5.
Relevant code (whisper.cpp v1.4.2):
whisper_model_load() weights loop uses int32_t ne[4] but writes ne[i] for i < n_dims.Proof-of-concept file:
malicious.ggml.bin (92 bytes)Expected behavior:
Reference:
int32_t ne[4] in the weights loop)