CVE-2026-116781

FreeSWITCH: Pre-authentication out-of-bounds writes in mod_xml_rpc WebSocket frame parsing

Published Nov 5, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

FreeSwitch’s mod_xml_rpc WebSocket frame parsing routine contains a pre-authentication out-of-bounds write. The ws_read_frame() function unmasked a WebSocket payload by iterating over the frame’s full data length, including headers, while indexing from the payload pointer. In a masked frame that fills the 64 KiB receive buffer, the routine may XOR up to 14 bytes beyond the buffer and, in the exact-capacity case, write a terminating NUL byte one byte past the buffer’s end. These writes remain within the same connection handle’s adjacent outbound buffer; no crash or cross-session disclosure has been demonstrated.

Affected Systems

The vulnerability impacts all FreeSwitch releases prior to version 1.11.2 when the mod_xml_rpc module and its optional WebSocket endpoint are enabled. The default stock configuration disables both features, but administrators who enable the module or the WebSocket interface are exposed. The affected product is signalwire: freeswitch.

Risk and Exploitability

The CVSS score is 5.3, indicating a medium-level severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. Because the flaw is reachable before authentication and can be triggered over the network via the mod_xml_rpc WebSocket endpoint, an unauthenticated attacker could invoke the out-of-bounds write on a vulnerable FreeSwitch installation. The documented impact is limited to memory corruption within the same connection’s buffer; no crash or disclosure has been demonstrated, but the vulnerability could affect memory integrity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeSwitch to version 1.11.2 or later to incorporate the fixed WebSocket frame parser
  • If an upgrade cannot be performed immediately, disable the mod_xml_rpc module in the configuration and restart the service
  • Disable the WebSocket endpoint within the mod_xml_rpc module to prevent masked frames from being processed
  • Verify that no other enabled modules expose a WebSocket interface with masking enabled in the configuration

Generated by OpenCVE AI on November 5, 2026 at 21:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Freeswitch
Freeswitch freeswitch
CPEs cpe:2.3:a:freeswitch:freeswitch:*:*:*:*:*:*:*:*
Vendors & Products Freeswitch
Freeswitch freeswitch
Type Values Removed Values Added
First Time appeared Signalwire
Signalwire freeswitch
Vendors & Products Signalwire
Signalwire freeswitch
Type Values Removed Values Added
Description 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.
Title FreeSWITCH: Pre-authentication out-of-bounds writes in mod_xml_rpc WebSocket frame parsing
Weaknesses CWE-193
CWE-787
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 10:42 PM
Reserved
Oct 26, 2026, 9:53 PM
Status
Analyzed
Published
Nov 5, 2026, 8:17 PM
Modified
Nov 10, 2026, 6:57 PM