CVE-2026-125235 FFmpeg through 9.0.2 Heap Overflow via QSV Encoder submit_frame()

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

What is CVE-2026-125235?

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

Official description

FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c that allows attackers to corrupt memory by reusing an undersized pooled QSVFrame buffer when input dimensions increase. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with Intel Quick Sync encoders without rescaling, to crash the application or corrupt heap memory.

Weakness: CWE-122

Which versions are affected by CVE-2026-125235?

How do I fix CVE-2026-125235?

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

Is CVE-2026-125235 being exploited?

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

Sources

Also known as GHSA-rfcc-vr3x-qcq9, UBUNTU-CVE-2026-125235.

Is CVE-2026-125235 in your software?

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

Check your SBOMs for free