Skip to main content

FreeSWITCH EUVDEUVD-2026-35471

| CVE-2026-49840 CRITICAL
Improper Input Validation (CWE-20)
2026-06-09 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify libesl-linked client target
  2. Delivery
    Position as rogue or MITM ESL peer
  3. Exploit
    Send ESL frame with negative Content-Length
  4. Execution
    Trigger atol() into malloc() size confusion
  5. Persist
    Corrupt client heap on body read
  6. Impact
    Crash process or pivot to code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

The victim must be a process linked against libesl that initiates or accepts an ESL connection to a peer the attacker can either control directly or sit on-path between (man-in-the-middle), and exploitation occurs before the client authenticates to that peer, so no FreeSWITCH credentials are required. The attacker must be able to deliver an ESL frame containing a negative Content-Length header value to esl_recv_event() - meaning network reachability to the libesl client's ESL session is required, but no special configuration toggle or non-default mode is needed because Content-Length parsing is on the default ESL receive path. Limiting factors are that the target deployment must actually use a libesl-linked client (FreeSWITCH server-only deployments that never run libesl tooling are not directly exposed), that the attacker must be a peer or MITM rather than an unrelated internet attacker, and that the bug exists only in FreeSWITCH versions below 1.11.1.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H indicates a network-reachable, low-complexity, unauthenticated bug with high integrity and availability impact but no confidentiality impact, which aligns with a heap-corruption-or-crash primitive rather than data disclosure. The Tags label this as a Denial of Service issue, but the underlying heap corruption primitive theoretically permits more than crashing, so the realistic worst case may be higher than DoS alone - confirmation would require exploit research that is not present in the provided data. There is no CISA KEV listing, no public exploit identified at time of analysis, and no EPSS score provided in the input, so real-world targeting signal is weak; however, the bug is reachable before authentication and the direction of attack is unusual (a malicious or MITM ESL server attacking the client), so priority should be elevated for any deployment where libesl-linked tooling connects to untrusted or network-exposed ESL endpoints. SSVC-style assessment: exploitation status none-observed, automatable likely (single crafted frame), technical impact partial-to-total depending on heap layout - a real priority for affected deployments, not a paper tiger.

Exploit ScenarioDerived

An attacker who controls an ESL endpoint that a victim libesl-linked client connects to - for example a rogue FreeSWITCH server, a compromised orchestration node, or an on-path attacker between a monitoring script and a legitimate FreeSWITCH host - responds to the client's connection with a crafted ESL frame whose Content-Length header is a negative integer such as -1. When the client calls esl_recv_event(), atol() returns the negative value, malloc(len + 1) is invoked with a size that wraps to a huge unsigned quantity or fails, and the subsequent body read corrupts the heap, crashing the client process or potentially yielding further memory-corruption primitives - all before the client authenticates to the peer.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 09, 2026

Heap corruption in FreeSWITCH libesl prior to version 1.11.1 allows a malicious or man-in-the-middle Event Socket Library (ESL) peer to crash or corrupt the memory of any process linked against libesl by sending a frame containing a negative Content-Length header. The flaw is pre-authentication and reachable before the client completes authentication to the peer, and no public exploit identified at time of analysis despite a CVSS of 9.1.

RemediationAI

The primary fix is to upgrade to vendor-released patch FreeSWITCH 1.11.1, available at https://github.com/signalwire/freeswitch/releases/tag/v1.11.1, which adds Content-Length validation in esl_recv_event per the 'libesl: Validate Content-Length in esl_recv_event' entry in the release notes; the security advisory is at https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9. Operators who cannot immediately upgrade should restrict outbound ESL connections from libesl-linked clients to known, trusted FreeSWITCH servers only, ideally over a private management network or mutually authenticated TLS tunnel, since the trade-off is that any path that allows a MITM or rogue ESL peer between client and server is sufficient to trigger the bug regardless of FreeSWITCH-level authentication. Network-layer compensating controls include firewalling the ESL port (default TCP 8021) so that libesl-linked clients can only reach vetted endpoints, accepting the side effect that legitimate cross-network ESL automation will need to be re-routed.

Affected VersionsENISA

freeswitch < 1.11.1

Affected Packages

euvd freeswitch fix: 1.11.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FreeSWITCH is an open-source Software Defined Telecom Stack from SignalWire used to build VoIP, PBX, and real-time communications platforms. The vulnerability resides in libesl, the client library implementing the FreeSWITCH Event Socket Layer (ESL) protocol used to send commands and receive events from a FreeSWITCH server. Specifically, esl_recv_event() reads the Content-Length header from an inbound ESL frame, converts it with atol() (which returns a signed long), and passes the result directly to malloc(len + 1) without sign or magnitude validation. This is a textbook CWE-20 Improper Input Validation: a negative value bypasses any implicit bounds expectation and, after the +1 arithmetic, is reinterpreted as a huge size_t by malloc, producing allocation failure or undersized buffers that subsequent reads overflow, corrupting the heap of the client process.

Know when Freeswitch gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jun 09, 2026 - 18:02 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

FreeSWITCH libesl contains a pre-authentication heap corruption vulnerability (CVE-2026-49840, CVSS 9.1) affecting any system running this communications library. A remote attacker can crash the process or corrupt memory without authentication, with no public exploit identified but no vendor patch currently available. Organizations using FreeSWITCH for voice, video, or messaging infrastructure face potential denial of service and system instability with limited remediation options.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation-restrict ESL port access to trusted peer systems only; (2) Disable ESL protocol entirely if not operationally required; (3) Implement rate limiting on ESL connection attempts; (4) Deploy intrusion detection monitoring for malformed frame patterns with negative Content-Length headers; (5) Maintain process restart/failover mechanisms to limit DoS impact; (6) Plan emergency upgrade path once patch becomes available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-116779 CRITICAL POC
9.8 Nov 05

FreeSWITCH installations that accept inbound SIP MESSAGE - the default posture, since chat handling stays on in the stoc

CVE-2019-19492 CRITICAL POC
9.8 Dec 02

FreeSWITCH 1.6.10 through 1.10.1 has a default password in event_socket.conf.xml. Rated critical severity (CVSS 9.8), th

CVE-2015-7392 HIGH POC
7.5 Oct 05

Heap-based buffer overflow in the parse_string function in libs/esl/src/esl_json.c in FreeSWITCH before 1.4.23 and 1.6.x

CVE-2021-41158 HIGH POC
7.5 Oct 26

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-41145 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-41105 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-37624 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-36513 HIGH POC
7.5 Oct 18

An issue was discovered in function sofia_handle_sip_i_notify in sofia.c in SignalWire freeswitch before 1.10.6, may all

CVE-2018-19911 HIGH POC
7.5 Dec 06

FreeSWITCH through 1.8.2, when mod_xml_rpc is enabled, allows remote attackers to execute arbitrary commands via the api

CVE-2013-2238 MEDIUM POC
6.8 Sep 30

Multiple buffer overflows in the switch_perform_substitution function in switch_regex.c in FreeSWITCH 1.2 allow remote a

CVE-2026-110658 MEDIUM POC
6.9 Oct 14

Heap out-of-bounds read in Sofia-SIP through 1.13.18 allows unauthenticated remote attackers to crash SIP processes by s

CVE-2023-40019 MEDIUM POC
6.5 Sep 15

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy