CRITICAL🇵🇱 Wersja polska

CVE-2026-49840

CVSS 9.1v3.1pub. 2026-06-09upd. 2026-06-10

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.

🤖 AI Analysis
How it works

The esl_recv_event() function reads the Content-Length header value using atol(), which can return a negative number. The result is directly passed to malloc(len + 1) without any verification of sign or value size. A malicious ESL peer or an attacker performing a man-in-the-middle attack can send a frame with a negative Content-Length, leading to improper memory allocation (heap buffer overflow) and consequently heap corruption or immediate crash of the process using libesl.

Impact

An attacker can remotely cause a crash of any process linked with the libesl library or corrupt heap memory, potentially opening the way for further compromise of system integrity or availability. The attack is possible before client authentication to the peer.

Mitigation & patch

FreeSWITCH must be updated to version 1.11.1, in which the issue has been fixed. The patch is available in the official repository: https://github.com/signalwire/freeswitch/releases/tag/v1.11.1

Who is affected

FreeSWITCH in versions prior to 1.11.1 — all processes and applications linked with the libesl library.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Freeswitch

    APP
    Freeswitch
    < 1.11.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-49841CRITICAL9.8PL ✓same product

FreeSWITCH mod_verto: heap buffer overflow przed autoryzacją HTTP

CVE-2019-19492CRITICAL9.8PL ✓same product

FreeSWITCH — domyślne hasło w konfiguracji Event Socket (CWE-798)

CVE-2026-49475HIGH7.5same product

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom sw...

CVE-2026-45771HIGH7.5same product

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom sw...

CVE-2026-49842HIGH7.5same product

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom sw...