medium5.5
CVE-2026-125234
FFmpeg through 9.0.2 contains an integer overflow vulnerability in wavpack_encode_init() in libavcodec/wavpackenc.c that causes an infinite loop when computing…
Impact
FFmpeg through 9.0.2 contains an integer overflow vulnerability in wavpack_encode_init() in libavcodec/wavpackenc.c that causes an infinite loop when computing block size from sample rate and channel count. Attackers can supply a crafted audio file, such as a WAV header declaring a huge sample rate with many channels, to hang applications transcoding to WavPack.
An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of outages.
Affected products · FFmpeg
| Product | Affected versions |
|---|---|
| FFmpeg | through 9.0.2 Version 0 ≤9.0.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25694
- https://github.com/FFmpeg/FFmpeg/commit/e621da8ecdbef8edb8336cc899b962159dc2465c
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/wavpackenc.c#L147
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-wavpack-encoder-integer-overflow-infinite-loop-via-wavpack-encode-init
- https://github.com/advisories/GHSA-xqq5-3h3q-pxq7
- https://nvd.nist.gov/vuln/detail/CVE-2026-125234