# CVE-2026-135716: FFmpeg before 9.1 Out-of-Bounds Write via build\_frame\_code() in nutenc.c

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, 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-135716, UBUNTU-CVE-2026-135716, CGA-2fj5-fmh5-583g, CGA-8pvw-77h4-x28j, CGA-8x68-qm97-rjvj, CGA-j6wh-3wjw-p4hf, CGA-j89h-j7jf-r7ch, CGA-m3rq-4hxm-cwrq, CGA-vcc3-q2q4-44cr, CGA-x5fx-wpq2-rm6f, CGA-3fmc-45ch-jrj8, CGA-g254-5pp8-vfh6, CGA-mv5w-f8j2-pfqp, CGA-p8v3-vqjq-5737, CGA-wc98-qhj3-gvmh, CGA-xcwq-fxcp-vx67, CGA-286w-8fmg-2mrc, CGA-2ph8-cww2-gx6g, CGA-32x8-35rj-4wff, CGA-3qqp-352g-3pqm, CGA-3v7h-3v75-wjgg, CGA-455w-56pg-2x82, CGA-45hx-7c2m-vxx8, CGA-582h-w2q2-4m74, CGA-5vrx-hr74-vhjw, CGA-5vxp-gjh8-vpg3, CGA-68m7-7x7h-qv7h, CGA-6pm2-pfrp-5rx2, CGA-6wq5-rrh4-mwr3, CGA-7233-gffg-74h2, CGA-729m-m2cq-p8fx, CGA-7fjq-qp26-w5w5, CGA-8526-gh7w-28r4, CGA-8p74-hprq-4mpv, CGA-8qr7-h477-7qh8, CGA-936q-h45h-rp5m, CGA-93rj-5hj7-3rpr, CGA-94qr-q75c-p26m, CGA-9pp6-5jrp-mq2q, CGA-9q6f-9g9j-7wvm, CGA-9vf2-q459-mxfx, CGA-c228-p529-96pp, CGA-c2hv-4wq4-fh43, CGA-c9q8-jfvg-wh67, CGA-ccx7-9fxm-jccg, CGA-cmw7-qg2g-r2j9, CGA-f4xf-qqc5-p82f, CGA-ffh6-gc55-fcxf, CGA-fgf9-5m9q-3588, CGA-fgqx-cp2r-6j3x, CGA-fr56-xvqp-c9q4, CGA-frm8-cg83-gfh6, CGA-fwvv-9qcc-846m, CGA-fxrw-cx77-w84h, CGA-gc8w-3pc9-96x5, CGA-ghrw-frfg-h3wv, CGA-h2jj-xv6j-9h56, CGA-h4mv-mp7x-m38m, CGA-h73f-r484-572h, CGA-hcgh-6c6r-wc9p, CGA-hgfh-pv2x-v3j3, CGA-hv4c-74ff-hr5f, CGA-j25x-p9m2-9mr8, CGA-j288-5x5g-6839, CGA-j4wf-8268-gr8p, CGA-j97x-9cqx-g93f, CGA-jv8r-rjq3-9m4p, CGA-jx2c-wmm7-x349, CGA-mwj7-7xg4-jgm9, CGA-p2jc-xq7w-j97r, CGA-p6pg-3m6p-h2p5, CGA-p8v9-h73c-h636, CGA-pmqf-2cjg-mq9j, CGA-q5cw-xhj6-4gwv, CGA-qqp8-x75x-2x7q, CGA-qv79-4ch9-r286, CGA-r3xx-8x5r-w328, CGA-r528-8fxq-c338, CGA-r78g-8c87-mj43, CGA-rj2m-5jh4-28p9, CGA-v85q-6pwj-7hwr, CGA-v9c3-jh6j-9v43, CGA-vwj9-6fj7-w59x, CGA-wwv6-h3h7-p9xj, CGA-xpcm-xfc4-2wwq, CGA-xqjv-vj2h-2ccx, CGA-xxpq-mjf2-h7v7, CGA-xxq4-rgqq-88wm, CGA-25wp-8x27-8m84, CGA-mvcg-8g58-36gm, CGA-29gg-227h-242m, CGA-34w5-rvwv-m74r, CGA-3796-9x45-8f92, CGA-4622-9p5j-qcr5, CGA-4793-5rcf-p3gx, CGA-54h8-c8mp-fmp5, CGA-67j3-92jw-v8cp, CGA-6f8r-4fj7-87f7, CGA-6hcm-vwvp-hwx8, CGA-6r64-376m-49xv, CGA-77m8-mfqm-qxc8, CGA-7g67-p8cw-qgw7, CGA-86xx-p78q-9249, CGA-8hfw-9mpc-xwc6, CGA-9cfq-996w-x4vp, CGA-9j2c-w69j-8xfj, CGA-9jcp-pv86-gw26, CGA-c5w9-xw6w-jq8j, CGA-c9m3-p8qv-jg89, CGA-cx5q-qw33-m468, CGA-f356-3rqg-f769, CGA-ghg3-gfp9-q6vx, CGA-gvp5-832q-fr27, CGA-hm64-4vmc-wpvx, CGA-j82h-6wjg-8xc7, CGA-jc4m-8qjj-2v83, CGA-jcr7-r33r-cf6v, CGA-mmwv-249x-r476, CGA-p9v3-r2jj-r8hc, CGA-q5wx-hjxg-crwx, CGA-q99m-3p87-jx3w, CGA-qj3q-q4jj-vrgc, CGA-qmhp-hc4j-cq4m, CGA-r23g-g52h-pmqg, CGA-rmp5-jh9r-jrh5, CGA-vf7g-289m-8g7v, CGA-vj72-wcmv-j2hh, CGA-vmrq-97wf-jc99, CGA-w3r9-5c4j-qxxv, CGA-w7fh-gggx-rjh3, CGA-wq88-c2rw-hvvj, CGA-wvf3-m44c-83xc, CGA-xqwx-26gq-cp86, CGA-3g7v-xm94-wxc7, CGA-7p48-6wgm-549m, CGA-9q5w-qc8c-5rqh, CGA-gxq6-4jrc-gjc6, CGA-mc8c-6977-6p7p, ALPINE-CVE-2026-135716
- Record: https://cvemate.com/vulnerability/CVE-2026-135716 · JSON: https://cvemate.com/vulnerability/CVE-2026-135716/json

## Description

```text
FFmpeg before 9.1 contains an out-of-bounds write vulnerability in build_frame_code() in libavformat/nutenc.c that allows attackers to corrupt the header_len[] array by supplying inputs with many audio streams. Attackers can remux a crafted input with many audio streams to NUT, causing out-of-bounds reads past static header tables and crashing the application.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.346%, percentile 30.104%, 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 78)

- alpine ffmpeg (Alpine Linux): \< 8.1.4-r0
- 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)

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932>
- <https://github.com/FFmpeg/FFmpeg/commit/52b653190c001e132ef35ee6f113b0f413d16e79>
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/nutenc.c#L240>
- <https://github.com/FFmpeg/FFmpeg>
- <https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-build-frame-code-in-nutenc-c>
- <https://security-tracker.debian.org/tracker/CVE-2026-135716>
- <https://ubuntu.com/security/CVE-2026-135716>
- <https://www.cve.org/CVERecord?id=CVE-2026-135716>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/52b653190c001e132ef35ee6f113b0f413d16e79>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135716.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-135716>
- <https://security.alpinelinux.org/vuln/CVE-2026-135716>

---

Data as of 2026-12-05T08:03:50.510Z. 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
