CVE-2026-56766

HIGH

Hydra - Stack Buffer Overflow in NTLM Authentication Handler

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-56766. PoCs published by banyamer.

AI-analyzed exploit summary This exploit demonstrates a stack buffer overflow in Hydra <= 9.7 by sending a malicious NTLM Type-2 challenge with an excessively long domain name field, triggering a SIGSEGV in the NTLM authentication handler for SMTP/POP3/IMAP modules.

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.

Exploits (1)

exploitdb WORKING POC
by banyamer · pythonremotelinux
https://www.exploit-db.com/exploits/52622

This exploit demonstrates a stack buffer overflow in Hydra <= 9.7 by sending a malicious NTLM Type-2 challenge with an excessively long domain name field, triggering a SIGSEGV in the NTLM authentication handler for SMTP/POP3/IMAP modules.

Classification
Working Poc 98%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: Hydra <= 9.7 (thc-hydra)
No auth needed
Prerequisites: Attacker must run a malicious SMTP server · Victim must use vulnerable Hydra version against the server
mistral-large-3 · analyzed Jul 08, 2026 Full analysis →

Scores

CVSS v3 8.8
EPSS 0.0132
EPSS Percentile 68.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-121
Status published
Products (2)
vanhauser-thc/thc-hydra < 9.7
vanhauser-thc/thc-hydra 9cc84c20e75f5fef6bb1790bb9ada2afad2204e2
Published Jun 25, 2026
Tracked Since Jun 26, 2026