CVE-2026-49840
CRITICALFreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9
X_Refsource_Misc x_refsource_misc
https://github.com/signalwire/freeswitch/releases/tag/v1.11.1
Scores
CVSS v3
9.1
EPSS
0.0027
EPSS Percentile
18.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-122
CWE-195
CWE-20
CWE-787
Status
published
Products (2)
freeswitch/freeswitch
< 1.11.1
signalwire/freeswitch
< 1.11.1
Published
Jun 09, 2026
Tracked Since
Jun 09, 2026