CVE-2026-49840

CRITICAL

FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing

Title source: cna
STIX 2.1

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.

References (2)

Core 2

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