Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach negotiated media port
-
DeliveryPeer selects a=setup:active role
-
ExploitComplete DTLS handshake with unrelated certificate
-
ExecutionFreeSWITCH exports leg SRTP keys
-
ImpactDecrypt and inject media, displace legitimate endpoint
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitable only on legs that negotiate DTLS-SRTP (WebRTC via mod_verto or mod_sofia over WS/WSS, or SIP peers using DTLS-SRTP) where FreeSWITCH ends up the passive DTLS server - i.e. the peer answers or offers a=setup:active, which is the normal browser behavior, so no non-default setting is required on an affected build (<= 1.11.1, or 1.11.2 left at the default rtp_dtls_client_cert_verify_mode=none). The attacker must reach the negotiated media port and complete the DTLS handshake as the client in place of the legitimate peer. LIMITING FACTORS: on ICE-enabled legs the attacker additionally needs the SDP connectivity-check credentials, which in practice requires reading the signaling or holding an on-path position (carrying signaling over TLS limits off-path attackers); legs where FreeSWITCH is the DTLS client are not affected because the certificate is already bound to the SDP fingerprint; and impact is confined to that single media leg. Full remediation requires both upgrading to 1.11.2 and explicitly setting rtp_dtls_client_cert_verify_mode=fingerprint (or full). |
| Impact | This is a genuine but conditional priority rather than an inflated high-CVSS score. The vendor-confirmed CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, 7.4) shows an unauthenticated, network-reachable flaw with high confidentiality and integrity impact on the media leg, tempered by AC:H reflecting the need to win the handshake in place of the legitimate peer and, on ICE-enabled legs, to obtain connectivity-check credentials. No EPSS score was supplied in the input, and the CVE is NOT listed in CISA KEV, so there is no basis to claim active exploitation; no public exploit was identified at time of analysis (the only code references are the GHSA advisory, the fix commit, and the release tag, none of which is a PoC). The vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency item. Two important nuances temper raw risk: impact is confined to a single DTLS-SRTP media leg - signaling and other legs are unaffected, and there is no code execution despite the misleading 'Code Injection' tag (the real weakness is CWE-295/CWE-300 improper certificate/endpoint validation, enabling media decryption/injection and endpoint impersonation). Critically, the 1.11.2 fix is opt-in: the new verification defaults to 'none', so upgrading alone does not close the gap unless rtp_dtls_client_cert_verify_mode=fingerprint is set - operators who patch but do not configure this remain exposed. |
| Exploit ScenarioDerived | A WebRTC browser or SIP peer offers or answers a=setup:active, placing FreeSWITCH in the passive DTLS server role where it exports SRTP keys to any certificate that completes the handshake. An attacker who can reach the negotiated media port (and, on ICE legs, read the SDP connectivity-check credentials) completes a DTLS handshake in place of the legitimate endpoint, obtains the leg's SRTP keys, and then decrypts and injects media while displacing the real peer. No public exploit was identified at time of analysis, and the high attack complexity reflects the need to intercept the handshake and, for ICE legs, possess signaling visibility or an on-path position. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
FreeSWITCH 1.11.1 and earlier, when acting as the passive (server) side of a DTLS-SRTP handshake, accepts any peer certificate that completes the handshake without binding it to the SDP a=fingerprint, so an attacker who can reach the negotiated media port can recover the leg's SRTP keys, decrypt and inject media, and displace the legitimate endpoint for the remainder of the call. The gap is reachable in default configuration: FreeSWITCH offers a=setup:actpass and normal browser behavior answers a=setup:active, putting it in the vulnerable server role on WebRTC legs (mod_verto, mod_sofia over WS/WSS) and on SIP peers using DTLS-SRTP; legs where FreeSWITCH is the DTLS client already validate the fingerprint and are not affected. No public exploit code or PoC reference and no confirmed active exploitation were identified at time of analysis, but the prerequisite is only media-port reach plus a completed DTLS handshake as client (plus the SDP ICE connectivity-check credentials on ICE-enabled legs), and the CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N scores 7.4 with high confidentiality and integrity impact confined to a single media leg.
RemediationAI
Vendor-released patch: 1.11.2. Upgrading alone does not close the gap, because verification defaults to none; after upgrading, set rtp_dtls_client_cert_verify_mode=fingerprint on affected channels (the commit ships the line commented in conf/vanilla/vars.xml as a PRE-PROCESS set example) so that the DTLS server requests the client certificate and requires it to match the SDP a=fingerprint. Do not select full for WebRTC endpoints: full also enforces the PKI chain and self-signed WebRTC certificates will not pass, breaking media; note that under fingerprint and full, a missing certificate, a mismatched fingerprint, or a peer that advertised no usable a=fingerprint all fail verification with no SRTP keys derived, so verify interop with existing endpoints before wide rollout. Unrecognized values fall back to fingerprint with a warning. Interim workarounds documented by the vendor: restrict the RTP port range to trusted media sources where topology allows, which does not stop a peer already on the media path; carry signaling over TLS so media ports and ICE credentials are not observable off-path, which does not help if the attacker can read the signaling; or set webrtc_enable_dtls=false, which removes the vulnerable path at the cost of WebRTC media, since WebRTC requires DTLS-SRTP. Full remediation therefore requires both upgrading to 1.11.2 and explicitly enabling fingerprint mode; see https://github.com/signalwire/freeswitch/security/advisories/GHSA-8ghv-ccjr-4cx9.
Affected VersionsENISA
Affected Packages
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 root cause is CWE-295 (improper certificate validation) in dtls_state_setup() in src/switch_rtp.c. DTLS-SRTP endpoints authenticate each other with self-signed certificates, and the only binding between a certificate and the negotiated signaling identity is the SDP a=fingerprint attribute (RFC 8122); because the certificates carry no PKI trust anchor, that fingerprint comparison is the entire authentication check. In the affected builds the comparison was compiled behind a VERIFY path that is short-circuited whenever FreeSWITCH held the DTLS server role (DTLS_TYPE_SERVER), so OpenSSL was configured with SSL_VERIFY_NONE, no client certificate was requested, and any certificate that completed the handshake had its keying material exported into the SRTP session. The client role was never affected. The commit introduces a dtls_client_cert_verify_t enum (DTLS_CLIENT_CERT_VERIFY_NONE, _FINGERPRINT, _FULL) and the rtp_dtls_client_cert_verify_mode channel variable, adds the peer_cert_present flag and distinct logging for a missing versus mismatched certificate, and replaces the old cb_verify_peer callback with dtls_accept_any_cert so that in fingerprint mode the TLS layer accepts any client certificate while dtls_state_setup() performs the SDP fingerprint match; full mode additionally lets OpenSSL enforce the PKI chain, which self-signed WebRTC certificates cannot satisfy. The trigger is role negotiation plus a completed handshake on the media port; ICE-enabled legs add a requirement for the SDP ufrag/pwd connectivity-check credentials, which in practice means signaling visibility or an on-path position.
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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Media port is network-reachable and unauthenticated (AV:N/PR:N); AC:H because the attacker must intercept/win the handshake and, on ICE legs, obtain SDP credentials; C:H/I:H for media decryption and injection, A:N as the core impact is impersonation.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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, dtls_state_setup() compared a peer certificate with the SDP a=fingerprint only when FreeSWITCH was the DTLS client, not when it held the DTLS server role. An unauthenticated peer able to reach the negotiated media port could complete the DTLS-SRTP handshake with an unrelated certificate, obtain the leg's SRTP keys, decrypt and inject media, and displace the legitimate endpoint; on ICE-enabled legs the peer also needs the connectivity-check credentials from SDP, which generally requires signaling visibility or a position on its path. WebRTC and SIP DTLS-SRTP legs are affected whenever the peer selects the active role, while FreeSWITCH client-role handshakes already perform fingerprint validation. Version 1.11.2 introduces the remediation, which requires rtp_dtls_client_cert_verify_mode=fingerprint.
Technical POC Analysis
CWE-295 (Improper Certificate Validation), with the advisory also tagging CWE-300 (Channel Accessible by Non-Endpoint).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
FreeSWITCH versions 1.11.1 and earlier contain a high-severity flaw in DTLS-SRTP negotiation that allows an attacker with network access to the media port to hijack calls, decrypt and inject audio, and impersonate the legitimate endpoint. This affects WebRTC and SIP-based voice/video communications, potentially compromising confidentiality and integrity of real-time sessions. Leadership should prioritize remediation given the default-configuration exposure and potential for eavesdropping, toll fraud, or service disruption.
Restrict media port access to trusted IPs, enforce ICE connectivity checks, prefer DTLS client role where possible, monitor DTLS handshake anomalies, and segment media traffic.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Freeswitch
View allFreeSWITCH installations that accept inbound SIP MESSAGE - the default posture, since chat handling stays on in the stoc
FreeSWITCH 1.6.10 through 1.10.1 has a default password in event_socket.conf.xml. Rated critical severity (CVSS 9.8), th
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
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to
An issue was discovered in function sofia_handle_sip_i_notify in sofia.c in SignalWire freeswitch before 1.10.6, may all
FreeSWITCH through 1.8.2, when mod_xml_rpc is enabled, allows remote attackers to execute arbitrary commands via the api
Multiple buffer overflows in the switch_perform_substitution function in switch_regex.c in FreeSWITCH 1.2 allow remote a
Heap out-of-bounds read in Sofia-SIP through 1.13.18 allows unauthenticated remote attackers to crash SIP processes by s
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to
EUVD-2026-117713
NVD
CVE.org
EPSS
GitHub
Exploit-DB