In NGINX’s stream module, a server that terminates TLS with dynamically loaded certificates (an ssl_certificate that uses variables) and passes the client’s address to its upstream with proxy_protocol on, which in the stream module means PROXY protocol version 2, crashes its worker when a client resumes a session instead of doing a full handshake. F5’s record puts it plainly: “an abbreviated SSL handshake can cause a worker process to terminate”, and nginx.org’s own entry calls it a “NULL pointer dereference when using PROXY protocol version 2”. A remote client needs no credentials to send a resumption. The exposure is narrow in another way: the code exists only in the 1.31.4 to 1.31.8 mainline releases and the matching NGINX Plus builds, so the stable 1.30 line and every distribution package are not affected. F5 scores it 6.9 on CVSS 4.0 and 5.3 on 3.1. If you run nginx 1.31.4 to 1.31.8 from nginx.org or a mainline build, upgrade to 1.31.9 and reload; until then, send PROXY protocol v1 or none to the upstream, or turn off session resumption on the stream listener.
CVE-2026-120993 at a glance.
| Component | NGINX, the stream TLS module ngx_stream_ssl_module with dynamic certificate loading, together with ngx_stream_proxy_module‘s proxy_protocol directive (version 2 in the stream module); the data plane only, no control-plane exposure per F5 |
| Affected versions | NGINX Open Source 1.31.4 to 1.31.8 (mainline only; the record marks everything else unaffected, and Ubuntu’s note confirms the affected code “only exists in mainline 1.31.4+”); NGINX Plus 37.2.0.1 up to 37.3.0.1, and the R33 line as F5 lists it. The 1.30 stable line and every distribution package are not affected. Builds against BoringSSL or AWS-LC are not affected per F5 |
| Fixed in | NGINX Open Source 1.31.9 (18 November 2026, per the CHANGES entry) and NGINX Plus 37.3.0.1; the CHANGES line reads “a segmentation fault might occur in a worker process when using PROXY protocol version 2 with dynamic SSL certificate loading”, credited to ruokeqx; Ubuntu names the upstream commit c4892ab |
| Severity | F5 CVSS 4.0 6.9 Medium (AV:N/AC:L/AT:N/PR:N/UI:N/VA:L) and CVSS 3.1 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L), CWE-476 (NULL pointer dereference); NVD Awaiting Analysis with F5’s metrics. Red Hat Moderate, 5.3; Ubuntu Medium; SUSE moderate, 5.3 and 6.9. Alpine’s tracker refused our reader |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.27). EPSS 0.0057 (48th percentile) on 19 November 2026; CISA’s SSVC record marks it automatable |
| Who is exposed | a stream server on a 1.31.4–1.31.8 build that has all three of: TLS termination in a stream block, a certificate loaded through variables, and proxy_protocol on towards the upstream. That is a TCP or UDP load balancer in front of mail, database or custom protocols that wants the backend to see the client address. Any client that can complete a TLS handshake and then resume it can kill the worker; the master restarts workers, so the effect is dropped connections rather than a dead service, repeated for as long as the client keeps sending. Hosts on distribution packages, on the 1.30 stable line, or without a stream block are not exposed |
| Published | CVE record 18 November 2026 (F5, updated 18 November); this page built 1 December 2026, last updated 1 December 2026 |
What it is
The stream module is NGINX’s TCP and UDP proxy. When it terminates TLS it can choose the certificate per connection, which is what “dynamic certificate loading” means: an ssl_certificate value containing variables such as $ssl_server_name, resolved after the ClientHello arrives. When it forwards the connection it can prefix the upstream stream with a PROXY protocol header carrying the client’s real address, and in the stream module proxy_protocol on emits version 2 of that header, which, unlike version 1, can carry TLS details about the client connection. The bug is at the meeting point of those two features. F5 describes it as an abbreviated handshake, a resumption using a session ticket or a cached session, causing the worker to terminate; nginx.org’s title names a NULL pointer dereference, and CHANGES a segmentation fault. The record does not say which structure is NULL, and F5’s K-article K000163932 rendered only a script shell for our reader, so this page does not guess; the shape is that a resumed session skips work a full handshake does, and the PROXY v2 writer then reads something that work would have set.
The affected range is unusual for an NGINX advisory. The record marks only 1.31.4 up to 1.31.8 as affected, the Debian tracker says “only affects Nginx 1.31.y”, and Ubuntu’s note is that the affected code exists only in mainline from 1.31.4; the stable 1.30 line never received it, which is why Debian, Ubuntu and Red Hat all mark their packages not affected rather than fixed, and why Red Hat’s Hardened Images build of 1.30.6 is unaffected. The populations that carry it are nginx.org’s mainline packages, NGINX Plus R33 and the 37.2 and 37.3 builds, Docker images tracking mainline, and anything built from a recent tag.
F5’s workaround is either of two configuration changes: turn off PROXY protocol v2 (proxy_protocol off;, or version 1 on the HTTP side where proxy_protocol on; still means v1), or disable abbreviated handshakes on the stream listener with both ssl_session_tickets off; and ssl_session_cache off;. It also notes that nginx built with BoringSSL or AWS-LC is not affected. This is one of the NGINX advisories of 18 November 2026, written up one CVE per page on this site; the siblings linked below share the 1.31.9 release.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Tracker page refused our reader on 1 December 2026 | — |
| Debian | Not affected in bookworm, trixie, forky and sid: “only affects Nginx 1.31.y”, and Debian ships 1.22, 1.26 and 1.30 | none needed |
| Ubuntu | Medium; nginx not affected on every release from 14.04 to 26.10, with the note that the code exists only in mainline 1.31.4 and later | none needed |
| RHEL, Rocky, Alma, CentOS Stream | Moderate, 5.3, CWE-476 (bug 2584469); nginx not affected on RHEL 8, 9 (all streams) and 10; the Hardened Images nginx-main 1.30.6 build (RHSA-2026:83427) is unaffected | none needed |
| openSUSE/SLE | moderate, 5.3 / 6.9, Pending (bug 1290875); released for openSUSE Tumbleweed; the SLE and Leap rows read affected on SUSE’s page although their packages are 1.21 and 1.27 builds outside the record’s range, which this page reports as SUSE states it | Tumbleweed nginx 1.31.9-1.1 (openSUSE-Tumbleweed-2026-12599) |
nginx.org packages, Docker nginx:mainline, NGINX Plus, source builds | The populations that carry the code: mainline 1.31.4–1.31.8 and Plus 37.2.0.1–37.3.0.0 | 1.31.9 (nginx.org mainline, 18 November 2026); NGINX Plus 37.3.0.1 |
How to check
Three questions, in order: is this a 1.31.4 to 1.31.8 build at all, does the configuration have a stream block that terminates TLS with a variable certificate, and does that block send PROXY protocol to its upstream. Only a yes to all three is the bug.
# 1. the running build and how it was configured (fixed: 1.31.9 or later; the 1.30 stable line and distribution packages never had the code)
nginx -v 2>&1
nginx -V 2>&1 | tr ' ' '\n' | grep -E '^--with-(stream|http_v2|http_v3|http_ssl)' | sort
pgrep -a nginx | head -3; readlink /proc/$(pgrep -o -x nginx)/exe
# 2. a stream block that terminates TLS and loads certificates through variables
nginx -T 2>/dev/null | awk '/^stream *\{/,0' | grep -nE 'listen .*ssl|ssl_certificate .*\$'
# 3. PROXY protocol towards the upstream in that block (stream proxy_protocol on = version 2)
nginx -T 2>/dev/null | awk '/^stream *\{/,0' | grep -nE '^\s*proxy_protocol\s+on'
nginx -T 2>/dev/null | awk '/^stream *\{/,0' | grep -nE 'ssl_session_(tickets|cache)'
nginx -V 2>&1 | grep -oE 'built with (OpenSSL|BoringSSL|AWS-LC|LibreSSL)[^ ]*'A build outside 1.31.4–1.31.8, which includes every distribution package, is not carrying the bug and there is nothing to do. A mainline build whose nginx -T shows no stream block, or a stream block with a fixed certificate path, or no proxy_protocol on in the stream context, is not on the path either. A mainline build with all three, on OpenSSL, is the case this page is about: any client that can resume a TLS session on that listener can kill the worker, and the master will keep restarting it.
How to fix it
Upgrade to 1.31.9 or later and reload; nginx reloads its binary with nginx -s reload only for configuration, so a package upgrade needs the binary upgrade mechanism (USR2) or a restart to run the new code. The distributions have nothing to ship for this one.
# nginx.org mainline packages (Debian/Ubuntu and RHEL-family repositories)
apt update && apt install nginx && systemctl restart nginx
dnf upgrade nginx && systemctl restart nginx
# Docker: pull a 1.31.9+ mainline image; NGINX Plus: 37.3.0.1 from the Plus repository
nginx -v 2>&1; readlink /proc/$(pgrep -o -x nginx)/exeIf the upgrade has to wait, apply F5’s workaround on the stream listener: either stop sending PROXY protocol v2 to the upstream (proxy_protocol off;, and tell the upstream to stop expecting it), or disable resumption with both ssl_session_tickets off; and ssl_session_cache off;, which costs a full handshake per connection. What not to do: do not change the HTTP proxy_protocol settings expecting it to help, since the HTTP module sends version 1 and is not involved; and do not downgrade to a 1.30 stable package as a “fix” without checking the other 18 November CVEs, several of which the 1.30 line does carry and which 1.30.7 fixes.
# mitigation, in the affected stream server block (pick one), then test and reload
# proxy_protocol off; # the upstream must stop expecting the header
# ssl_session_tickets off; ssl_session_cache off; # no abbreviated handshakes on this listener
nginx -t && nginx -s reload
nginx -T 2>/dev/null | awk '/^stream *\{/,0' | grep -nE 'proxy_protocol|ssl_session_(tickets|cache)'Sources
- CVE-2026-120993 at CVE.org — the F5 record (18 November 2026): the description, the workarounds, the affected ranges for Plus and Open Source, CVSS 4.0 6.9 and 3.1 5.3
- nginx.org security advisories — the entry “NULL pointer dereference when using PROXY protocol version 2”, vulnerable 1.31.4–1.31.8, not vulnerable 1.31.9+ · nginx CHANGES — the 1.31.9 entry of 18 November 2026 · F5 K000163932, which rendered only a script shell for our reader
- NVD entry — Awaiting Analysis, F5’s two vectors and CWE-476; no NVD score or CPE yet
- Distribution trackers: Debian (not affected, 1.31 only) · Ubuntu (not affected, the mainline-only note) · Red Hat (Moderate, not affected) · SUSE (moderate, Tumbleweed 1.31.9)
- CISA KEV catalogue 2026.11.27, not listed · EPSS score for this CVE, 19 November 2026
Related reading
- CVE-2026-123640: NGINX ssl_preread reads a malformed ClientHello differently from the backend and routes to the wrong server — the other stream-module item of the same set, fixed in the same 1.31.9 release
- CVE-2026-125283: NGINX worker overflows a buffer when try_files and alias share a map’s regex captures — the HTTP-side crash from the same 18 November set
- CVE-2026-132779: NGINX worker spins at 100% CPU retrying a send on a crafted TLS 1.3 early-data connection — the TLS 1.3 follow-up of 23 November, fixed in 1.31.10
- CVE-2026-118899: NGINX infinite loop reading a request body over TLS 1.3 — the first NGINX page on this site from the 18 November set, with the shared release notes
- Security advisories on Linuxtastic — every CVE page on this site, newest first, with the component index
This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.
