Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/llcforge/cve-2026-123633
Web Vulnerability ScannersVulnerability AnalysisExploitationWeb SecurityNetwork Security
GitHubllcforge/cve-2026-123633

CVE-2026-123633

Docker-based proof-of-concept for CVE-2026-123633, an nginx HTTP/2 use-after-free triggered by connection exhaustion and RST_STREAM races, with a Python flood script and detection notes.

View Repository
31 day agoNot yet reviewed
Share

CVE-2026-123633

nginx — HTTP/2 Use-After-Free Under Connection Exhaustion

CVSS CVSS_4 CWE Language Fixed Disclosed


Overview

A use-after-free in nginx's HTTP/2 connection-management code allows an attacker to crash worker processes by exhausting the worker connection pool and immediately resetting (RST_STREAM) in-flight requests. When all worker_connections slots are occupied and a new HTTP/2 stream is opened then cancelled with an RST before the upstream proxy response arrives, nginx may reference a connection object that has already been freed during the pool-exhaustion cleanup path.

FieldValue
CVECVE-2026-123633
CVSS 3.18.1 High — AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.09.2 Critical — CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H
CWECWE-416 (Use After Free)
Affectednginx 1.19.7 – 1.31.8
Fixednginx 1.30.7 / 1.31.9
Auth RequiredNone
Disclosed2026-11-18

Vulnerability Details

nginx maintains a fixed-size connection pool governed by worker_connections. When the pool is saturated under HTTP/2 load, the cleanup path frees connection objects while upstream proxy callbacks may still hold raw pointers to them. The lab deliberately sets worker_connections: 24 to make pool exhaustion deterministic. The HTTP/2 sibling of CVE-2026-121810 (HTTP/3 UAF under identical conditions).


Attack Flow

flowchart LR
    A([Attacker]) -->|Flood: HTTP/2 streams\nto /slow endpoint\nworker_connections=24| B[nginx 1.31.8\nHTTP/2 proxy]
    B -->|Pool saturated| C{Cleanup path\nfrees conn objects}
    A -->|RST_STREAM + TCP RST\nSO_LINGER=0 on each conn| C
    C -->|RST handler races\nproxy finalization| D[Freed conn\ndeferenced]
    D --> E([Worker SIGSEGV\nDoS / heap RCE])

    style A fill:#3d1a1a,stroke:#f85149,color:#f85149
    style E fill:#1a1f2e,stroke:#f85149,color:#f85149

PoC Usage

Warning: Lab environment only. worker_connections is set to 24 to reliably hit exhaustion.

Setup

docker compose up -d --build

The lab includes:

  • nginx 1.31.8 with TLS, HTTP/2, worker_connections: 24
  • /slow → proxy_pass backend with 3-second delay, 64 KB body
  • /health on :8080 for liveness checks

Trigger the UAF

python3 poc.py

Expected output — vulnerable nginx:

[*] flooding with HTTP/2 streams to /slow (worker_connections=24)
[*] wave 1: opened 30 streams, sending RST+TCP RST...
[*] wave 2: opened 30 streams, sending RST+TCP RST...
[+] worker crash detected (health check failed)
[!] VULNERABLE — HTTP/2 UAF under connection exhaustion confirmed
    docker compose logs nginx | grep -iE 'signal 11|segfault'

Tuning the attack

# More aggressive — more streams per wave
python3 poc.py --streams 50 --waves 5

# Slower host — fewer concurrent streams
python3 poc.py --streams 20 --waves 10

# Verbose output with timing details
python3 poc.py --verbose

Available flags

FlagDescription
--streams NHTTP/2 streams per connection wave (default: 30)
--waves NNumber of flood waves (default: 5)
--host HOSTnginx host (default: 127.0.0.1)
--port PORTHTTPS port (default: 443)
--verboseVerbose output

Expected output — patched build

sed -i 's/nginx:1.31.8/nginx:1.31.9/' nginx/Dockerfile
docker compose build --no-cache nginx && docker compose up -d
python3 poc.py
# Worker survives all waves — health checks pass

Detection

IndicatorNotes
nginx worker crash signal 11nginx error.log: "worker process exited on signal 11"
RST_STREAM flood on HTTP/2Network capture: many RST_STREAM frames from single client
worker_connections exhaustion eventsnginx status: active connections near configured maximum

Impact

Unauthenticated remote Denial of Service. With ASLR disabled or bypassed, the heap layout created by connection exhaustion may allow remote code execution. The HTTP/2 sibling of CVE-2026-121810.


Remediation

Upgrade to nginx 1.30.7 or 1.31.9.

ActionDetail
Upgrade nginx1.30.7 (stable) or 1.31.9 (mainline)
Increase worker_connectionsRaise limit to make exhaustion harder to trigger
Rate-limit RST_STREAMLimit HTTP/2 RST rate per client at firewall/WAF
Monitor worker crashesAlert on nginx workers exiting with signal 11

References

  • nginx Security Advisories: https://nginx.org/en/security_advisories.html
  • CVE-2026-121810 (HTTP/3 sibling): https://www.cve.org/CVERecord?id=CVE-2026-121810
  • CVE Record: https://www.cve.org/CVERecord?id=CVE-2026-123633

Disclaimer: For authorized security research and controlled lab use only. MIT License.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    927
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    555
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    357
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    324
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →