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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125234.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "9.0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "e621da8ecdbef8edb8336cc899b962159dc2465c"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125234.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"91173313235349097481659437083099674925",
"155960007038628446440436238976772966394",
"196589382037062053285160345795871626033",
"201973706862816146276735289936090403511",
"227219296179456817335373876314690682784",
"280215455015204320694727140668606059503"
],
"threshold": 0.9
},
"id": "CVE-2026-125234-8856b8f8",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/ffmpeg/ffmpeg/commit/e621da8ecdbef8edb8336cc899b962159dc2465c",
"target": {
"file": "libavcodec/wavpackenc.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "234318933444521826869388087381675093546",
"length": 2309
},
"id": "CVE-2026-125234-b5df59c6",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/ffmpeg/ffmpeg/commit/e621da8ecdbef8edb8336cc899b962159dc2465c",
"target": {
"file": "libavcodec/wavpackenc.c",
"function": "wavpack_encode_init"
}
}
]
"2026-11-12T07:06:09Z"