
Patch Manual para a correção das CVE-2025-26465-e-CVE-2025-26466, para sistemas sem update do OpenSSH
This script applies manual mitigations for security issues in OpenSSH, without the need for immediate update.
🚨 CVE-2025-26465
Removes
VerifyHostKeyDNSto prevent SSH connection interception.
🚨 CVE-2025-26466
Adjusts
MaxStartupsto prevent pre-authentication DoS attacks.
1 - Applying the Automatic Fix with wget
wget -O mitigacao-openssh.sh https://raw.githubusercontent.com/dolutech/patch-manual-CVE-2025-26465-e-CVE-2025-26466/refs/heads/main/mitigacao-openssh.sh && chmod +x mitigacao-openssh.sh && sudo ./mitigacao-openssh.sh
2 - Applying the Automatic Fix with curl
curl -o mitigacao-openssh.sh https://raw.githubusercontent.com/dolutech/patch-manual-CVE-2025-26465-e-CVE-2025-26466/refs/heads/main/mitigacao-openssh.sh && chmod +x mitigacao-openssh.sh && sudo ./mitigacao-openssh.sh
sshd_config backup will be saved with a timestamp to prevent data loss./etc/ssh/sshd_config.📌 Developed by:
👤 Lucas Catão de Moraes
🌍 https://cataodemoraes.com | https://dolutech.com