# CVE-2026-135722: FFmpeg before 9.1 Heap Buffer Overflow via WAV Muxer Peak Envelope Writer

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, 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-28
- Aliases: DEBIAN-CVE-2026-135722, UBUNTU-CVE-2026-135722, CGA-2g56-26g9-h2mj, CGA-2h4j-f243-4v3v, CGA-jv98-pwj7-97rf, CGA-rc73-r354-4p4x, CGA-rjhx-fv6w-xgmp, CGA-vrfr-cgxf-6prj, CGA-wmrx-pg6r-7r3f, CGA-4w9m-4m48-2jj4, CGA-6pcc-cfhh-vqcw, CGA-2cg5-83hp-wqj7, CGA-2f25-gv32-wpfh, CGA-2gf5-x7qj-c3r4, CGA-2gp5-h5mp-h2vm, CGA-2j2m-f3vv-27jg, CGA-2px5-4pcr-3g76, CGA-3gf9-g286-9wxq, CGA-3gx5-fc4q-c434, CGA-3h9f-4743-88jw, CGA-4443-qp77-3hq8, CGA-4cmf-rch7-qm39, CGA-4gx9-9mw8-qg99, CGA-4q9p-38gq-2fc8, CGA-4r2f-3gfj-qfx2, CGA-5h25-j35r-56vv, CGA-7vqv-qr93-6pcr, CGA-8wr8-688h-4c8v, CGA-crm6-cr4v-w6jm, CGA-cw9r-pcxc-8768, CGA-gx5g-m2r5-rjxx, CGA-pw5w-3wpp-wc9p, CGA-qxh8-x9ch-9g5r, CGA-vwqf-g26q-g7hv, CGA-jwx3-738r-qvfr, CGA-2wmj-3hj8-j4h2, CGA-2xmf-pmg3-qpv2, CGA-2xwr-rrvx-4977, CGA-3fv6-qh63-hfmc, CGA-46j3-hwvv-6hfm, CGA-5ff6-vm8v-8qcq, CGA-6g58-pc9r-58qc, CGA-8ggm-q246-26qv, CGA-8p57-g34f-7hh8, CGA-8pcw-xp2h-m83f, CGA-8qxx-h8v9-mhw5, CGA-8r6j-7x5w-vjxh, CGA-c9v2-74p7-ghm4, CGA-vj28-hc72-grxp, CGA-vwwj-4rh4-3h28, CGA-wxqq-vfjf-9hxj, CGA-xrrf-2vrc-4p5g, CGA-65ch-9g2x-73rx, CGA-6v5f-p652-5jp7, CGA-844p-pfmc-v3jj, CGA-g5w6-cjcc-jq55, CGA-mjf5-xjhm-4mm4, CGA-rrv8-q5cj-2rv7, CGA-xqg5-55pq-44wq, CGA-p3cm-26fr-hhqf, CGA-8h73-5wgq-q56j, CGA-f25j-5x3q-gwwh, CGA-f88w-mf86-jmp3, CGA-gr7p-v37w-8x55, CGA-j68f-5c6x-hjw7, CGA-jghq-xf6q-jj8q, CGA-p4xq-ch4v-vjw6, CGA-q22c-qw27-j994, CGA-q8j5-hp52-vgrv, CGA-qhqj-mhc4-fjf3, CGA-r8m4-mjrc-c923, CGA-w445-f49w-cpjw, CGA-jcg9-97hc-wjhc, CGA-wj4p-f7cc-fpjq, CGA-86pq-68c5-wx65, CGA-8v3j-vjp7-2fpp, CGA-96jf-w6qh-64wp, CGA-986x-g589-7fch, CGA-fprh-hwp5-x9jm, CGA-gcrh-8wr7-rcv8, CGA-hcpx-c5qq-5r87, CGA-jfh8-h8w2-pm96, CGA-qfcp-qr4w-pv25, CGA-wfpw-49rv-64hw, CGA-xmf5-7j26-rfhp, CGA-cc8x-jx67-cx97, CGA-vpph-2mqw-frfx, CGA-26qc-466c-6fh6, CGA-4954-c4cf-qwq4, CGA-5f57-3f38-w788, CGA-89wm-prc3-7752, CGA-c3w8-prrc-447w, CGA-c5p5-h463-chp9, CGA-ggc6-ghpw-w23c, CGA-h3c8-gm4m-8cjr, CGA-h4gm-w2cf-r7m2, CGA-hch3-mf8q-hxpx, CGA-j57v-q74p-vmxf, CGA-m58x-v62c-hwmp, CGA-p4gg-2w4r-96px, CGA-p9cf-j5wv-q45j, CGA-q77g-hjpc-598p, CGA-qf5q-5ww2-8g98, CGA-r486-q578-89xr, CGA-rpxc-8cxc-5g55, CGA-v2vj-89h8-mx7h, CGA-v976-w263-hpcp, CGA-x726-g2fj-9x77, CGA-9q2g-349w-j2r7, CGA-gqv5-gr9c-3v4q, CGA-6jm8-32vf-r48q, CGA-83q5-qcg8-362r, CGA-c977-x3pc-7vf7, CGA-f8rf-9x65-8qwp, CGA-hcj7-98vj-wvgr, CGA-hjfr-284x-97wr, CGA-jfr4-9c3j-fq2x, CGA-jgvp-8gg5-w9fq, CGA-jmxj-mrr8-vg7j, CGA-m6gq-g3qv-3rqq, CGA-gq9x-x29h-96r4, CGA-j322-pwj6-j22g, ALPINE-CVE-2026-135722
- Record: https://cvemate.com/vulnerability/CVE-2026-135722 · JSON: https://cvemate.com/vulnerability/CVE-2026-135722/json

## Description

```text
FFmpeg before 9.1 contains a heap-based buffer overflow vulnerability in peak_init_writer() and wav_write_packet() in libavformat/wavenc.c that allows attackers to corrupt heap memory by supplying audio with zero channels. Attackers can provide a crafted PCM stream declaring no channels for WAV output with peak envelope enabled, causing out-of-bounds writes past peak_maxpos and peak_maxneg arrays, crashes, and potential code execution.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.521%, percentile 45.725%, 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 73)

- alpine ffmpeg (Alpine Linux): \< 8.1.4-r0
- chainguard eco-python-ffmpeg-6-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-8-minimal (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)
- chainguard ffmpeg-cuda-fips-9.0-dev (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-9.0-doc (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-9.0-static (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1 (Chainguard): All versions (No fix recorded)

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932>
- <https://github.com/FFmpeg/FFmpeg/commit/0b1c279b62af82e422e3fc21ba6cc2fc3154dc76>
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/wavenc.c#L391>
- <https://github.com/FFmpeg/FFmpeg>
- <https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-wav-muxer-peak-envelope-writer>
- <https://security-tracker.debian.org/tracker/CVE-2026-135722>
- <https://ubuntu.com/security/CVE-2026-135722>
- <https://www.cve.org/CVERecord?id=CVE-2026-135722>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/0b1c279b62af82e422e3fc21ba6cc2fc3154dc76>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135722.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-135722>
- <https://security.alpinelinux.org/vuln/CVE-2026-135722>

---

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