UBUNTU-CVE-2026-125196: Buffer Overflow

Published Nov 10, 2026
·
Updated

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in liboapveencode() 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.

Affected Software

7 affected components
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*

Event History

Nov 10, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which workflows are exposed?

Workflows that transcode attacker-supplied video to APV are exposed when frames can be larger than the configured encoder dimensions. The described trigger is a video whose resolution changes during the stream.

2

What does an attacker need to provide?

An attacker needs to supply crafted video frames with dimensions exceeding those configured for the encoder. The frames can carry attacker-controlled pixel data that is written past the image-plane buffers during APV transcoding.

3

Is rescaling relevant as a temporary mitigation?

Yes. The overflow is described as occurring when transcoding to APV without rescaling, so ensuring input is rescaled to the configured encoder dimensions avoids the stated condition.

4

How can I determine whether a deployment may be affected?

Check whether the deployment uses FFmpeg through version 9.0.2 and performs APV transcoding. Systems that accept videos with mid-stream resolution changes without rescaling them to configured encoder dimensions match the described affected scenario.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203