FreeSWITCH: Pre-authentication stack overflow in mod_rtmp (CVE-2026-116567)
A public exploit exists for a pre-authentication stack overflow in FreeSWITCH mod_rtmp allowing remote denial-of-service, alongside a related issue (CVE-2026-116782).
CVE search metadata
CVE search record: CVE-2026-116567. Severity: high. CVSS: 7.5. EPSS: 0.43%. KEV: no. Product: FreeSWITCH (< 1.11.2). Brief: FreeSWITCH: Pre-authentication stack overflow in mod_rtmp (CVE-2026-116567). Brief link: https://feed.craftedsignal.io/briefs/2026-11-freeswitch-stack-overflow/
CVE search record: CVE-2026-116782. Severity: high. CVSS: 7.5. EPSS: 0.54%. KEV: no. Product: FreeSWITCH (< 1.11.2). Brief: FreeSWITCH: Pre-authentication stack overflow in mod_rtmp (CVE-2026-116567). Brief link: https://feed.craftedsignal.io/briefs/2026-11-freeswitch-stack-overflow/
Triage facts
Revision 1- Applicability
- FreeSWITCH (< 1.11.2)
- Evidence
- Unknown
- Severity
- Low
- Action
- Immediate escalation
- Sources
- 3 public sources
- Freshness
- Revision 1Nov 9, 05:17 UTC
- Vulnerabilities
- 2 CVEs
- Source quality
- C3Roughly even chance
CVE-2026-116567 is a pre-authentication stack overflow vulnerability within the FreeSWITCH mod_rtmp module, specifically in the rtmp_handle_control() function. An attacker can send a crafted RTMP user-control message to trigger an unbounded sprintf loop, corrupting a 200-byte stack buffer and causing the FreeSWITCH process to crash. The exploit author also includes targeting for a second vulnerability, CVE-2026-116782, triggered by non-object AMF arguments. The module is disabled by default in standard distributions, reducing the attack surface.
Attack Chain
- Attacker probes TCP port 1935 on the target host.
- Attacker initiates RTMP handshake (C0/C1) and waits for server response (S0/S1/S2).
- Attacker sends
connectcommand (AMF0) targetinglive,sofia, ordefaultapplication. - Attacker inspects server
fmsVerresponse; if1, the target is identified asmod_rtmp. - Attacker negotiates
SetChunkSize 4096to ensure the payload remains in a single chunk. - Attacker sends a crafted RTMP
USERCTRL 0x04message with a payload > 70 bytes. - The
rtmp_handle_control()function overflows the fixed 200-byte stack buffer, resulting in a process crash. - Attacker polls the service port to confirm the listener is down, achieving a denial-of-service.
Impact
The primary impact is a crash of the FreeSWITCH process, leading to a denial-of-service. Active calls are dropped. Because the overflow writes via %02x formatting, the control over the execution flow is limited to ASCII hex digits, making this primarily a DoS rather than a remote code execution (RCE) vector.
Recommendation
- Inventory all FreeSWITCH instances and verify the status of
mod_rtmp. Disable the module if it is not strictly required. - Upgrade all instances running versions older than 1.11.2 to the latest patched version.
- Implement network-level access control lists (ACLs) to restrict access to port 1935 to trusted sources only.
- Deploy the suggested hunt leads to detect reconnaissance and exploitation attempts against RTMP services.
Immediate actions
Identify and disable mod_rtmp on all public-facing or sensitive FreeSWITCH instances
Threat Hunt
Detect RTMP connection attempts from external infrastructure targeting port 1935
Data: Firewall or Netflow logs for TCP 1935
Mitigations
Upgrade FreeSWITCH to 1.11.2 or later
CVE-2026-116567