OESA-2026-4809: ffmpeg security update
FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. Security Fix(es):
FFmpeg through 9.0.2 contains a stack exhaustion vulnerability in avencryptioninitinfofree() in libavutil/encryptioninfo.c, which recursively frees AVEncryptionInitInfo linked lists built by the MOV demuxer's movreadpssh(). Attackers can supply a crafted MP4 file with tens of thousands of small pssh boxes to exhaust the stack and crash the process, while also causing quadratic CPU consumption.(CVE-2026-107678)
FFmpeg 2.0 through 9.0.2 contains a use of uninitialized variable vulnerability in the Go2Meeting decoder that allows attackers to leak stack memory through out-of-range palette indices. Attackers can craft a G2M3/G2M4 stream with a short Kempf palette so kempfrestorebuf() copies uninitialized stack bytes, including pointers or stack guards, into decoded output.(CVE-2026-120243)
FFmpeg 2.1 through 9.0.2 contains a use of uninitialized resource vulnerability in the PCX decoder that allows attackers to leak heap memory through truncated RLE scanlines. Attackers can craft a PCX image whose RLE data ends early, causing pcxdecodeframe() to copy uninitialized avmalloc() buffer contents into visible decoded pixels.(CVE-2026-120244)
FFmpeg 0.10 through 9.0.2 contains a use of uninitialized resource vulnerability in sunrastdecodeframe() that leaks heap memory when decoding truncated 1-bit and 4-bit paletted Sun Raster images. Attackers can craft a truncated Sun Raster file so the uncleared temporary bitmap is expanded into PAL8 pixels, exposing stale heap contents such as allocator words in decoded output.(CVE-2026-120245)
FFmpeg 4.4 through 9.0.2 contains a use of uninitialized variable vulnerability in the CDXL decoder that leaks stack memory into decoded pixels via unfilled HAM palette entries. Attackers can craft a type-0 CDXL file whose HAM pixels select unfilled newpalette entries in cdxldecodeham8() or cdxldecodeham6(), exposing stack bytes and pointer fragments in the BGR24 output.(CVE-2026-120246)
FFmpeg 2.3 through 9.0.2 contains a use of uninitialized resource vulnerability in the Huffyuv decoder that allows attackers to leak heap memory into decoded pixels via short packed-BGR bitstreams. Attackers can craft a Huffyuv BGR24/BGRA video whose entropy data ends early, causing decodeslice() to add uninitialized s->temp[0] bytes into output frames, exposing heap contents.(CVE-2026-120247)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
openeuler/ffmpegto a version that resolves this vulnerability.Fixed in 6.1.1-54.oe2403sp1
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What kind of attacker-controlled content needs to be processed for exploitation?
The disclosed FFmpeg issues are triggered by crafted media inputs, including MP4 files containing many pssh boxes and G2M3/G2M4 streams with a short Kempf palette. Exploitation requires the vulnerable FFmpeg processing path to handle the supplied content.
What are the practical impacts of the disclosed issues?
A crafted MP4 can exhaust the process stack and crash it, while also causing quadratic CPU consumption. Crafted Go2Meeting streams can cause uninitialized stack memory, potentially including pointers or stack guards, to be copied into decoded output.
Which FFmpeg versions are identified as affected by the disclosed CVEs?
CVE-2026-107678 affects FFmpeg through 9.0.2. CVE-2026-120243 affects FFmpeg versions 2.0 through 9.0.2.