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

High 7.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-125256?

CVE-2026-125256 is a high-severity vulnerability in FFmpeg, published on 9 Nov 2026.

Official description

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.

Weakness: CWE-787

Which versions are affected by CVE-2026-125256?

How do I fix CVE-2026-125256?

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

Is CVE-2026-125256 being exploited?

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

Sources

Also known as GHSA-4x88-99x2-vh7g, UBUNTU-CVE-2026-125256.

Is CVE-2026-125256 in your software?

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

Check your SBOMs for free