CVE-2026-116785

FreeSWITCH: Pre-authentication heap out-of-bounds write in mod_xml_rpc WebSocket frame length handling

Published Nov 5, 2026 CVSS 3.1 · 9.1 Critical EPSS 1.4% 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() 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.

Analysis

AI-generated

Technical impact

FreeSWITCH, a software‑defined telecom stack, suffered a pre‑authentication heap out‑of‑bounds write vulnerability in the mod_xml_rpc WebSocket endpoint. The ws_read_frame() routine incorrectly processes a 64‑bit extended payload length, converting the low 32 bits into a signed number and then narrowing the result. If the signed value becomes negative, the size check is bypassed and the low word is reinterpreted as a large unsigned count, causing the client data to overwrite memory beyond the 64 KiB receive buffer. The overrun can corrupt heap objects such as connection pointers, leading to a crash that terminates all concurrent sessions. Remote code execution has not been demonstrated but the memory corruption could be leveraged to modify program state.

Affected Systems

All FreeSWITCH releases prior to 1.11.2 are affected. The mod_xml_rpc module and the /socket WebSocket endpoint are disabled by default, but can be enabled by site administrators. Any installation with the module loaded and the endpoint exposed to the network is vulnerable.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity. The EPSS score of 1% suggests a relatively low probability of exploitation at present, but the vulnerability can be triggered by any unauthenticated client that can access the /socket WebSocket upgrade before HTTP authentication, which is a likely attack vector. Based on the description, it is inferred that constructing a malicious Frame with an extended payload length that results in a negative signed value is straightforward for an attacker with network access. The exploit does not require specific privileges and can be performed over the open ports used by FreeSWITCH. The flaw is not yet listed in the CISA KEV catalog, indicating no known public exploits as of now.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FreeSWITCH 1.11.2 or newer to apply the patch that corrects the WebSocket frame length decode.
  • Disable the mod_xml_rpc module or ensure it is not loaded on production instances if the feature is not required.
  • Require authentication before the WebSocket handshake for the /socket endpoint, or limit access to a trusted network segment.
  • Apply firewall or ACL rules to block unsolicited WebSocket upgrade requests to the ports used by FreeSWITCH.

Generated by OpenCVE AI on November 6, 2026 at 15:20 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() 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.
Title FreeSWITCH: Pre-authentication heap out-of-bounds write in mod_xml_rpc WebSocket frame length handling
Weaknesses CWE-122
CWE-681
CWE-787
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-681

    Incorrect Conversion between Numeric Types

  • CWE-787

    Out-of-bounds Write

Sources

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