
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-116788 is a pre-authentication heap buffer overflow vulnerability in FreeSWITCH, an open-source software telecommunications platform, caused by an integer underflow in the switch_xml_decode() function. When an XML document declares a DTD entity with an empty replacement value, the buffer size calculation underflows, resulting in an undersized heap allocation; subsequent copying overruns the buffer. All FreeSWITCH versions prior to 1.11.2 are affected. The vulnerability was published on November 5, 2026, and fixed in version 1.11.2. It carries a CVSS v3.1 base score of 8.2 (High) (GitHub Advisory, Red Hat).
The root cause is an integer underflow (CWE-191) in switch_xml_decode() that leads to an incorrect buffer size calculation (CWE-131) and a subsequent heap-based buffer overflow (CWE-122/CWE-787). When a DTD entity with an empty replacement value is declared, the subtraction used to size the allocation wraps around, producing a value smaller than needed by the length of the entity name plus two bytes. The copy that follows writes the remainder of the document past the end of the allocation, giving the attacker control over both the overflow length and its contents. The PIDF body of a SIP PUBLISH request is parsed before any digest, registration, or ACL check, meaning a single unauthenticated network request to a SIP profile with manage-presence enabled and DTD processing permitted is sufficient to trigger the flaw; TLS does not mitigate this because parsing occurs after transport termination (GitHub Advisory).
Successful exploitation corrupts heap memory and terminates the FreeSWITCH process, immediately interrupting all active calls on the affected system — a severe availability impact for any telephony or unified communications deployment. While remote code execution has not been demonstrated, the attacker controls both the overflow length and content, leaving open the theoretical possibility of further exploitation. Confidentiality impact is assessed as none, and integrity impact is low (GitHub Advisory, Red Hat Bugzilla).
No public proof-of-concept exploit code has been observed, and there is no evidence of in-the-wild exploitation at this time (GitHub Advisory). The vulnerability is classified as automatable (no user interaction, no credentials required), making it attractive for mass scanning. The EPSS score is approximately 0.41%, reflecting a currently low but non-negligible probability of exploitation. The CVE is not listed in the CISA Known Exploited Vulnerabilities catalog. Credit for discovery goes to researcher Olivier Laflamme (GitHub Advisory).
manage-presence=true (the default internal profile) and DTD processing enabled.<!DOCTYPE foo [<!ENTITY e "">]> followed by a reference to &e; in the document body.switch_xml_decode() function computes an undersized buffer allocation due to the integer underflow, then copies the remainder of the XML document past the end of the allocation, corrupting heap memory.<!DOCTYPE or <!ENTITY declarations) in PIDF payloads.switch_xml_decode() or the presence/PIDF handler; abrupt process termination events correlated with inbound SIP PUBLISH traffic.freeswitch process (exit code indicating signal, e.g., SIGSEGV or SIGABRT); core dump files generated in the FreeSWITCH working directory following a crash.core.*) in the FreeSWITCH installation or working directory, timestamped around the time of suspicious SIP PUBLISH activity (GitHub Advisory, Red Hat Bugzilla).Upgrade FreeSWITCH to version 1.11.2 or later, which fixes the integer underflow by correctly computing the replacement length before the comparison and handling empty entity replacements in place without an undersized allocation (FreeSWITCH v1.11.2 Release). If immediate patching is not feasible, three workarounds are available: (1) set the xml_disable_dtd core variable (available since 1.11.0) to prevent DTD processing entirely; (2) set manage-presence=false on SIP profiles exposed to untrusted networks, which prevents PUBLISH requests from reaching the presence handler (note: this disables BLF and presence features); or (3) restrict the affected SIP listener to trusted networks via firewall rules, bind address configuration, or SIP ACLs (GitHub Advisory).
The vulnerability was disclosed via a GitHub Security Advisory by SignalWire maintainer andywolk and credited to researcher Olivier Laflamme (GitHub Advisory). Red Hat tracked the issue via Bugzilla and assigned it high severity/priority (Red Hat Bugzilla). Community discussion was observed on Mastodon/infosec.exchange and Bluesky shortly after publication, and the vulnerability was indexed by multiple threat intelligence aggregators including VulDB and OSV. The FreeSWITCH v1.11.2 release notes explicitly highlighted the fix and strongly encouraged all users to upgrade promptly (FreeSWITCH v1.11.2 Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."