What is CVE-2026-135725?
CVE-2026-135725 is a high-severity memory corruption vulnerability in FFmpeg, published on 24 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-121
How severe is CVE-2026-135725?
CVE-2026-135725 scores 8.5 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- High
- Integrity
- High
- Availability
- 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
Which versions are affected by CVE-2026-135725?
1 open source package ship an affected version, including ffmpeg/ffmpeg. It affects 1 product.
An affected version is only exploitable if your software calls ff_rtmp_packet_write() or handle_chunk_size(). Many projects that include it are not exposed.
| Package | Affected | Fixed in |
|---|---|---|
ffmpeg/ffmpeg GitHubpkg:github/ffmpeg/ffmpeg | All versions | 9.1 |
Status by vendor 1
| Who | Release | Status | Packages |
|---|---|---|---|
| Upstream | fixed | ffmpeg:ffmpeg (9.1) |
Products include FFmpeg.
CPE match criteria 1
| CPE 2.3 | Versions |
|---|---|
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* | before 9.1 |
How do I fix CVE-2026-135725?
Upgrade ffmpeg/ffmpeg to 9.1 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-135725 being exploited?
There is no known exploitation of CVE-2026-135725 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in FFmpeg
Sources
Also known as DEBIAN-CVE-2026-135725, ECHO-f9c5-d162-61a5, GHSA-crqc-2c84-mx98, UBUNTU-CVE-2026-135725.