CVE Catalog

CVE-2026-125196

HighCVSS 7.0
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Heap memory corruption can lead to crashes or potential code execution during transcoding of untrusted video to APV. Organizations encoding video are exposed to attacks via supplied files.

Recommendation

Update FFmpeg to a version containing the fix (later than 9.0.2) and avoid transcoding untrusted video to APV without rescaling. Consider validating resolution changes within the stream.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS