home / blog
2026-11-24 · medium
CVE-2026-135716: Out-of-bounds write vulnerability in FFmpeg
CVE-2026-135716: FFmpeg vulnerable to out-of-bound write in build_frame_code(), crashes with many audio streams.

CVE-2026-135716 is an out-of-bounds write vulnerability in the build_frame_code() function in libavformat/nutenc.c of FFmpeg. The vulnerability allows attackers to corrupt the header_len[] array by supplying inputs with many audio streams, causing out-of-bounds reads past static header tables and crashing the application.
Severity is rated as medium with CVSS score 6.6. The issue has been officially confirmed through NVD and reported on GitHub where there are public repositories claiming to contain proof-of-concept exploits. The vulnerability was published on November 24, 2026, indicating a recent discovery.
Defenders should immediately upgrade FFmpeg installations to version 9.1 or later. For systems that cannot be immediately updated, it is recommended to implement input controls on multimedia files to limit the number of audio streams processed and monitor for unexpected crashes in applications using FFmpeg.
At a glance
- What
- Out-of-bounds write vulnerability in the build_frame_code() function in libavformat/nutenc.c in FFmpeg
- Severity
- Medium (CVSS 6.6)
- Affected versions
- FFmpeg before version 9.1
- Fix
- FFmpeg version 9.1
- Status
- Published on 2026-11-24
- Action
- Upgrade to FFmpeg version 9.1 or later
Sources: NVD, CVE-2026-135716