CVE-2026-135725
Description
A flaw was found in FFmpeg. A stack-based buffer overflow in the Real-Time Messaging Protocol (RTMP) packet handling allows a malicious RTMP server to corrupt client memory, potentially leading to arbitrary code execution or a Denial of Service (DoS). This issue occurs when a malicious server sends a crafted packet with an extended timestamp on a high channel identifier that overflows an internal header buffer during packet writing.
Statement
This vulnerability is rated as Important because memory corruption during packet handling can lead to arbitrary code execution within the context of the client application, though it requires initiating a connection to an untrusted streaming endpoint. Under typical deployments, systems are not exposed by default unless client tools or automated media workflows actively connect to adversary-controlled RTMP infrastructure. Because exploitation requires this explicit client-side network interaction rather than exposing a listening network service, the blast radius is confined to the privileges and execution scope of the client process.
Mitigation
Avoid streaming to or consuming content from untrusted or unverified RTMP servers. If processing media streams from external sources is required, execute FFmpeg workloads within a sandboxed environment (such as an unprivileged container or a restricted user account with minimal permissions) to constrain the impact of potential exploitation. Additionally, apply network firewall filtering to restrict outbound connections on RTMP ports (default TCP port 1935) exclusively to trusted server endpoints.
Caveats: Restricting network traffic or isolating the execution environment may break existing workflows that rely on connecting to external RTMP destinations or accessing shared host resources.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7.8 | N/A | 7.8 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | High | N/A | High |
| Integrity Impact | High | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.