CVE-2026-135709: FFmpeg Out-of-bounds Write
Published 2026-11-24 · Updated 2026-11-25 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — update FFmpeg to 9.1 or later in your next patch cycle.
What to do
- Update FFmpeg to version 9.1 or later. Versions before 9.1 are affected.
- Until it is patched, limit who has a local account on systems running FFmpeg.
- Avoid processing untrusted input with the affected component until it is updated.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| FFmpeg | < 9.1 | 9.1 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: Out-of-bounds Write
The software writes past the end of a buffer, corrupting memory in a way that can crash it or allow code execution.
Classified as CWE-787.
Description
FFmpeg before 9.1 contains an out-of-bounds write vulnerability in ogg_buffer_data() in libavformat/oggenc.c because ogg_buffer_page() leaves a full page current after failed allocation. When page allocation fails, a memset with length (size_t)-1 or an overflowing memcpy writes past the segment table, causing heap memory corruption and crashes when writing Ogg output.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3
- Patchhttps://github.com/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756
- Advisoryhttps://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-ogg-buffer-data-in-oggenc-c
- Referencehttps://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932
- Referencehttps://github.com/FFmpeg/FFmpeg
- Referencehttps://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/oggenc.c#L252