CVE-2026-135709: FFmpeg before 9.1 Out-of-Bounds Write via ogg_buffer_data() in oggenc.c

Published Nov 24, 2026
·
Updated

FFmpeg before 9.1 contains an out-of-bounds write vulnerability in oggbufferdata() in libavformat/oggenc.c because oggbufferpage() leaves a full page current after failed allocation. When page allocation fails, a memset with length (sizet)-1 or an overflowing memcpy writes past the segment table, causing heap memory corruption and crashes when writing Ogg output.

Affected Software

1 affected component
FFmpeg FFmpeg<9.1

Event History

Nov 24, 2026
CVE Published
via MITRE·03:14 AM
Data Sourced
via MITRE·03:14 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using FFmpeg versions before 9.1 that write Ogg output are exposed. The vulnerable code is in libavformat/oggenc.c.

2

What conditions are required for exploitation?

An attacker needs local access and user interaction, according to the supplied CVSS vector. Exploitation also depends on a page-allocation failure while Ogg output is being written.

3

What is the impact of a successful trigger?

The failed allocation can cause an oversized memset or overflowing memcpy to write beyond the segment table. This results in heap memory corruption and crashes, with high confidentiality, integrity, and availability impact in the supplied severity vector.

4

How can the issue be remediated?

Upgrade FFmpeg to version 9.1 or later. The provided references identify fixes in commits 6d40aa17395aaba80922441bcfb58399a88475e3 and a659cd842b122e2f41973ac7c4e826426cc0d756.

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