CVE-2026-116781
Analyzed Analyzed - Analysis Complete

Heap Overflow in FreeSWITCH WebSocket Handling

Vulnerability report for CVE-2026-116781, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-10

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-10
Generated
2026-11-14
AI Q&A
2026-11-06
EPSS Evaluated
2026-11-13
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
freeswitch freeswitch to 1.11.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-193 A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds write flaw in FreeSWITCH's WebSocket frame processing function, ws_read_frame(), within the mod_xml_rpc module. It occurs when processing masked WebSocket frames that fill or nearly fill the 64 KiB receive buffer. The function incorrectly unmasked payloads by iterating over the total data length including headers instead of just the payload length, causing up to 14 bytes to be written past the buffer's end. If the frame exactly filled the buffer, it also wrote a NUL terminator one byte out of bounds.

Detection Guidance

To detect this vulnerability, check if FreeSWITCH versions 1.11.1 or earlier are running and if mod_xml_rpc is loaded with the WebSocket endpoint enabled. Inspect the module configuration file for enable-websocket=true in mod_xml_rpc.conf.xml. Verify if the HTTP port 8080 is open and if the /socket URI is accessible via WebSocket upgrade requests.

Impact Analysis

The impact is limited to the specific connection sending the malicious frame. It corrupts only the outbound buffer within the same connection handle, without causing crashes or cross-session memory disclosure. An attacker could manipulate memory adjacent to the buffer, potentially altering data in the same connection's outbound frame buffer. Exploitation requires a TCP connection to the module's HTTP port and a WebSocket upgrade request to /socket URI before authentication.

Compliance Impact

This vulnerability primarily affects data integrity within a single connection's memory space. While it does not directly cause data disclosure or crashes, it could potentially allow unauthorized modification of transmitted data. For GDPR, this may impact integrity requirements for personal data processing. For HIPAA, it could affect the integrity of transmitted protected health information. However, the limited scope and lack of demonstrated cross-session impact reduce the compliance risk.

Mitigation Strategies
  • Disable the WebSocket endpoint in mod_xml_rpc.conf.xml by setting enable-websocket=false.
  • Unload the mod_xml_rpc module if it is not required for operation.
  • Upgrade FreeSWITCH to version 1.11.2 or later to apply the security fix.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-116781. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...