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

- Severity: High 7.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-11-24T03:14:07.779Z
- Modified: 2026-11-25T19:05:19.310Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- FFmpeg FFmpeg: before 9.1

## Every score

- VulnCheck: CVSS:4.0 7.3 High `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932> (issue-tracking, patch)
- <https://github.com/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3> (patch)
- <https://github.com/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756> (patch)
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/oggenc.c#L252> (product, technical-description)
- <https://github.com/FFmpeg/FFmpeg> (product)
- <https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-ogg-buffer-data-in-oggenc-c> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-135709](https://www.cve.org/CVERecord?id=CVE-2026-135709), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-135709](https://nvd.nist.gov/vuln/detail/CVE-2026-135709), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135709 · Whole record: https://cve.day/CVE-2026-135709.json · Rebuilt by cve.day 2026-11-25T22:59:53.673Z
