Pre-authentication heap corruption via negative Content-Length
Published Jun 9, 2026 · Updated Jun 9, 2026
Heap buffer overflow in FreeSWITCH before 1.11.1 allows remote attackers to corrupt or crash libesl clients via a crafted ESL frame. The esl_recv_event() function parses a negative Content-Length with atol(), allocates len + 1 bytes without sign or magnitude checks, and copies peer-controlled data outside the allocation. Remote attackers must control or intercept an ESL peer on the trusted control-plane segment; no credentials or prior interaction are required, and remote code execution has not been demonstrated.
Summary
What happened
Heap buffer overflow in FreeSWITCH before 1.11.1 allows remote attackers to corrupt or crash libesl clients via a crafted ESL frame. The esl_recv_event() function parses a negative Content-Length with atol(), allocates len + 1 bytes without sign or magnitude checks, and copies peer-controlled data outside the allocation. Remote attackers must control or intercept an ESL peer on the trusted control-plane segment; no credentials or prior interaction are required, and remote code execution has not been demonstrated.
The record
- CVE
- CVE-2026-49840
- Published
- Jun 9, 2026
- Updated
- Jun 9, 2026
- Vendor
- SignalWire
- Product
- FreeSWITCH
- Classifications
- CWE-20, CWE-195, CWE-122, CWE-787, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 9, 2026CVE publishedPublication date reported by the CVE source.
- Jun 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.11.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo