CVE-2026-116786
Analyzed Analyzed - Analysis Complete

Heap Overflow in FreeSWITCH sofia_handle_sip_i_refer

Vulnerability report for CVE-2026-116786, 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, sofia_handle_sip_i_refer() placed raw Refer-To URI parameters and headers inside a sip_invite_params channel-variable block passed to switch_ivr_originate(). The originate parser treated a comma in the attacker-controlled value as a variable separator, allowing an authenticated caller on a bridged call to inject arbitrary variables into a newly originated leg. An injected execute_on_originate value could invoke the system dialplan application before answer and execute operating-system commands with the FreeSWITCH process privileges. SIP REFER is enabled by default, and the sender needs only a registered account and a call that takes the off-box transfer path, not administrative or Event Socket access. 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-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-116786 is a command injection vulnerability in FreeSWITCH versions before 1.11.2. It occurs in the SIP REFER request handling in mod_sofia. An authenticated user can inject malicious channel variables by placing a comma in the Refer-To URI, which the originate parser misinterprets as a variable separator. This allows setting arbitrary variables like execute_on_originate, executing shell commands as the FreeSWITCH process user before call answer.

Detection Guidance

To detect this vulnerability, check FreeSWITCH versions prior to 1.11.2. Run: freeswitch -version. Monitor SIP traffic for REFER requests with commas in Refer-To URIs. Inspect logs for unexpected channel variable injections or command executions before call answers.

Impact Analysis

This vulnerability allows an attacker with a registered SIP account and an active call to execute arbitrary operating system commands on the FreeSWITCH server with the same privileges as the FreeSWITCH process. This can lead to full system compromise, data theft, or service disruption. The attack requires no administrative access or additional user interaction.

Compliance Impact

This vulnerability could severely impact compliance with GDPR and HIPAA by enabling unauthorized command execution on systems handling sensitive data. It may lead to data breaches, unauthorized access to personal health information, or other regulated data, resulting in legal penalties, reputational damage, and loss of compliance certifications.

Mitigation Strategies

Upgrade FreeSWITCH to version 1.11.2 or later. Disable SIP REFER transfers by setting disable-transfer=true in SIP profiles. Block external SIP REFER requests at the firewall if not required. Monitor for suspicious activity in logs.

Chat Assistant

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