8.6high
Hydra - Stack Buffer Overflow in NTLM Authentication Handler
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 1.98% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Hydra through 9.7, fixed in commit 9cc84c2, contains a stack buffer overflow in NTLM authentication across SMTP, POP3, IMAP, NNTP, HTTP, HTTP-Proxy, and HTTP-Proxy-Urlenum modules when processing malicious NTLM Type-2 challenges. A malicious server can send a crafted NTLM Type-2 challenge with an excessively long domain string, causing base64-encoded response data to overflow a 500-byte stack buffer by 18 to 330 bytes, enabling remote code execution on systems without stack protection.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vanhauser-thc thc-hydra | up to 9.7 Not affected: 9cc84c20e75f5fef6bb1790bb9ada2afad2204e2 | CVE List |
All scores
| VulnCheck | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Hydra through 9.7, fixed in commit 9cc84c2, contains a stack buffer overflow in NTLM authentication across SMTP, POP3, IMAP, NNTP, HTTP, HTTP-Proxy, and HTTP-Proxy-Urlenum modules when processing malicious NTLM Type-2 challenges. A malicious server can send a crafted NTLM Type-2 challenge with an excessively long domain string, causing base64-encoded response data to overflow a 500-byte stack buffer by 18 to 330 bytes, enabling remote code execution on systems without stack protection.
NVD (es)
Hydra hasta la versión 9.7, corregido en el commit 9cc84c2, contiene un desbordamiento de búfer de pila en la autenticación NTLM a través de los módulos SMTP, POP3, IMAP, NNTP, HTTP, HTTP-Proxy y HTTP-Proxy-Urlenum al procesar desafíos NTLM de Tipo 2 maliciosos. Un servidor malicioso puede enviar un desafío NTLM de Tipo 2 manipulado con una cadena de dominio excesivamente larga, provocando que los datos de respuesta codificados en base64 desborden un búfer de pila de 500 bytes entre 18 y 330 bytes, lo que permite la ejecución remota de código en sistemas sin protección de pila.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56766 changed 2026-07-14 | CVE Terms of Use |
| NVD | CVE-2026-56766 changed 2026-10-25 | Public domain |