{"id":"CVE-2026-116781","summary":"FreeSWITCH: Pre-authentication out-of-bounds writes in mod_xml_rpc WebSocket frame parsing","details":"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() unmasked a WebSocket payload by iterating wsh-\u003edatalen, which included frame headers, while indexing from the payload pointer. A masked frame filling the 64 KiB receive buffer could therefore XOR up to 14 bytes beyond the buffer, and the exact-capacity case also wrote a terminating NUL one byte out of bounds. The flaw is reachable before authentication when mod_xml_rpc and its opt-in WebSocket endpoint are enabled, while both features are disabled in the stock configuration. The writes remain within the same connection handle's adjacent outbound buffer, so neither a process crash nor cross-session disclosure has been demonstrated. This issue is fixed in version 1.11.2.","aliases":["GHSA-4cg6-rvh2-cw74"],"modified":"2026-11-12T07:06:26.672866068Z","published":"2026-11-05T19:28:09.040Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-193","CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116781.json"},"references":[{"type":"WEB","url":"https://github.com/signalwire/freeswitch/releases/tag/v1.11.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116781.json"},{"type":"ADVISORY","url":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-4cg6-rvh2-cw74"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116781"},{"type":"FIX","url":"https://github.com/signalwire/freeswitch/commit/fb9f37b9c7869630ee52a3ae87399fbbf99ad74d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/signalwire/freeswitch","events":[{"introduced":"0"},{"fixed":"3f13ad1b1d323e435757fc43a2bb829d4ea5b9a8"},{"fixed":"fb9f37b9c7869630ee52a3ae87399fbbf99ad74d"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.11.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:freeswitch:freeswitch:*:*:*:*:*:*:*:*"},{"range":[{"fixed":"fb9f37b9c7869630ee52a3ae87399fbbf99ad74d"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"3f13ad1b1d323e435757fc43a2bb829d4ea5b9a8"}],"source":"REFERENCES_TAG","original_tag":"v1.11.2"}]}}],"versions":["v1.11.1","v1.11.0","v1.10.12","v1.10.11","v1.10.10","v1.10.9","v1.10.8","v1.10.7","v1.10.6","v1.10.5","v1.10.4","v1.10.3","v1.10.2","v1.10.1","v1.10.0","v1.6.0","v1.5.final","v1.5.14","v1.5.13","v1.5.12","v1.5.10","v.15.9","v1.5.8","v1.5.5","v1.5.2","v1.5.1","v1.5.0","v1.3.17-final","v1.3.16","v1.3.15","v1.3.14","v1.3.13","v1.3.12","v.1.3.12","v0.0.1","v1.3.11","v1.3.10","v1.3.9","v1.3.8","v1.3.7","v1.3.6","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2-rc2","v1.2-rc1","git2svn-syncpoint-master"],"database_specific":{"vanir_signatures_modified":"2026-11-12T07:06:26Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116781.json","vanir_signatures":[{"id":"CVE-2026-116781-2891132c","signature_type":"Function","signature_version":"v1","source":"https://github.com/signalwire/freeswitch/commit/fb9f37b9c7869630ee52a3ae87399fbbf99ad74d","target":{"file":"src/mod/xml_int/mod_xml_rpc/ws.c","function":"ws_read_frame"},"deprecated":false,"digest":{"length":2782,"function_hash":"151619817036061276814228947736837178846"}},{"id":"CVE-2026-116781-c18e9bd5","signature_type":"Line","signature_version":"v1","source":"https://github.com/signalwire/freeswitch/commit/fb9f37b9c7869630ee52a3ae87399fbbf99ad74d","target":{"file":"src/mod/xml_int/mod_xml_rpc/ws.c"},"deprecated":false,"digest":{"line_hashes":["35778443794810725404550675534773695676","27011790839390715903846913715846468420","60158328853986021465552912539394692797","280962111314114800317057783432674788191","259494995535701039983064787203612116053","11186864556301326890712239115798401596","119505255523358338764895746223088967369","198664705463668993342752476747290432653"],"threshold":0.9}}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}