CVE-2026-17512 ggml-org whisper.cpp log_mel_spectrogram out-of-bounds

Medium 4.8 Published Updated

A local attacker can trigger an out-of-bounds read in whisper.cpp, potentially causing a crash or leaking sensitive memory data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-17512?

CVE-2026-17512 is a medium-severity memory corruption vulnerability in ggml-org whisper.cpp, published on 27 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability has been found in ggml-org whisper.cpp 1.8.4-58. This impacts the function log_mel_spectrogram of the file src/whisper.cpp. The manipulation leads to out-of-bounds read. The attack needs to be performed locally. The pull request to fix this issue awaits acceptance.

Weakness: CWE-125, CWE-119

Which versions are affected by CVE-2026-17512?

How do I fix CVE-2026-17512?

No fix has been published for CVE-2026-17512 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-17512 being exploited?

There is no known exploitation of CVE-2026-17512 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-17512, GHSA-pw32-mv59-2r66, UBUNTU-CVE-2026-17512.

Is CVE-2026-17512 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free