Skip to main content

FreeSWITCH mod_rtmp CVE-2026-116571

| EUVDEUVD-2026-117739 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-11-05 GitHub_M
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish H.264 call bridged to RTMP leg
  2. Delivery
    Supply oversized SPS and PPS parameter sets
  3. Exploit
    Overrun fixed stack buffer in AVC header builder
  4. Execution
    Corrupt saved registers and return address
  5. Impact
    Crash FreeSWITCH, terminating all active calls

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an operator has built FreeSWITCH with mod_rtmp AND loaded it - the module is commented out in both the default module build list and the default modules.conf.xml, so stock installations are entirely unaffected - AND configured the deployment to bridge RTP media into an RTMP leg. The attacker must hold an established call to an RTMP endpoint on the target with H.264 media flowing toward it, giving them control of the SPS and PPS parameter sets the builder consumes, and must supply parameter sets near the maximum recordable size so the combined framing overruns the buffer. Limiting factors: the affected code is on the media write path toward an RTMP client (not the RTMP listener), there is no configuration parameter that disables the affected path short of unloading the module, legitimate conformant streams (tens of bytes against a 131072-byte destination) never trigger it, and whether placing or receiving the triggering call requires authentication depends on how the deployment routes calls to its RTMP users. The only complete fix is updating to 1.11.2; workarounds are leaving mod_rtmp unloaded or avoiding bridging untrusted sources to RTMP endpoints.

Impact

This is a genuine but conditional availability risk, not a widespread emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, base 5.9 Medium) correctly captures the shape: network-reachable, no user interaction, availability-only impact, with AC:H reflecting that an attacker must drive two SPS/PPS parameter sets near the maximum recordable size to push the write offset past the fixed stack buffer. No EPSS score, no CISA KEV listing, and no PoC/exploit flag are present in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation - the 'RCE' tag notwithstanding, the advisory explicitly states control-flow hijack and remote code execution have NOT been demonstrated. The dominant realistic outcome is a remote denial of service (on stack-protected builds the process aborts, killing every active call on the instance, not just the attacker's), with only a small, unproven stack-write primitive on builds compiled without stack protection. The single most important de-prioritizing signal is configuration: mod_rtmp is commented out in both the default module build list and the default modules.conf.xml, so a stock installation is not affected at all - the affected path requires an operator to build, load, and actively bridge RTP media into an RTMP leg. The vuln.today decision label is 'this_month', consistent with a real-but-not-urgent fix. Note the CVSS PR:N is defensible for the RTP side but partially misleading operationally: the advisory states whether placing or receiving the triggering call requires authentication depends on how the deployment routes calls to its RTMP users, so effective exploitability is deployment-specific.

Exploit ScenarioDerived

In a deployment that has explicitly built and loaded mod_rtmp and is bridging H.264 calls to RTMP clients, an attacker establishes a call whose media flows toward the RTMP endpoint and supplies oversized SPS and PPS parameter sets. When rtmp_rtp2rtmpH264() assembles the AVC decoder configuration record, the second copy overruns the fixed stack buffer, corrupting the saved-register/return-address region and aborting FreeSWITCH, which tears down every active call on the instance. No public exploit is identified in the sources, and achieving code execution rather than a crash has not been demonstrated.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Stack buffer overflow in FreeSWITCH's mod_rtmp module lets a party on an established H.264 call overrun a fixed stack buffer when the module builds an AVC decoder configuration record for an RTMP leg. Every released 1.10.x and 1.11.x build is affected, but only installations that explicitly build and load mod_rtmp and bridge RTP media into an RTMP endpoint are exposed, since the module is commented out of both the default build list and the default modules.conf.xml. A successful overrun aborts the process and drops every active call on the instance; on builds without stack protection it yields a limited stack-write primitive, although control-flow hijack or code execution has not been demonstrated, and no public exploit has been identified at time of analysis. The vendor-released fix is FreeSWITCH 1.11.2.

RemediationAI

Vendor-released patch: upgrade to FreeSWITCH 1.11.2, which contains commit 2ab0a534fdc25301daf95590e90a756a76bf0950 and validates SPS/PPS sizes before writing the AVC sequence header (release notes at https://github.com/signalwire/freeswitch/releases/tag/v1.11.2; advisory at https://github.com/signalwire/freeswitch/security/advisories/GHSA-qmh2-f6cv-79mf). Updating is the only complete fix. Where upgrading is not immediately possible, leave mod_rtmp unloaded unless RTMP client support is actually required, which puts the affected code out of reach entirely; where the module is needed, avoid bridging calls from untrusted sources to RTMP endpoints. No configuration parameter disables the affected path short of unloading the module, and the vendor states that leaving mod_rtmp unloaded or avoiding untrusted-to-RTMP bridging are the available workarounds.

Affected VersionsENISA

freeswitch < 1.11.2

Affected Packages

euvd freeswitch fix: 1.11.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-121 stack-based buffer overflow inside rtmp_rtp2rtmpH264() in src/mod/endpoints/mod_rtmp/rtmp_video.c, on the media write path that converts inbound RTP H.264 into RTMP for an RTMP client. The function assembles an AVC decoder configuration record in a fixed 131072-byte stack buffer using the SPS and PPS parameter sets stored from the wire (held as AMF0 strings via helper->sps and helper->pps). Before the fix, the builder copied the SPS, wrote the PPS count, then copied the PPS using sizes recorded at ingest time without validating that the 16-byte fixed framing (11 header bytes + 2 SPS length bytes + 1 PPS count byte + 2 PPS length bytes) plus both payloads fit the destination, so two near-maximum-size parameter sets push the write past the end of the frame. The patch reads the sizes once, requires the SPS to be at least 4 bytes (profile/compatibility/level bytes are copied into the header), verifies the full record fits before writing anything, and logs and skips non-conforming parameter sets. The same commit also tightens STAP-A handling in the aggregation-packet path, changing the loop bound to datalen - 2 and rejecting declared NALU sizes that exceed the remaining aggregation payload. Exploitation requires an established call bridged to an RTMP endpoint with H.264 media flowing toward it, so the attacker controls the parameter sets the builder consumes; conformant streams are tens of bytes and never approach the limit.

Know when Freeswitch gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network-triggerable via call media with no UI; AC:H because oversized near-maximum SPS/PPS are required; availability-only (crash), with C:N/I:N as code execution is unproven.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Nov 05, 2026 - 20:18 EUVD

DescriptionCVE.org

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. Prior to 1.11.2, rtmp_rtp2rtmpH264() built an AVC decoder configuration record in a fixed stack buffer by copying wire-derived SPS and PPS values without checking that their sizes and framing fit. An established H.264 call bridged toward an RTMP endpoint could supply oversized SPS and PPS parameter sets and overrun the function's stack frame. The flaw affects only deployments that build and load mod_rtmp and bridge RTP media into an RTMP leg; the module is disabled in the stock build and configuration. The corruption can abort FreeSWITCH and terminate every active call, and builds without stack protection receive a limited stack-write primitive, although code execution has not been demonstrated. This issue is fixed in version 1.11.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
widely-used open-source telecom stack, but affected mod_rtmp disabled by default
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-116779 CRITICAL POC
9.8 Nov 05

FreeSWITCH installations that accept inbound SIP MESSAGE - the default posture, since chat handling stays on in the stoc

CVE-2019-19492 CRITICAL POC
9.8 Dec 02

FreeSWITCH 1.6.10 through 1.10.1 has a default password in event_socket.conf.xml. Rated critical severity (CVSS 9.8), th

CVE-2015-7392 HIGH POC
7.5 Oct 05

Heap-based buffer overflow in the parse_string function in libs/esl/src/esl_json.c in FreeSWITCH before 1.4.23 and 1.6.x

CVE-2021-41158 HIGH POC
7.5 Oct 26

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-41145 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-41105 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-37624 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-36513 HIGH POC
7.5 Oct 18

An issue was discovered in function sofia_handle_sip_i_notify in sofia.c in SignalWire freeswitch before 1.10.6, may all

CVE-2018-19911 HIGH POC
7.5 Dec 06

FreeSWITCH through 1.8.2, when mod_xml_rpc is enabled, allows remote attackers to execute arbitrary commands via the api

CVE-2013-2238 MEDIUM POC
6.8 Sep 30

Multiple buffer overflows in the switch_perform_substitution function in switch_regex.c in FreeSWITCH 1.2 allow remote a

CVE-2026-110658 MEDIUM POC
6.9 Oct 14

Heap out-of-bounds read in Sofia-SIP through 1.13.18 allows unauthenticated remote attackers to crash SIP processes by s

CVE-2023-40019 MEDIUM POC
6.5 Sep 15

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy