CVE-2026-45771
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.0, FreeSWITCH's bundled XML parser expands nested <!ENTITY> declarations without a depth or count bound, so a small DTD can describe a body that expands exponentially ("billion laughs"). The PIDF body of a SIP PUBLISH is fed to this parser before any digest check, letting an unauthenticated network attacker force unbounded CPU and memory consumption with a single request. This issue has been patched in version 1.11.0.
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.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-776 The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in FreeSWITCH versions prior to 1.11.0, where the bundled XML parser expands nested <!ENTITY> declarations without any limits on depth or count. This allows a small Document Type Definition (DTD) to expand exponentially, a technique known as the "billion laughs" attack.

An unauthenticated attacker can send a specially crafted SIP PUBLISH request containing deeply nested entity references. Because the XML parser processes this request before any authentication checks, the attacker can cause unbounded CPU and memory consumption, potentially crashing the system.

Impact Analysis

The vulnerability can lead to a Denial-of-Service (DoS) condition by exhausting CPU and memory resources on the affected FreeSWITCH server. This can cause the server process to crash or become unresponsive, disrupting telecom services that rely on FreeSWITCH.

Since the attack requires no privileges or user interaction and occurs before authentication, it can be exploited by any unauthenticated network attacker who can send SIP PUBLISH requests.

Detection Guidance

This vulnerability can be detected by monitoring for SIP PUBLISH requests that contain deeply nested XML entity declarations (<!ENTITY>) which cause excessive CPU and memory usage. Since the attack triggers resource exhaustion before any authentication, unusual spikes in CPU or memory consumption on FreeSWITCH servers handling SIP PUBLISH requests may indicate exploitation attempts.

To detect such malicious SIP PUBLISH requests, you can capture and analyze SIP traffic using tools like tcpdump or Wireshark, looking specifically for SIP PUBLISH messages with suspiciously large or nested XML entity declarations.

  • Use tcpdump to capture SIP traffic on the relevant interface and port (usually UDP/TCP 5060): tcpdump -i <interface> port 5060 -w sip_traffic.pcap
  • Analyze the captured traffic with Wireshark or tshark to filter SIP PUBLISH requests: tshark -r sip_traffic.pcap -Y 'sip.Method == "PUBLISH"' -V
  • Look for XML bodies in the SIP PUBLISH requests containing nested <!ENTITY> declarations that could cause exponential expansion.

Additionally, monitoring FreeSWITCH logs for crashes or resource exhaustion events during SIP PUBLISH handling can help detect exploitation attempts.

Mitigation Strategies

The primary mitigation is to upgrade FreeSWITCH to version 1.11.0 or later, where the vulnerability has been patched by introducing limits on XML entity recursion depth and reference visits.

If immediate upgrade is not possible, temporary workarounds include restricting access to the FreeSWITCH SIP profiles with 'manage-presence' enabled to trusted networks only, effectively blocking unauthenticated attackers from sending malicious SIP PUBLISH requests.

Disabling presence features that process SIP PUBLISH requests can also reduce exposure to this vulnerability.

Note that TLS does not mitigate this issue since the attack occurs after transport termination.

Compliance Impact

The vulnerability allows an unauthenticated attacker to cause a denial-of-service (DoS) by exhausting CPU and memory resources, which could impact the availability of the FreeSWITCH service.

While the CVE description and resources do not explicitly mention compliance with standards such as GDPR or HIPAA, denial-of-service attacks can affect service availability, which is a component of many security and privacy regulations.

Organizations relying on FreeSWITCH for telecom services should consider that this vulnerability could lead to service disruptions, potentially impacting compliance with regulations that require maintaining availability and integrity of systems processing personal or sensitive data.

Mitigation by upgrading to FreeSWITCH version 1.11.0 is strongly recommended to address this issue and reduce risk.

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