# CVE-2026-49840: FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 35% of CVEs (2026-11-30)
- Published: 2026-06-09T16:00:56.687Z
- Modified: 2026-07-23T08:10:00.137Z
- Weaknesses: CWE-20, CWE-122, CWE-195, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- signalwire freeswitch: < 1.11.1
- freeswitch freeswitch: before 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)

## Sources

- CVE List: [CVE-2026-49840](https://www.cve.org/CVERecord?id=CVE-2026-49840), CVE Terms of Use, modified 2026-06-09
- NVD: [CVE-2026-49840](https://nvd.nist.gov/vuln/detail/CVE-2026-49840), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-49840 · Whole record: https://cve.day/CVE-2026-49840.json · Rebuilt by cve.day 2026-11-25T22:59:24.232Z
