{"id":"CVE-2026-49840","published":"2026-06-09T16:00:56Z","modified":"2026-06-09T17:00:21Z","title":"FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing","vendor":"signalwire","product":"freeswitch","tier":"tail","description":{"text":"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 version 1.11.1, esl_recv_event() parses Content-Length with atol() and passes the result straight to malloc(len + 1) with no sign or magnitude check. A malicious or man-in-the-middle ESL peer can send a frame with a negative Content-Length to corrupt the heap of, or crash, any process linked against libesl, before the client has authenticated to that peer. This issue has been patched in version 1.11.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0031,"percentile":0.24446,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-195","name":"Signed to Unsigned Conversion Error"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/signalwire/freeswitch/releases/tag/v1.11.1","tags":["x_refsource_MISC"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":4.89},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"signalwire","affectedVersions":[{"vendor":"signalwire","product":"freeswitch","versions":["< 1.11.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-09T16:59:32.826404Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-35471","exploited":false,"provenance":"source"}}