CVE-2026-49847
Undergoing Analysis Undergoing Analysis - In Progress
BaseFortify

Publication date: 2026-06-09

Last updated on: 2026-06-09

Assigner: GitHub, Inc.

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, a single unauthenticated WebSocket frame containing a deeply nested JSON document crashes the FreeSWITCH process via stack overflow, terminating all calls and sessions on the host. The recursion drives the worker thread's stack pointer into the stack guard page, raising SIGSEGV from the kernel before any usable write primitive develops. This issue has been patched in version 1.11.1.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-09
Last Modified
2026-06-09
Generated
2026-06-10
AI Q&A
2026-06-09
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
freeswitch freeswitch to 1.11.1 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-49847 is a high-severity vulnerability in FreeSWITCH versions 1.11.0 and earlier caused by a stack overflow in the bundled cJSON parser.

The vulnerability occurs when the parser processes a deeply nested JSON document using recursive descent, which increases the call stack depth with each nested object or array.

An unauthenticated attacker can send a single malicious WebSocket frame containing such a deeply nested JSON to the mod_verto WebSocket frame handler, which parses JSON before authentication.

This causes the worker thread's stack to overflow, triggering a SIGSEGV crash that terminates the FreeSWITCH process and all active calls and sessions on the host.

Impact Analysis

This vulnerability can cause a denial of service by crashing the FreeSWITCH process.

When exploited, it terminates all active calls and sessions on the affected host, disrupting telecom services.

The attack requires only network access to the WebSocket listener and no authentication, making it easy for attackers to exploit.

TLS encryption does not prevent the attack since the JSON parsing happens after transport termination.

Detection Guidance

This vulnerability can be detected by monitoring network traffic for unauthenticated WebSocket frames sent to the mod_verto WebSocket listener, typically on ports 8081 (plaintext) or 8082 (TLS). Since the attack involves sending a deeply nested JSON document that triggers a stack overflow, detection involves identifying unusually large or deeply nested JSON payloads in WebSocket frames before authentication.

Commands to detect this might include network traffic inspection tools such as tcpdump or Wireshark to capture WebSocket traffic on the relevant ports, for example:

  • tcpdump -i <interface> port 8081 or port 8082 -w capture.pcap
  • Use Wireshark to analyze the captured traffic for WebSocket frames containing deeply nested JSON payloads.

Additionally, monitoring FreeSWITCH logs for unexpected crashes or SIGSEGV signals can help detect exploitation attempts.

Mitigation Strategies

Immediate mitigation steps include upgrading FreeSWITCH to version 1.11.1, which contains a patch preventing the stack overflow by capping the cJSON nesting limit.

If upgrading immediately is not possible, other mitigations include:

  • Restricting access to the mod_verto WebSocket listener to trusted networks only.
  • Disabling the mod_verto module entirely to prevent unauthenticated WebSocket access.
  • Applying a patch to limit the cJSON parser's nesting depth to 64 to prevent excessive recursion.
Compliance Impact

The vulnerability causes a denial of service by crashing the FreeSWITCH process and terminating all calls and sessions on the host. This disruption of service could impact the availability requirement of common standards and regulations such as GDPR and HIPAA, which mandate ensuring the availability and reliability of systems processing personal or sensitive data.

However, the vulnerability does not directly lead to confidentiality or integrity breaches, as it does not allow data leakage or unauthorized data modification.

Organizations using affected versions of FreeSWITCH should consider this risk to service availability when assessing compliance and apply the patch or mitigations promptly to maintain compliance with availability requirements.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49847. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart