Skip to content

Protocol: nginx - HTTP/2 Use-After-Free

Identifier: cve_2026_123633

Scanner Support

GraphQL Scanner REST Scanner WebApp Scanner ASM Scanner Automated Pentest

Description

CVE-2026-123633 is a use-after-free in the HTTP/2 connection handling of nginx 1.19.7 to 1.31.8, fixed in 1.30.7 and 1.31.9. When nginx runs low on connection slots while proxying requests to an upstream, an unauthenticated attacker can make a worker use freed memory, crash it, read its memory, and in demonstrated cases execute code.

How we test: We send one GET to the asset with HTTP/2 offered during the TLS handshake, and flag responses served over HTTP/2 whose Server header discloses an nginx version inside the affected range. This is a version check only. We never send the exploit, because it corrupts memory and can crash the server. Whether nginx proxies requests to an upstream, which the bug needs, can't be seen from the network. A server that hides its version (server_tokens off), that speaks HTTP/2 only in cleartext, or that sits behind a CDN or load balancer isn't detected, because the connection then ends at that proxy. Server headers with a distribution suffix, such as nginx/1.24.0 (Ubuntu), aren't reported, because distributions backport fixes under an unchanged version. NGINX Plus and other builds that backport the fix under an unchanged version number would still be reported.

Reference:

Configuration

Example

Example configuration:

---
security_tests:
  cve_2026_123633:
    skip: false

Reference

skip

Type: boolean

Skip the test if true.