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

Published Jun 9, 2026
·
Updated

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, eslrecvevent() 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.

Affected Software

2 affected components
FreeSWITCH libesl<1.11.1
FreeSWITCH FreeSWITCH<1.11.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FreeSWITCH (libesl) to a version that resolves this vulnerability.

    Fixed in 1.11.1

Event History

Jun 9, 2026
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-49840?

The severity of CVE-2026-49840 is rated as critical with a score of 9.1.

2

What does CVE-2026-49840 vulnerability affect?

CVE-2026-49840 affects the FreeSWITCH libesl component due to a pre-authentication heap buffer overflow during Content-Length parsing.

3

How do I fix CVE-2026-49840?

To fix CVE-2026-49840, upgrade FreeSWITCH to version 1.11.1 or later where the vulnerability is patched.

4

What is the risk associated with CVE-2026-49840?

CVE-2026-49840 has a risk rating of 66, indicating a high potential for exploitation.

5

What type of vulnerability is CVE-2026-49840 classified as?

CVE-2026-49840 is classified as an Input Validation vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203