
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-39312 is a pre-authentication denial-of-service (DoS) vulnerability in SoftEther VPN Developer Edition affecting version 5.2.5188 and earlier. An unauthenticated remote attacker can crash the vpnserver process by sending a single malformed EAP-TLS packet over raw L2TP (UDP/1701), immediately terminating all active VPN sessions. The vulnerability was published on April 7, 2026, and was reported by researcher stanleytobias. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory).
The root cause is an uncontrolled memory allocation (CWE-789) in src/Cedar/Proto_PPP.c, function PPPProcessEAPTlsResponse() (line 3651). During EAP-TLS fragment reassembly over PPP/L2TP, the server reads a 32-bit TlsLength field directly from the attacker-controlled packet header and passes it to ZeroMalloc() without any upper bound validation. When TlsLength is set to 0xFFFFFFFF, the internal MallocEx() function detects the oversized allocation and calls AbortExitEx(), which terminates the entire vpnserver process. The attack is reachable pre-authentication because L2TP raw mode (UDP/1701) requires no encryption, and even the IPsec path uses a publicly documented default PSK of "vpn" (GitHub Advisory).
Successful exploitation causes an immediate crash of the vpnserver worker process, dropping all active VPN sessions. While SoftEther's watchdog process restarts the worker within 3–5 seconds, a sustained packet flood allows an attacker to re-exploit at each restart interval, resulting in persistent denial of service. There is no confidentiality or integrity impact; the vulnerability is limited to availability (GitHub Advisory).
A proof-of-concept (PoC) exploit with a detailed attack sequence is publicly documented in the GitHub Security Advisory, including the exact malformed packet structure required to trigger the crash. The attack requires only approximately 11–12 UDP packets to port 1701 with no credentials. As of the time of reporting, there is no evidence of active in-the-wild exploitation. The EPSS score is approximately 0.095% (low probability of exploitation in the near term), and the vulnerability is not listed in the CISA KEV catalog (GitHub Advisory).
0xC227 (EAP), EAP Code 0x02 (Response), EAP Type 0x0D (EAP-TLS), Flags 0xC0 (L=1, M=1), TLS Length 0xFFFFFFFF, and empty TLS Data.vpnserver process crashes with Fatal Error: MallocEx() error: too large size, dropping all active VPN sessions. Repeat at the watchdog restart interval (~3–5 seconds) for persistent DoS (GitHub Advisory).vpnserver crash log entries containing Fatal Error: MallocEx() error: too large size; frequent watchdog-triggered process restarts logged in SoftEther server logs; EAP-TLS negotiation attempts from unknown or unauthenticated sources.vpnserver worker process; all active VPN sessions dropping simultaneously at regular intervals (GitHub Advisory).As of the advisory publication, no patched version of SoftEther VPN Developer Edition has been released (the advisory lists "None" for patched versions). The suggested code fix is to add an upper bound check on tlsLength before the ZeroMalloc() call in PPPProcessEAPTlsResponse(), rejecting any value exceeding 16 MB. As an immediate workaround, administrators should implement network-level controls (firewall rules) to restrict L2TP traffic on UDP/1701 to trusted source IP addresses only. Additionally, changing the default IPsec PSK from the hardcoded value "vpn" to a randomly generated secret is strongly recommended (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."