Skip to content

CVE-2026-125196 FFmpeg through 9.0.2 Heap Buffer Overflow via liboapv APV Encoder Wrapper

HighCVSS 7.3 EPSS 0.14%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Ubuntu

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.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/ffmpeg(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/ffmpeg(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/ffmpeg(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/ffmpeg(Ubuntu 26.10) All versions No fix listed No fix yet
ffmpeg/ffmpeg >= 8.0, <= 9.0.2 after 9.0.2 Fixed

Affected products

ProductAffected versionsFixed in
ffmpeg/ffmpeg >= 8.0, <= 9.0.2 No fix listed
ubuntu/ffmpeg(Ubuntu:22.04) All versions No fix listed
ubuntu/ffmpeg(Ubuntu:24.04) All versions No fix listed
ubuntu/ffmpeg(Ubuntu:26.04) All versions No fix listed
ubuntu/ffmpeg(Ubuntu:26.10) All versions No fix listed

References