CVE-2026-116780

FreeSWITCH: Heap out-of-bounds read in FreeSWITCH core variable expansion via `${variable:offset}` slicing

Published Nov 5, 2026 CVSS 3.1 · 2.7 Low 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, switch_event_expand_headers_check() advanced beyond its heap copy when a positive offset in ${variable:offset} exceeded the variable value's length. The following length calculation and copy appended adjacent heap memory to the expansion result, potentially exposing channel variables, credentials, allocator data, and pointer bytes. The flaw is reachable through configuration templates that slice remote input and through authenticated Event Socket eval or Event Socket expand commands; the separate channel-variable expander used by ordinary dialplan slicing is unaffected. The requester cannot choose adjacent memory and disclosure stops at a zero byte, but repeated expansion can influence the layout. This issue is fixed in version 1.11.2.

Analysis

AI-generated

Technical impact

A heap out‑of‑bounds read occurs during variable expansion in FreeSWITCH when a positive offset in the syntax ${variable:offset} exceeds the length of the variable’s value. The copy logic then reads data beyond the intended string, potentially exposing channel variables, credentials, allocator data, and pointer bytes. The leak is bounded by a terminating zero byte, so the amount of readable data is limited but still sufficient to reveal sensitive information. This flaw is classified as CWE‑125 and poses an information‑disclosure risk, not a code‑execution or denial‑of‑service vulnerability.

Affected Systems

All instances of the SignalWire FreeSWITCH product with versions prior to 1.11.2 are affected. The vulnerability is triggered through configuration templates that perform slicing of remote input or via authenticated Event Socket eval or expand commands. The ordinary dialplan variable expander used for uncomplicated slicing remains unaffected.

Risk and Exploitability

The vulnerability has a CVSS score of 2.7, indicating low severity, and it is not listed in the CISA KEV catalog. While the EPSS score is unavailable, the low CVSS and lack of a known exploit reduce the likelihood of widespread attacks. Exploitation requires authentication and the ability to craft templates or send Event Socket commands that include the ${variable:offset} syntax. The read stops at the first zero byte, and repeated expansions may influence memory layout, but they do not provide escalation or persistence. Nevertheless, because credentials and other secrets may be exposed, the risk to confidentiality warrants remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FreeSWITCH 1.11.2 or later, where the out‑of‑bounds read has been fixed.
  • If an upgrade is delayed, restrict the use of `${variable:offset}` slicing in configuration templates and disable or tightly control any remote input that could be subject to this operation.
  • Enforce strong authentication and limit Event Socket commands (eval/expand) to trusted administrators, removing or restricting privileges for untrusted users.

Generated by OpenCVE AI on November 5, 2026 at 20:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', '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, switch_event_expand_headers_check() advanced beyond its heap copy when a positive offset in ${variable:offset} exceeded the variable value's length. The following length calculation and copy appended adjacent heap memory to the expansion result, potentially exposing channel variables, credentials, allocator data, and pointer bytes. The flaw is reachable through configuration templates that slice remote input and through authenticated Event Socket eval or Event Socket expand commands; the separate channel-variable expander used by ordinary dialplan slicing is unaffected. The requester cannot choose adjacent memory and disclosure stops at a zero byte, but repeated expansion can influence the layout. This issue is fixed in version 1.11.2.
Title FreeSWITCH: Heap out-of-bounds read in FreeSWITCH core variable expansion via `${variable:offset}` slicing
Weaknesses CWE-125
CWE-200
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

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