# CVE-2026-135725: FFmpeg before 9.1 Stack-Based Buffer Overflow via ff\_rtmp\_packet\_write()

- 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-24
- Aliases: DEBIAN-CVE-2026-135725, UBUNTU-CVE-2026-135725, CGA-3wjh-chc6-mq52, CGA-4mhr-gg57-mrp5, CGA-6f62-426r-hh5m, CGA-9rg9-m876-98hf, CGA-ch3q-cqc9-rgp9, CGA-gv44-qf99-cprq, CGA-q4x5-4cg8-45mq, CGA-rff3-c3x4-crcg, CGA-rgjc-q84p-j9q2, CGA-249p-626p-542v, CGA-2c9m-gh8r-g6qr, CGA-2rxv-8vg6-h7xm, CGA-3h78-47vq-4qx5, CGA-3pm4-9f8c-qxfq, CGA-3q67-h66c-4gqj, CGA-48hj-92f5-c569, CGA-4f6c-hwqq-xwmx, CGA-4pp2-43r9-fcgr, CGA-5vfc-899g-2cjx, CGA-5x5c-vfc7-wxhc, CGA-6p56-jv59-x89c, CGA-7rc7-2jmg-8wj9, CGA-7vrx-jv2w-pwf7, CGA-8wxr-qv74-mfvg, CGA-cwc5-jmxv-gg58, CGA-cxcv-jq49-7fhm, CGA-cxgq-g8q2-pm9j, CGA-vxvh-845m-mr4w, CGA-5mv4-mqxm-w596, CGA-25jj-hpg2-r3j7, CGA-2gx5-8gv2-fwqr, CGA-3jx9-j36c-mwg6, CGA-3mxv-39h5-33c3, CGA-3v7q-5c4p-25cg, CGA-6f35-88p5-p737, CGA-7rhr-w7fh-44pw, CGA-9cr6-h6g6-jhcg, CGA-mmvr-6qcf-8c6w, CGA-mq8w-6j4w-x27g, CGA-rx4f-6j7m-5p76, CGA-xrw2-9hjr-jvff, CGA-525c-qf5c-p3p6, CGA-8qp9-9pmg-f7v6, CGA-f957-hqcr-9rrx, CGA-jcc2-3jw2-86m2, CGA-m765-w48c-72rp, CGA-ph32-g877-q4rc, CGA-6gvf-r65p-g84r, CGA-hr78-cc58-96xw, CGA-34m9-2q6h-vm9r, CGA-46q4-w7j7-w3p9, CGA-4q5f-jq7c-337w, CGA-596g-xj3w-p6hg, CGA-64mh-g2f2-xwvg, CGA-897h-946f-8xh8, CGA-f4h2-443m-cmmv, CGA-f656-rfx5-2rjp, CGA-j9r8-7hqf-778m, CGA-jcxc-qxgg-64vf, CGA-v3x8-9xm2-grxf, CGA-wjg8-cc6x-83j7, CGA-xrwx-h592-wxw7, CGA-25ww-864j-367j, CGA-35cg-m23j-hjgc, CGA-4pr5-8qvh-j94c, CGA-59wx-hjq7-w7rw, CGA-5hg7-p4w8-945x, CGA-69x5-4qxh-73f5, CGA-6hc3-5jj5-qm97, CGA-758m-pc56-qp3c, CGA-7m84-rc7c-qx89, CGA-cmvq-v5gm-5x4c, CGA-gfcg-pqp5-qrrj, CGA-mq94-67pg-4v7v, CGA-pmcf-73xh-f8q9, CGA-xrwq-gc4q-hqvh, CGA-7g37-xh3f-5qhj, CGA-r3pw-qcxg-v53v, CGA-28j9-g4c8-qj43, CGA-3339-6pxh-cx96, CGA-4642-g7xg-2m33, CGA-62p2-4vj9-w78c, CGA-799h-c4pj-599f, CGA-8v59-vvw7-2c77, CGA-9m6r-6c87-fmhg, CGA-ccx4-8r8j-3jg8, CGA-cv7q-689x-qj26, CGA-f4mw-q78j-5vxv, CGA-f9vw-whmg-m8fm, CGA-fjwv-j6c7-4gx7, CGA-ggjr-c3vm-jxjj, CGA-gh4j-995q-59rx, CGA-h4qq-v6m6-47qr, CGA-hf8q-7x8w-cgrq, CGA-hh48-5mq6-92f9, CGA-jw57-xxf8-54p4, CGA-m4j7-979r-qg93, CGA-mf9w-vgjw-8393, CGA-p527-jqxv-9hf9, CGA-pg3v-9522-vm3v, CGA-r7q8-cvj5-ch4g, CGA-xjvq-6jcw-7625, CGA-9f4j-6j54-97v3, CGA-gcmr-hcff-vjpp, CGA-64pc-4cw6-6jx8, CGA-8f5p-9mh4-r4xh, CGA-994r-jvf7-4r3x, CGA-cjw4-4prh-78vj, CGA-h65x-gvc7-2fh9, CGA-hjj8-prjc-8whg, CGA-pp5p-v7pp-mf8f, CGA-q68h-hgc7-rcqh, CGA-rq34-vmgj-xgmv, CGA-vfm3-mccf-r29h, CGA-w997-qwp2-v746, CGA-x23x-94qp-87c7, CGA-7frr-f42r-fww2, CGA-9m5w-74f3-7xq8, ALPINE-CVE-2026-135725
- Record: https://cvemate.com/vulnerability/CVE-2026-135725 · JSON: https://cvemate.com/vulnerability/CVE-2026-135725/json

## Description

```text
FFmpeg before 9.1 contains a stack-based buffer overflow vulnerability in ff_rtmp_packet_write() in libavformat/rtmppkt.c that allows malicious RTMP servers to overflow a 16-byte header buffer. Attackers can send a Set Chunk Size packet on a high channel id with an extended timestamp, which handle_chunk_size() echoes back, corrupting the publishing client's stack.
```

## 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.511%, percentile 45.141%, 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-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-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)
- 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/24916>
- <https://github.com/FFmpeg/FFmpeg/commit/041098a1a3bee481a1c8e905257ba04dad0c60a1>
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtmppkt.c#L317>
- <https://github.com/FFmpeg/FFmpeg>
- <https://www.vulncheck.com/advisories/ffmpeg-before-9.1-stack-based-buffer-overflow-via-ff-rtmp-packet-write>
- <https://security-tracker.debian.org/tracker/CVE-2026-135725>
- <https://ubuntu.com/security/CVE-2026-135725>
- <https://www.cve.org/CVERecord?id=CVE-2026-135725>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/041098a1a3bee481a1c8e905257ba04dad0c60a1>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135725.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-135725>
- <https://security.alpinelinux.org/vuln/CVE-2026-135725>

---

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