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

Published Nov 5, 2026
·
Updated

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, switchxmlampencode() 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 modxmlcdr, 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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FreeSWITCH to a version that resolves this vulnerability.

    Fixed in 1.11.2

Event History

Nov 5, 2026
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are most likely to be exposed?

Deployments that serialize caller-controlled values through mod_xml_cdr, conference or formatted CDR XML, XML Event Socket output, or XML API output are the identified reachable surfaces. The issue requires remote-supplied text to be serialized on one of these paths.

2

What conditions are required to trigger the overflow?

A four-byte UTF-8 sequence must be processed by switch_xml_ampencode() when the output lands at the exact buffer-growth boundary. The resulting terminating NUL byte is written one byte beyond the heap allocation.

3

What impact has been demonstrated?

The fixed zero-byte heap write can abort the FreeSWITCH process or truncate an adjacent heap object. Remote code execution has not been demonstrated.

4

Which versions need remediation?

Versions before 1.11.2 are affected. The issue is fixed in FreeSWITCH 1.11.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203