CVE-2026-42530: NGINX HTTP/3 use-after-free in the QPACK encoder stream

Written by Uptycs Threat Research | Jun 19, 2026, 4:00 PM UTC

Severity: High (CVSS 8.1) · Exploitation: No known exploitation · Fix available: Yes

Summary

CVE-2026-42530 is a high-severity use-after-free (CWE-416) in the HTTP/3 implementation of NGINX Open Source, in the ngx_http_v3_module. A specially crafted QUIC session can crash NGINX worker processes and, where ASLR is disabled or bypassed, may lead to remote code execution. It affects NGINX Open Source 1.31.0 and 1.31.1, carries a CVSS score of 8.1 and is fixed in 1.31.2. HTTP/3 is not enabled by default.

Technical details

The root cause is improper memory lifecycle management when NGINX handles HTTP/3 QPACK encoder streams. In certain protocol states NGINX frees an internal object but keeps a reference to it; a crafted QUIC session can then make the worker access the freed memory. Exploitation needs an internet-accessible NGINX with HTTP/3 enabled through a QUIC listener, and manipulation of encoder stream state transitions. No authentication or user interaction is required.

Affected products

Impact

Exploitation status

No in-the-wild exploitation was reported at the time of writing. Because the attack is remote and unauthenticated, patch HTTP/3-enabled deployments urgently.

Recommended actions

  1. Upgrade to NGINX Open Source 1.31.2 or later.
  2. If you cannot patch immediately, disable HTTP/3 by removing http3 on; directives and QUIC listener configurations.
  3. Monitor for NGINX worker crashes and unexpected process restarts.
  4. Review exposed UDP/443 services for unauthorized QUIC traffic.

How Uptycs helps

Uptycs vulnerability management identifies hosts, containers and cloud workloads running affected NGINX versions so teams can prioritize patching. Uptycs Threat Research continues to monitor this vulnerability and will update this bulletin if exploitation activity changes.

References