# CVE-2026-116785: FreeSWITCH: Pre-authentication heap out-of-bounds write in mod_xml_rpc WebSocket frame length handling

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.28%, higher than 70% of CVEs (2026-12-01)
- Published: 2026-11-05T19:26:13.165Z
- Modified: 2026-11-10T18:56:32.613Z
- Weaknesses: CWE-122, CWE-681, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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, ws_read_frame() decoded a WebSocket frame's 64-bit extended payload length with a 32-bit byte swap and narrowed the result into a signed length. A value whose surviving low word became negative bypassed the signed size check and was reinterpreted as an enormous unsigned count, causing client bytes to overwrite memory beyond the 64 KiB receive buffer. Any client completing a /socket WebSocket upgrade on an enabled mod_xml_rpc endpoint reached the parser before HTTP authentication; both the module and WebSocket endpoint are disabled by default. The heap overwrite can corrupt connection pointers and crash FreeSWITCH, ending every concurrent session, although remote code execution has not been demonstrated. This issue is fixed in version 1.11.2.

(As written by CVE List.)

## Affected

- signalwire freeswitch: < 1.11.2
- freeswitch freeswitch: before 1.11.2

## References

- <https://github.com/signalwire/freeswitch/security/advisories/GHSA-jj89-q47c-gh94> (mitigation, vendor-advisory)
- <https://github.com/signalwire/freeswitch/commit/d557ca6d29e6da4f10824dc158100906a592b91a> (patch)
- <https://github.com/signalwire/freeswitch/releases/tag/v1.11.2> (release-notes)

## Sources

- CVE List: [CVE-2026-116785](https://www.cve.org/CVERecord?id=CVE-2026-116785), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-116785](https://nvd.nist.gov/vuln/detail/CVE-2026-116785), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-116785 · Whole record: https://cve.day/CVE-2026-116785.json · Rebuilt by cve.day 2026-11-25T22:59:49.172Z
