1. Home
  2. Vulnerabilities
  3. CVE-2026-135709

CVE-2026-135709

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

Published 24 Nov 2026 · modified 25 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 41/100

Summary

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.

Affected products and versions

Ffmpeg (2 line(s))
Ffmpeg
ProductVersionsFixed inSource
Ffmpeg before 9.1 (excluded) — CNA (vendor or assigner)
Ffmpeg before 9.1 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-787 · Corruption mémoire

How this data is obtained and calculated