FFmpeg: Heap overflow in libavcodec/qsvenc.c (CVE-2026-125235)
FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c caused by the reuse of an undersized pooled QSVFrame buffer when input dimensions increase mid-stream without rescaling, which can lead to application crashes or heap memory corruption.
CVE search metadata
CVE search record: CVE-2026-125235. Severity: high. CVSS: 7.0. KEV: no. Product: FFmpeg (through 9.0.2). Brief: FFmpeg: Heap overflow in libavcodec/qsvenc.c (CVE-2026-125235). Brief link: https://feed.craftedsignal.io/briefs/2026-11-ffmpeg-heap-overflow-e991e480/
Triage facts
Revision 1- Applicability
- FFmpeg (through 9.0.2)
- Evidence
- Unknown
- Severity
- High
- Sources
- 1 public source
- Freshness
- Revision 1Nov 9, 23:59 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c. Attackers can supply crafted input that increases in resolution mid-stream, which, when transcoded with Intel Quick Sync encoders without rescaling, causes the application to reuse an undersized pooled QSVFrame buffer. This results in heap memory corruption or application crashes.