CVE-2026-116785
Analyzed Analyzed - Analysis Complete

Heap Overflow in FreeSWITCH WebSocket Parser

Vulnerability report for CVE-2026-116785, 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() 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-10
Generated
2026-11-13
AI Q&A
2026-11-06
EPSS Evaluated
2026-11-12
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-787 The product writes data past the end, or before the beginning, of the intended buffer.
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
CWE-681 When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-116785 is a critical heap-based buffer overflow in FreeSWITCH versions 1.11.1 and earlier. The flaw occurs in the WebSocket frame length handling of the mod_xml_rpc module. When decoding a WebSocket frame's 64-bit payload length, the code incorrectly used a 32-bit byte swap, discarding the upper 32 bits. If the remaining value's high bit was set, it became negative, bypassing buffer-size checks. This caused the receive buffer to be filled with an enormous amount of client data, overwriting adjacent memory including connection pointers. The issue allows crashes or memory corruption but remote code execution has not been demonstrated.

Detection Guidance

Check FreeSWITCH version with 'freeswitch -version' to confirm if it is 1.11.1 or earlier. Inspect loaded modules with 'module list' to see if mod_xml_rpc is active. Monitor logs for crashes or memory corruption errors, especially after WebSocket connections to /socket endpoints. Use network tools like 'tcpdump' or 'Wireshark' to capture traffic on the HTTP port for suspicious WebSocket handshake attempts.

Impact Analysis

This vulnerability allows unauthenticated attackers to crash FreeSWITCH, terminating all concurrent sessions. It can cause memory corruption by overwriting heap data, potentially leading to service disruption. While remote code execution is not confirmed, the heap overwrite could corrupt critical pointers, causing instability. The attack requires only a TCP connection to the module's HTTP port and a completed WebSocket upgrade, bypassing authentication entirely.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by enabling unauthorized memory corruption or crashes in FreeSWITCH systems handling sensitive data. A successful exploit could disrupt services, leading to data processing interruptions that violate availability requirements under GDPR and HIPAA. Additionally, potential memory corruption might compromise data integrity, though remote code execution has not been demonstrated.

Mitigation Strategies

Upgrade FreeSWITCH to version 1.11.2 or later immediately. If upgrading is not possible, disable the mod_xml_rpc module with 'unload mod_xml_rpc' and disable the WebSocket endpoint by setting 'ws-enabled=false' in the module configuration. Restrict access to the HTTP port using firewall rules to allow only trusted IPs. Monitor system stability and logs for signs of exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-116785. 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...