https://github.com/user-attachments/assets/d6c30e58-548c-4b6d-9ba3-baa667238a58
python3 h2ghost.py -h
usage: h2ghost.py [-h] [--host HOST] [--port PORT] [--tls] [--no-tls] [--iterations ITERATIONS]
[--burst-n BURST_N] [--timeout TIMEOUT] [--crash-threshold CRASH_THRESHOLD]
[--crash-multiplier CRASH_MULTIPLIER] [--crash-min-delta CRASH_MIN_DELTA]
[--output OUTPUT] [--check-only] [--skip-check] [--verbose]
[TARGET]
Apache mod_http2 CVE-2026-23918 - double-free detector
positional arguments:
TARGET https://host:port http://host host:port host IP
options:
-h, --help show this help message and exit
--host HOST Target host (alt to positional)
--port PORT Target port (inferred from scheme/target if omitted)
--tls Force TLS/HTTPS (default: auto-detect)
--no-tls Force plain TCP / h2c
--iterations ITERATIONS
--burst-n BURST_N Triggers in check phase (default 10)
--timeout TIMEOUT Connection timeout s (default 2.5; use 5+ for internet)
--crash-threshold CRASH_THRESHOLD
Fallback absolute ms when no baseline (default 150)
--crash-multiplier CRASH_MULTIPLIER
reconnect/baseline ratio to flag as crash (default 1.3x)
--crash-min-delta CRASH_MIN_DELTA
min ms above baseline (AND ratio) to flag crash (default 80ms)
--output OUTPUT
--check-only
--skip-check
--verbose
Crash detection logic
---------------------
Trigger connection closing is NORMAL on both servers.
A crash requires: PING fails on a FRESH connection AND
reconnect > 150 ms (MPM restart delay).
Examples
--------
python3 h2ghost.py https://127.0.0.1:9443 --check-only
python3 h2ghost.py 127.0.0.1:7443 --check-only
python3 h2ghost.py 127.0.0.1:9443 --iterations 200
python3 h2ghost.py https://example.com --burst-n 20
DoS: 以下を使用した簡単なトリガー:
1 接続2 つの HTTP/2 フレーム潜在的な RCE ベクター
修正
2.4.672.0.37このプロジェクトは、以下の目的のためにのみ提供されます:
明示的な書面による許可なくシステムに対して行う不正なテストは、適用される法律に違反する可能性があります。
作者は誤用に対する責任を負いません。
| 項目 | 値 |
|---|
| CVE | CVE-2026-23918 |
| 深刻度 | 高 |
| CVSS | 8.8 |
| コンポーネント | Apache httpd mod_http2 |
| 影響 | サービス拒否 / RCE の可能性 |
| 修正バージョン | Apache httpd 2.4.67 / mod_http2 2.0.37 |