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.