{"id":"CVE-2026-49840","aliases":["CVE-2026-49840"],"related":[],"kind":"vulnerability","state":"published","title":"FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"FreeSWITCH es una Pila de Telecomunicaciones Definida por Software que permite la transformación digital desde conmutadores de telecomunicaciones propietarios a una implementación de software que se ejecuta en cualquier hardware comercial. Antes de la versión 1.11.1, esl_recv_event() analiza Content-Length con atol() y pasa el resultado directamente a malloc(len + 1) sin verificación de signo o magnitud. Un par ESL malicioso o man-in-the-middle puede enviar una trama con un Content-Length negativo para corromper el heap de, o bloquear, cualquier proceso enlazado contra libesl, antes de que el cliente se haya autenticado con ese par. Este problema ha sido parcheado en la versión 1.11.1.","source":"nvd"}],"published":"2026-06-09T16:00:56.687Z","modified":"2026-07-23T08:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-20","CWE-122","CWE-195","CWE-787"],"affected":[{"ranges":[{"version":"< 1.11.1","status":"affected"}],"vendor":"signalwire","product":"freeswitch","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.11.1"}],"vendor":"freeswitch","product":"freeswitch","cpe":"cpe:2.3:a:freeswitch:freeswitch:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9","tags":["third-party-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/signalwire/freeswitch/releases/tag/v1.11.1","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-09T16:59:32.826Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49840","url":"https://www.cve.org/CVERecord?id=CVE-2026-49840","licence":"CVE Terms of Use","modified":"2026-06-09T17:00:21.313Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49840","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49840","licence":"Public domain","modified":"2026-07-23T08:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:24.232Z","epss":{"score":0.00485,"percentile":0.34518,"date":"2026-11-30T12:00:22.000Z"}}