strongSwan 5.9.13 Denial-of-Service Vulnerability (CVE-2026-35333)
A denial-of-service vulnerability exists in strongSwan version 5.9.13 due to a flaw in the eap-radius plugin when built with DAE enabled, allowing remote attackers to exhaust worker threads by sending a crafted RADIUS Access-Request (CVE-2026-35333).
A denial-of-service (DoS) vulnerability has been identified in strongSwan version 5.9.13 (and earlier) within the eap-radius plugin when the DAE (Dead Anti-Exploit) feature is enabled. The vulnerability, tracked as CVE-2026-35333, stems from how the attribute_enumerate() function handles RADIUS messages with zero-length attributes. An attacker can exploit this flaw by sending a specially crafted RADIUS Access-Request containing a zero-length attribute. This triggers an infinite loop within the charon process, causing a worker thread to consume 100% CPU. Repeated exploitation can exhaust all available worker threads, effectively denying service to legitimate users. This vulnerability is pre-authentication, meaning an attacker does not need valid credentials to trigger the DoS. Public exploit code is available, increasing the urgency for patching vulnerable systems.
Attack Chain
- The attacker identifies a strongSwan instance running version 5.9.13 or earlier with the eap-radius plugin and DAE enabled.
- The attacker crafts a malicious RADIUS Access-Request packet. The packet contains a User-Name attribute with a length of 0.
- The attacker sends the crafted RADIUS Access-Request packet to the strongSwan instance on UDP port 3799 (default).
- The
charondaemon receives the packet and processes it via theattribute_enumerate()function insrc/libradius/radius_message.c. - Due to the zero-length attribute, the
attribute_enumerate()function enters an infinite loop, causing a singlecharonworker thread to consume 100% CPU. - The attacker sends multiple crafted packets to exhaust all available
charonworker threads. - Legitimate RADIUS authentication requests are no longer processed due to the exhaustion of worker threads.
- The strongSwan service becomes unavailable, resulting in a denial-of-service condition.
Impact
Successful exploitation of CVE-2026-35333 results in a denial-of-service condition, rendering the strongSwan VPN service unavailable. This can disrupt network access for legitimate users and impact business operations. The vulnerability is pre-authentication, meaning that anyone can trigger the DoS without requiring credentials. There is currently no information available regarding specific sectors targeted or the number of victims affected.
Recommendation
- Upgrade to a patched version of strongSwan that addresses CVE-2026-35333 to remediate the vulnerability.
- Disable the
charon.plugins.eap-radius.dae.enableoption in thestrongswan.conffile as a temporary workaround to mitigate the DoS, as shown in the exploit description. - Monitor strongSwan servers for high CPU utilization by
charonworker threads using tools likepsto detect potential exploitation attempts. - Deploy the Sigma rule “Detect Strongswan CVE-2026-35333 DoS Exploit” to identify malicious RADIUS packets targeting the vulnerability in network traffic.
Detection coverage 2
Detect Strongswan CVE-2026-35333 DoS Exploit
highDetects CVE-2026-35333 exploitation — crafted RADIUS Access-Request packets with a zero-length User-Name attribute
Detect Strongswan CVE-2026-35333 High CPU Utilization
mediumDetects CVE-2026-35333 — High CPU usage by charon process indicating potential DoS
Detection queries are available on the platform. Get full rules →