Skip to content
Threat Feed
high advisory

FFmpeg: Heap buffer overflow in liboapve_encode (CVE-2026-125196)

A heap buffer overflow in FFmpeg through 9.0.2 allows for heap memory corruption when transcoding video files with mid-stream resolution changes.

CVE search metadata

CVE search record: CVE-2026-125196. Severity: high. CVSS: 7.0. KEV: no. Product: FFmpeg (<= 9.0.2). Brief: FFmpeg: Heap buffer overflow in liboapve_encode (CVE-2026-125196). Brief link: https://feed.craftedsignal.io/briefs/2026-11-ffmpeg-heap-overflow/

Triage facts

Revision 1
Applicability
FFmpeg (<= 9.0.2)
Evidence
Unknown
Severity
High
Sources
1 public source
Freshness
Revision 1Nov 9, 19:52 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

FFmpeg versions through 9.0.2 contain a heap buffer overflow vulnerability in the liboapve_encode() function located in libavcodec/liboapvenc.c. The vulnerability is triggered when processing frames larger than the configured encoder dimensions. Attackers can craft video files with mid-stream resolution changes so that transcoding to APV without rescaling writes pixel data past the imgb plane buffers, resulting in heap memory corruption.