CVE-2026-125256

published 9 Nov 2026 · updated 10 Nov 2026

FFmpeg through 9.0.2 Heap Buffer Overflow via RISC-V Vector diff_bytes Routine

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_llvidenc_diff_bytes_rvv() that allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. Attackers can supply RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds, causing writes past the encoder's temp buffer.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ffmpeg>=7.0 <=9.0.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125256 severity on Zeptric[![CVE-2026-125256](https://zeptric.io/badge/cve/CVE-2026-125256.svg)](https://zeptric.io/cve/CVE-2026-125256)