CVE-2026-49840 FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| freeswitch | < 1.11.1 | 1.11.1 | Fixed |
| signalwire freeswitch | = < 1.11.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| signalwire freeswitch | = < 1.11.1 | No fix listed |
| freeswitch | < 1.11.1 | 1.11.1 |
References
- https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9 third-party-advisory
- https://github.com/signalwire/freeswitch/releases/tag/v1.11.1 release-notes