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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-24 · Modified: 2026-11-24
- Aliases: DEBIAN-CVE-2026-135709, UBUNTU-CVE-2026-135709, CGA-7mmr-38pp-vvpp, CGA-gxfv-993v-ww59, CGA-m74x-fpxj-g78g, CGA-q784-gpxw-jhj8, CGA-qrmp-2qwh-4c7f, CGA-v876-9pgr-cwrm, CGA-w756-gqw7-8r6g, CGA-wvgr-f59h-m5gf, CGA-6757-m456-57g9, CGA-7724-wqm4-8phq, CGA-ch97-9xrj-8rx2, CGA-pw7q-f6qc-3jpc, CGA-vc28-3hfw-2v4g, CGA-x48g-rhjq-hqfc, CGA-25r2-qr66-3xj7, CGA-26q5-28qg-cchj, CGA-2grw-297g-vfh5, CGA-2mgr-7m5w-m884, CGA-2mjh-9w5c-r5v6, CGA-2p9j-g27w-8969, CGA-2q7r-hwwx-p672, CGA-2r5r-4mpp-jw36, CGA-2xxq-p459-crjg, CGA-345v-qvq9-m6wg, CGA-34hf-7h2r-rwv8, CGA-4f5f-c298-5hvm, CGA-4qg4-xwvj-6qh5, CGA-4rc2-xvqm-cv8q, CGA-4rxf-3fw7-5pjx, CGA-5ggw-27xw-c45c, CGA-5x85-cfhf-wmwm, CGA-6q67-2xw4-4j7w, CGA-72j5-56f3-8xrx, CGA-752g-6r8r-pm38, CGA-777q-hjxg-rh59, CGA-7hqc-f5x6-5fxw, CGA-7q9m-w7w7-mgj8, CGA-84w6-mwgx-87rg, CGA-88px-vg33-q7vq, CGA-8f65-9fhj-524v, CGA-ccwm-v8wp-99m2, CGA-chrf-qjmr-h925, CGA-cjhr-88pq-554m, CGA-f4g5-j6f4-36qg, CGA-fc49-r6r7-5qcx, CGA-fx7r-jfc2-v4j4, CGA-g83h-f769-j65p, CGA-ggr7-52p9-h8pv, CGA-ghrc-6cjp-7pfr, CGA-gm5c-7v49-f428, CGA-gr45-x6pm-gr95, CGA-gvx3-w98f-8378, CGA-h525-w4h6-4xmp, CGA-hmrr-3cj6-qgmg, CGA-j6p3-4596-xrrm, CGA-j75r-f7px-h36j, CGA-j9mr-pjgq-v993, CGA-jfh8-qhvg-4vwv, CGA-jgxq-wj39-p5vw, CGA-m4j7-875v-92fh, CGA-m726-93rc-2qc2, CGA-mrv4-hpfc-vq3m, CGA-p8xq-f9g7-692w, CGA-ph5h-28m5-9w84, CGA-pvh8-m94p-gw8p, CGA-q534-vqq6-r68f, CGA-q97w-f5v2-mx5g, CGA-qm28-8j76-8m96, CGA-r6hj-8v9p-pc4j, CGA-rj7f-qc2c-x3p3, CGA-rmx2-r5vp-388c, CGA-rxxv-vvm3-8r5h, CGA-v8vv-g694-69rg, CGA-vjxw-hpgh-72j9, CGA-w8rg-8j38-33rq, CGA-wfvr-25rm-x35j, CGA-wg79-23w5-mcp3, CGA-wr37-5rv8-jv69, CGA-wrfq-2wjj-h8v2, CGA-wvpc-97qp-9qwv, CGA-ww62-69vg-xq57, CGA-xpjm-822m-mm4h, CGA-2wrr-vxcr-9h58, CGA-22gm-47fm-6w4x, CGA-24vw-2g93-976c, CGA-2m5m-vwqv-c36c, CGA-35xq-j4gq-5qq8, CGA-3943-f6jf-jg4g, CGA-447g-f3p7-hrjm, CGA-4x5r-mc79-cggx, CGA-536x-72qj-pvc8, CGA-5r9j-95cg-7r22, CGA-6f77-v267-7fp7, CGA-6mwh-c48x-hx2x, CGA-6q54-72rh-mqxp, CGA-79mx-qjrg-w344, CGA-7m86-mxjj-f5j9, CGA-7qh5-mwq2-63m6, CGA-7vgp-rggf-67rp, CGA-8mw3-m6vw-whj6, CGA-8qx6-9h2j-cxqf, CGA-8r68-8cgw-hq9g, CGA-95g5-w7g4-97xm, CGA-9ch7-2r5v-gf78, CGA-9hp8-ph6f-f7h6, CGA-9jcm-vfwx-67px, CGA-c9pq-79v9-hh76, CGA-cfwg-ccw3-j7xc, CGA-fpqf-7j5f-rmf2, CGA-frh5-8r5m-4c53, CGA-h9mj-qr5v-3xpf, CGA-hghg-6j72-76x9, CGA-phwm-rv5g-h4wx, CGA-qgqc-2v2p-7f7j, CGA-qqj8-pqf6-mwj8, CGA-qw8p-393p-5m5f, CGA-r46w-qmm7-6cfh, CGA-r4x2-pqpx-p943, CGA-rm5w-m734-2whm, CGA-v69f-5gcr-j5hr, CGA-vgvx-j5hq-47r2, CGA-w8c9-q2fw-v2vf, CGA-w92x-fv48-5cqg, CGA-w99w-8m7j-5vw2, CGA-whjq-477p-79xr, CGA-xfgg-x8m9-4gr5, CGA-xq7j-8x5r-c4xf, CGA-27fx-mfr9-5gqp, CGA-27hx-296m-997p, CGA-4w6q-78w7-p79v, CGA-fq3f-c392-7xxm, CGA-g8c3-6f7j-qq9h, CGA-jp4g-844v-whgq, CGA-jq24-pv48-rfj8, CGA-mggj-j8v3-4rmc, CGA-rr9c-6jc2-57mp
- Record: https://cvemate.com/vulnerability/CVE-2026-135709 · JSON: https://cvemate.com/vulnerability/CVE-2026-135709/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.434%, percentile 39.466%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 77)

- chainguard eco-python-ffmpeg-6-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-static (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal-static (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-8-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-8-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-8-minimal-static (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-6 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-8.0 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-8.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-9.0 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-8.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-8.1-dev (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-8.1-doc (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-8.1-static (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-9.0 (Chainguard): All versions (No fix recorded)

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932>
- <https://github.com/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3>
- <https://github.com/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756>
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/oggenc.c#L252>
- <https://github.com/FFmpeg/FFmpeg>
- <https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-ogg-buffer-data-in-oggenc-c>
- <https://security-tracker.debian.org/tracker/CVE-2026-135709>
- <https://ubuntu.com/security/CVE-2026-135709>
- <https://www.cve.org/CVERecord?id=CVE-2026-135709>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135709.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-135709>

---

Data as of 2026-12-05T07:42:29.626Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
