Description
A vulnerability was detected in ggml-org whisper.cpp up to 1.8.2. Affected is the function read_audio_data of the file /whisper.cpp/examples/common-whisper.cpp. The manipulation results in use after free. The attack requires a local approach. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ggml-org | whisper.cpp | 1.8.0, 1.8.1, 1.8.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | whisper.cpp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | whisper.cpp | No fix yet | — |
| Ubuntu 26.04 LTS | whisper.cpp | No fix yet | — |
References
- VDB-336193 | ggml-org whisper.cpp common-whisper.cpp read_audio_data use after free vdb-entry technical-description
- VDB-336193 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #703886 | ggerganov whisper.cpp v1.8.2 Free of Memory not on the Heap third-party-advisory
- https://github.com/ggml-org/whisper.cpp/issues/3501 issue-tracking
- https://github.com/oneafter/InvalidFree/blob/main/repro exploit