Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to mod_xml_rpc HTTP port 8080
-
DeliverySend WebSocket upgrade for /socket pre-auth
-
ExploitDeliver masked frame at receive-buffer capacity
-
ExecutionUnmask loop XORs 14 bytes past buffer
-
ImpactCorrupt same connection's outbound buffer
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
|
| Exploitation Conditions | Exploitation requires a non-default configuration: mod_xml_rpc must be explicitly loaded (it is not in the stock configuration) AND enable-websocket must be added to xml_rpc.conf.xml to turn on the WebSocket endpoint. Given both, an attacker needs only a TCP connection to the module's HTTP port (8080 by default) and a WebSocket upgrade request for the /socket URI; because that URI is dispatched ahead of the module's HTTP digest check, auth-realm/auth-user/auth-pass do not gate it and no credentials, registration, or prior state are needed (matching PR:N). The trigger is a single masked frame declaring a payload length at the 64 KiB receive buffer's capacity. Key LIMITS on real-world impact: both enabling features are operator opt-ins absent by default, and the advisory confirms the overwrite stays within the sending connection's own wsh_t handle, so no cross-session disclosure or crash has been shown; configuring the module's HTTP credentials is explicitly not a mitigation since /socket precedes the digest check. |
| Impact | Signals point to a genuine but low-urgency issue rather than an emergency. The supplied CVSS is 5.3 (medium) with AV:N/AC:L/PR:N/UI:N and only I:L impact; the integrity impact is real but narrow. The decisive mitigating factor is configuration: the GHSA advisory confirms mod_xml_rpc is not loaded by the stock configuration and its WebSocket endpoint stays off until an operator adds enable-websocket to xml_rpc.conf.xml, so the pre-authentication reachability (PR:N) only applies to deployments that deliberately opted into both. The advisory further states the two out-of-bounds writes (up to 14 XOR'd bytes plus a one-byte NUL) stay inside the same per-connection wsh_t handle's adjacent outbound buffer, reaching no allocator metadata, pointer member, or other session's memory, and that neither a crash nor a memory disclosure has been demonstrated - consistent with C:N/A:N. No EPSS score was provided, the CVE is not in CISA KEV, and no working exploit code is referenced (only the GHSA advisory, the fix commit, and the release tag). The vuln.today decision label is this_month, not act_now/emergency, which matches the picture of a config-gated, impact-bounded flaw. Net: patch on a normal maintenance cadence; prioritize ahead of that only if mod_xml_rpc's WebSocket endpoint is actually exposed. |
| Exploit ScenarioDerived | On a FreeSWITCH host where an operator has loaded mod_xml_rpc and enabled its WebSocket endpoint, a remote attacker opens a TCP connection to the module's HTTP port (8080 by default) and sends a WebSocket upgrade for the /socket URI, which is dispatched before the HTTP digest check so no credentials are needed. The attacker then sends a single masked frame whose declared payload length fills the 64 KiB receive buffer, causing the unmasking loop to XOR up to 14 bytes past the buffer into the connection's own outbound frame buffer with an attacker-chosen mask key. No public working exploit code is referenced - only the vendor advisory and fix commit - and the corruption is confined to the attacker's own connection. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Out-of-bounds writes in FreeSWITCH's mod_xml_rpc WebSocket frame parser allow unauthenticated remote attackers to corrupt a few bytes of a connection's own outbound buffer when the module and its opt-in WebSocket endpoint are both enabled. The flaw affects releases prior to 1.11.2 and is reachable via a WebSocket upgrade to the /socket URI, which is dispatched ahead of the module's HTTP digest check, so no credentials are required (PR:N in the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N vector). Impact is constrained: mod_xml_rpc is not loaded in the stock configuration and enable-websocket must be added to xml_rpc.conf.xml, both writes stay inside the sending connection's own wsh_t allocation, and no crash or cross-session disclosure has been demonstrated; no public exploit code or CISA KEV entry was identified at time of analysis.
RemediationAI
Upgrade to FreeSWITCH 1.11.2, which contains the fix commit fb9f37b9c7869630ee52a3ae87399fbbf99ad74d bounding the unmask loop to wsh->rplen and tightening the frame size guard; see the advisory at https://github.com/signalwire/freeswitch/security/advisories/GHSA-4cg6-rvh2-cw74 for release details. Where immediate upgrade is not possible, remove enable-websocket from xml_rpc.conf.xml to turn off the vulnerable WebSocket endpoint (this disables WebSocket-based XML-RPC clients but leaves the module's other HTTP functionality intact), or leave mod_xml_rpc unloaded entirely on systems that do not use the HTTP API (removing that management surface altogether). Additionally restrict the module's HTTP port, 8080 by default, to trusted networks so an untrusted host cannot complete the WebSocket upgrade to /socket; note that configuring the module's auth-realm, auth-user and auth-pass credentials is explicitly not a mitigation, because the /socket URI is dispatched before the HTTP digest check and remains reachable without authentication.
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 is a software-defined telecom stack, and the affected component is the mod_xml_rpc module's WebSocket implementation in src/mod/xml_int/mod_xml_rpc/ws.c. The root cause is an off-by-one/off-by-count class error (CWE-193, mapped in the advisory also to CWE-787): ws_read_frame() unmasks an inbound frame by iterating wsh->datalen, a length that counts the frame header and mask key as well as the payload, while indexing wsh->payload, which points past the header. For a masked frame whose declared length fills the module's 64 KiB receive buffer, the XOR loop therefore runs up to 14 bytes past the end of the buffer using the client-supplied mask key, and the frame size guard separately admitted a frame filling the buffer exactly, so the terminating NUL landed one byte out of bounds. Because the wsh_t handle is a single allocation in which the receive buffer is immediately followed by the outbound frame buffer, the overrun stays within the same connection's queued outbound data; no allocator metadata, pointer member, or other session's memory is reachable, so neither a process crash nor a memory disclosure has been demonstrated. The fix bounds the unmasking loop by wsh->rplen (the payload byte count) and changes the size guard to reject a frame that would fill the receive buffer exactly, reserving the byte the terminating NUL writes and reducing the largest accepted frame to 65535 bytes of header plus payload.
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:L/A:N
Network-reachable before auth on the opt-in /socket endpoint (AV:N/PR:N/UI:N) via a single crafted frame (AC:L); only limited integrity impact to the connection's own buffer, with no demonstrated disclosure or crash (C:N/I:L/A:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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() unmasked a WebSocket payload by iterating wsh->datalen, which included frame headers, while indexing from the payload pointer. A masked frame filling the 64 KiB receive buffer could therefore XOR up to 14 bytes beyond the buffer, and the exact-capacity case also wrote a terminating NUL one byte out of bounds. The flaw is reachable before authentication when mod_xml_rpc and its opt-in WebSocket endpoint are enabled, while both features are disabled in the stock configuration. The writes remain within the same connection handle's adjacent outbound buffer, so neither a process crash nor cross-session disclosure has been demonstrated. This issue is fixed in version 1.11.2.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-117712
NVD
CVE.org
EPSS
GitHub
Exploit-DB