Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
http2-bomb-detector — HTTP/2 Bomb (CVE-2026-49975) non-destructive vulnerability detector for Nginx / Apache httpd. Zero-dependency Python. | Kitploit
Tools/GitHubGitHub/wlor0623/http2-bomb-detector
Vulnerability ScannersExploitationWeb SecurityNetwork SecurityPenetration Testing
GitHubwlor0623/http2-bomb-detector

http2-bomb-detector

HTTP/2 Bomb (CVE-2026-49975) non-destructive vulnerability detector for Nginx / Apache httpd. Zero-dependency Python.

View Repository
2 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

http2-bomb-detector

HTTP/2 Bomb (CVE-2026-49975) Non-destructive vulnerability detection tool — for Nginx / Apache httpd

Vulnerability Background

CVE-2026-49975 is a widespread remote denial-of-service vulnerability in the HTTP/2 protocol layer, discovered by security researcher Quang Luong. This vulnerability exploits a combined design flaw in HPACK header compression and flow control mechanisms, allowing an attacker to exhaust 32GB of server memory within 10-20 seconds without authentication.

  • CVSS 3.1: 9.8 (High)
  • CWE: CWE-789 (Memory Allocation with Excessive Size Value)
  • Alias: QVD-2026-30962
  • Disclosure Date: 2026-06-02
  • PoC: beichenst/http2-bomb | califio/publications

Affected Range

ServerAffected VersionsAmplification RatioFix Status
Apache httpd2.4.17 – 2.4.67 (mod_http2 < 2.0.41)~4,000:1✅ Fixed
Nginx< 1.29.8~70:1✅ Fixed
Envoy≤ 1.37.2~5,700:1❌ Not Fixed
Microsoft IISincluding Windows Server 2025~68:1❌ Not Fixed
Cloudflare Pingora≤ 0.8.0~62:1❌ Not Fixed

Detection Principle

This tool is based on a real PoC and uses two detection modes:

Nginx Mode

Detects HPACK index reference bomb: inserts dynamic table entry ("a", ""), then sends index references. Each reference is 1 byte on the wire → 59 bytes of server memory (3B pool copy + 56B ngx_table_elt_t). Attack parameters refs=32000, detection uses only refs=3.

Apache Mode

Detects Cookie crumb merge bomb: exploits the Cookie merging mechanism in mod_http2 (apr_table_setn concatenates duplicate cookies with "; "), and the merged cookie is not counted towards LimitRequestFields. Attack parameters refs=4091 (~4000:1 amplification), detection uses only refs=3.

Judgment Logic

  • Server returns ENHANCE_YOUR_CALM → 🛡️ Protected
  • Server RST_STREAM rejection → 🛡️ Protected
  • Server GOAWAY → 🛡️ Protected
  • Server silently accepts → ⚠️ Potentially Vulnerable

Installation

Zero dependencies, only uses Python standard library (ssl, socket, struct).

root@kitploit:~
git clone https://github.com/adminlove520/http2-bomb-detector.git
cd http2-bomb-detector

Requires Python 3.7+.

Usage

Single Target Detection

root@kitploit:~
# Auto-detect (Nginx + Apache both modes)
python http2_bomb_detector.py --host example.com

# Specify mode
python http2_bomb_detector.py --host example.com --mode nginx
python http2_bomb_detector.py --host example.com --mode httpd

# Specify port
python http2_bomb_detector.py --host example.com --port 8443

# Only output vulnerability info, do not send probe packets
python http2_bomb_detector.py --host example.com --no-probe

# JSON format output
python http2_bomb_detector.py --host example.com --json

Batch Detection

root@kitploit:~
# Read target list from file
python http2_bomb_detector.py -f targets.txt

# Output report
python http2_bomb_detector.py -f targets.txt -o report.txt

targets.txt format (one per line, lines starting with # are comments):

root@kitploit:~
# Web server list
example.com
https://example.org:8443
192.168.1.100

Example Output

root@kitploit:~
  [INFO] Connecting to example.com:443 ...
  [OK] HTTP/2 connection established
  [INFO] --- NGINX Mode Detection ---
  [INFO] Attack vector: HPACK index reference bomb: dynamic table entry ('a','') × 32000 references
  [INFO] Fixed version: 1.29.8 | Amplification ratio: ~70:1
  [INFO] Sending probe packet (refs=3, non-destructive)...
  [WARN] ⚠️  Server silently accepted probe packet — potentially vulnerable!

  [INFO] --- HTTPD Mode Detection ---
  [INFO] Attack vector: Cookie crumb merge bomb: empty cookie × 4091 references
  [INFO] Fixed version: mod_http2 2.0.41 / httpd 2.4.68 | Amplification ratio: ~4000:1
  [INFO] Sending probe packet (refs=3, non-destructive)...
  [OK] Server RST_STREAM rejected probe stream — protected

  ==================================================
  🛡️ NGINX: potentially_vulnerable
  ⚠️ HTTPD: protected

Disclaimer

This tool is only for authorized security testing. Using this tool to test unauthorized targets may violate the law. Users must assume all legal responsibilities.

References

  • CVE-2026-49975 - NVD
  • Apache HTTP Server Security Advisory
  • HTTP/2 Bomb Original Research Blog
  • PoC Code Repository (beichenst)
  • RFC 7541 - HPACK
  • RFC 9113 - HTTP/2

License

MIT

Download Tool