Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach mod_xml_rpc HTTP port (default 8080)
-
DeliveryComplete /socket WebSocket upgrade before authentication
-
ExploitSend frame with crafted 64-bit extended length
-
ExecutionNegative signed length bypasses size check
-
PersistOverwrite memory past 64 KiB receive buffer
-
ImpactCorrupt handle state and crash FreeSWITCH, dropping all sessions
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap 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 | Requires a non-default configuration: mod_xml_rpc must be loaded (it is commented out of the stock modules.conf.xml) AND its WebSocket endpoint enabled via enable-websocket (commented out of the shipped xml_rpc.conf.xml). Given that, the attacker needs only a TCP connection to the module's http-port (8080 by default) and a completed /socket WebSocket upgrade; no credentials are required even when auth-realm/auth-user/auth-pass are set, because /socket is dispatched to the WebSocket handler before the HTTP digest check. A single frame using the 8-byte extended length field, with a value whose surviving low word becomes negative, is sufficient to trigger the overflow. Limiting factor: the entire attack surface exists only where an operator has explicitly opted into the XML-RPC WebSocket endpoint; default installations are not exposed. Firewalling the HTTP port to trusted networks limits reach but does not gate the authentication bypass. |
| Impact | Signals are strong but partly conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, 9.1) and the vuln.today 'act_now' label point to a serious, network-reachable, pre-authentication flaw, and the GHSA advisory confirms the WebSocket handler is reached ahead of HTTP digest authentication, so even operators who set auth-realm/auth-user/auth-pass are exposed. No EPSS score, no CISA KEV listing, and no public exploit reference were supplied, so widespread or confirmed exploitation cannot be asserted from this data. The dominant mitigating fact is deployment context, not severity: both mod_xml_rpc and its enable-websocket endpoint are shipped disabled (commented out of modules.conf.xml and xml_rpc.conf.xml), so a default FreeSWITCH install never reaches the vulnerable code. This is therefore a genuine priority only for the subset of installations that have deliberately enabled the XML-RPC WebSocket endpoint; for those, an unauthenticated attacker with network reach to the HTTP port (8080 by default) can crash the whole process and every concurrent call. Note also that the input Tags include 'RCE', but the advisory explicitly states remote code execution has not been demonstrated - confirmed impact is memory corruption leading to a crash, i.e. denial of service. |
| Exploit ScenarioDerived | An attacker with TCP reach to a FreeSWITCH host that has opted into mod_xml_rpc's WebSocket endpoint opens a connection to the HTTP port (8080 by default) and completes a /socket WebSocket upgrade, which is dispatched before any HTTP authentication. They then send a single WebSocket frame using the 8-byte extended length field with a value whose surviving low word has its high bit set, bypassing the signed size check and triggering an out-of-bounds heap write past the 64 KiB receive buffer. No public exploit identified at time of analysis; because decoding runs on the connection-servicing thread, the resulting corruption crashes the process and tears down all concurrent sessions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Heap out-of-bounds write in FreeSWITCH's mod_xml_rpc WebSocket handler lets an unauthenticated remote client crash the process and terminate every concurrent session by sending a single crafted frame to the /socket endpoint. The bug lives in ws_read_frame(), which decodes a frame's 64-bit extended payload length with a 32-bit byte swap and narrows it into a signed length; a value whose surviving low word is negative slips past the signed size check and is then used as an enormous unsigned count, so client bytes are written past the 64 KiB receive buffer. Exposure is limited to deployments that load mod_xml_rpc and set enable-websocket, both opt-in and commented out of the stock configuration, and remote code execution has not been demonstrated; version 1.11.2 fixes the flaw, and no public exploit code was identified at time of analysis.
RemediationAI
Upgrade to FreeSWITCH 1.11.2, the vendor-released patch that reworks extended-length decoding in ws_read_frame() and rejects oversized frames with a protocol close before narrowing to the signed length (see the release at https://github.com/signalwire/freeswitch/releases/tag/v1.11.2 and the advisory at https://github.com/signalwire/freeswitch/security/advisories/GHSA-jj89-q47c-gh94). If upgrading immediately is not possible, the vendor's stated workarounds are to leave enable-websocket unset, which closes /socket while the rest of the XML-RPC service keeps working, or to not load mod_xml_rpc at all; where the endpoint is genuinely required, restrict the module's http-port (8080 by default) to trusted networks at the firewall. Note that HTTP authentication is not a mitigation: requests to /socket are dispatched to the WebSocket handler ahead of the HTTP digest checks, so setting auth-realm, auth-user and auth-pass does not gate this path, and operators who believe the service is authenticated remain exposed until they patch or apply the configuration and network controls above.
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
FreeSWITCH's mod_xml_rpc module implements an XML-RPC service over HTTP and optionally a WebSocket endpoint (/socket) implemented in src/mod/xml_int/mod_xml_rpc/ws.c. The vulnerable code reads the 8-byte extended payload length field of an incoming WebSocket frame, casts the payload pointer to uint64_t*, applies ntohl() (a 32-bit swap) and assigns the result to the signed issize_t field wsh->plen. The upper 32 bits are discarded and the surviving low word can set the sign bit, producing a negative value that satisfies the signed buffer-size comparison, after which the receive loop reinterprets it as a very large unsigned count. This is a CWE-122 heap-based buffer overflow, rooted in the CWE-681 incorrect conversion between numeric types (also classed CWE-787 out-of-bounds write): an unbounded write of client-supplied bytes runs forward from the 64 KiB receive buffer through the adjacent send buffer and into the connection handle's own state, including its buffer length, payload pointer and SSL * pointer. Because decoding happens on the thread servicing the connection, a crash takes down the whole process and all concurrent sessions. The upstream fix adds ws_get_be64()/ws_put_be64() helpers that decode and encode the length across all 64 bits in network byte order, performs the bound check against wsh->buflen while the value is still unsigned, and closes the connection with WS_DATA_TOO_BIG when the declared length cannot fit, so it can never reach the signed field as a negative number.
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:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Pre-auth /socket path reached before HTTP digest gives PR:N; a single crafted frame makes AC:L; heap corruption and full-process crash give I:H and A:H with no disclosure, so C:N.
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, ws_read_frame() decoded a WebSocket frame's 64-bit extended payload length with a 32-bit byte swap and narrowed the result into a signed length. A value whose surviving low word became negative bypassed the signed size check and was reinterpreted as an enormous unsigned count, causing client bytes to overwrite memory beyond the 64 KiB receive buffer. Any client completing a /socket WebSocket upgrade on an enabled mod_xml_rpc endpoint reached the parser before HTTP authentication; both the module and WebSocket endpoint are disabled by default. The heap overwrite can corrupt connection pointers and crash FreeSWITCH, ending every concurrent session, although remote code execution has not been demonstrated. This issue is fixed in version 1.11.2.
Technical POC Analysis
CWE-122 heap-based buffer overflow in wsreadframe(), the WebSocket frame parser in FreeSWITCH modxmlrpc.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A heap out-of-bounds write vulnerability in FreeSWITCH's mod_xml_rpc WebSocket handler (CVE-2026-116785) allows an unauthenticated remote client to crash the process and terminate all active sessions, causing complete service disruption. Only deployments with the optional mod_xml_rpc module and WebSocket feature enabled are exposed, but those affected face severe operational impact from a single crafted frame, including loss of voice/video sessions and potential reputational harm.
No vendor-released patch identified at time of analysis. Interim mitigation: disable mod_xml_rpc or set enable-websocket to false if not required; restrict network access to the /socket endpoint to trusted IPs; monitor for abnormal WebSocket frames and process crashes; consider upgrading to version 1.11.2 once validated.
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
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 heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-117711
NVD
CVE.org
EPSS
GitHub
Exploit-DB