9.1critical
FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 35% of CVEs)
- Published
- Last changed
- 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 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| signalwire freeswitch | < 1.11.1 | CVE List |
| freeswitch freeswitch | before 1.11.1 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49840 changed 2026-06-09 | CVE Terms of Use |
| NVD | CVE-2026-49840 changed 2026-07-23 | Public domain |