5.5Medium
CVE-2026-125254FFmpeg through 9.0.2 Division by Zero via VVC ff_vvc_slice_rpl()
Description
FFmpeg through 9.0.2 contains a division by zero vulnerability in the VVC decoder because ff_vvc_slice_rpl() fails to validate num_ref_idx_active against built reference list entries. Attackers can supply a crafted VVC bitstream whose excess reference indices yield a zero POC difference in ff_vvc_mv_scale(), crashing the decoding process.
Weakness (CWE):
CWE-369
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25572 issue-tracking
- Patch Commit patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vvc/mvs.c#L77 technical-description
- https://github.com/FFmpeg/FFmpeg product
- VulnCheck Advisory: FFmpeg through 9.0.2 Division by Zero via VVC ff_vvc_slice_rpl() third-party-advisory