CVE-2026-116574

FreeSWITCH: Off-by-one heap write in core XML serialization of four-byte UTF-8 sequences

Published Nov 5, 2026 CVSS 3.1 · 5.9 Medium 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_xml_ampencode() reserved only ten bytes for the widest numeric character reference produced from a four-byte UTF-8 sequence, omitting space for the terminating NUL. When remote-supplied text was serialized at the exact buffer-growth boundary, the terminator wrote one byte beyond the heap allocation. Reachable surfaces include mod_xml_cdr, conference and formatted CDR XML, XML Event Socket output, and XML API output that serializes caller-controlled values. The fixed zero-byte write can abort the process or truncate an adjacent object, while remote code execution has not been demonstrated. This issue is fixed in version 1.11.2.

Analysis

AI-generated

Technical impact

FreeSWITCH, prior to version 1.11.2, contained an off‑by‑one heap write in the core XML serialization routine. When a remote attacker supplies a specially crafted UTF‑8 text that reaches the buffer boundary, the routine writes a terminating NUL one byte past the end of the allocated buffer. The resulting memory corruption can cause the process to abort or truncate a neighboring object, potentially leading to a denial of service or unintended data exposure. No remote code execution has been demonstrated, but the corruption may affect the integrity of XML output.

Affected Systems

The vulnerability affects installations of SignalWire’s FreeSWITCH software older than 1.11.2. It applies when components that serialize caller‑controlled data are used, including mod_xml_cdr, conference, formatted CDR XML, XML Event Socket, and XML API modules. Any remote client that can influence the XML content provided to these components could exploit the flaw.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. EPSS is not available and the issue is not listed in the CISA KEV catalog, suggesting limited public exploitation. Nonetheless, the flaw requires control over XML data passed to the vulnerable modules; if achieved, it can lead to service disruption or data corruption. Organizations should treat the risk as moderate and consider it a potential denial‑of‑service vector until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FreeSWITCH 1.11.2 or later to apply the heap‑write fix
  • If immediate upgrade is not feasible, disable or restrict the XML API, XML Event Socket, and mod_xml_cdr features that accept remote XML input, limiting access to trusted accounts or internal networks
  • Monitor system logs for abnormal terminations or corrupted XML output that could indicate exploitation attempts

Generated by OpenCVE AI on November 5, 2026 at 20:42 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 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_xml_ampencode() reserved only ten bytes for the widest numeric character reference produced from a four-byte UTF-8 sequence, omitting space for the terminating NUL. When remote-supplied text was serialized at the exact buffer-growth boundary, the terminator wrote one byte beyond the heap allocation. Reachable surfaces include mod_xml_cdr, conference and formatted CDR XML, XML Event Socket output, and XML API output that serializes caller-controlled values. The fixed zero-byte write can abort the process or truncate an adjacent object, while remote code execution has not been demonstrated. This issue is fixed in version 1.11.2.
Title FreeSWITCH: Off-by-one heap write in core XML serialization of four-byte UTF-8 sequences
Weaknesses CWE-193
CWE-787
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 10:39 PM
Reserved
Oct 26, 2026, 3:03 PM
Status
Awaiting Analysis
Published
Nov 5, 2026, 7:17 PM
Modified
Nov 10, 2026, 9:46 PM