# CVE-2026-135725: FFmpeg before 9.1 Stack-Based Buffer Overflow via ff_rtmp_packet_write()

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- 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.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-11-24T03:13:50.108Z
- Modified: 2026-11-24T18:55:44.200Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- FFmpeg FFmpeg: before 9.1

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: 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/24916> (issue-tracking, patch)
- <https://github.com/FFmpeg/FFmpeg/commit/041098a1a3bee481a1c8e905257ba04dad0c60a1> (patch)
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtmppkt.c#L317> (product, technical-description)
- <https://github.com/FFmpeg/FFmpeg> (product)
- <https://www.vulncheck.com/advisories/ffmpeg-before-9.1-stack-based-buffer-overflow-via-ff-rtmp-packet-write> (third-party-advisory)

## Sources

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

---

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