| Name | CVE-2026-125196 |
| Description | FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in liboapve_encode() in libavcodec/liboapvenc.c that allows attackers to corrupt heap memory by supplying frames larger than the configured encoder dimensions. Attackers can craft videos whose resolution changes mid-stream so that transcoding to APV without rescaling writes attacker-controlled pixel data past the imgb plane buffers. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| ffmpeg (PTS) | bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | fixed |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | fixed |
| forky | 7:9.0.2-6 | vulnerable |
| sid | 7:9.1-3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| ffmpeg | source | bookworm | (not affected) | | | |
| ffmpeg | source | trixie | (not affected) | | | |
| ffmpeg | source | (unstable) | (unfixed) | | | |
Notes
[trixie] - ffmpeg <not-affected> (Vulnerable code not present)
[bookworm] - ffmpeg <not-affected> (Vulnerable code not present)
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25416
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/87cdb6cd6a8d1ec201cb82b30e64d5f946939e23 (master)
Introduced by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/fab691edaf53bbf10429ef3448f1f274e5078395 (n8.0)