Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2026-56766 EUVD-2026-39515GHSA-3r6x-6cp5-6575

Hydra - Stack Buffer Overflow in NTLM Authentication Handler

Published Jun 25, 2026 · Updated Jul 14, 2026 · 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 products

VendorProductAffectedFixed
vanhauser-thc thc-hydra ≤ 9.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 hydra No fix yet —
Ubuntu 26.04 LTS hydra No fix yet —
Ubuntu 25.10 hydra No fix yet —
Ubuntu 24.04 LTS hydra No fix yet —
Ubuntu 22.04 LTS hydra No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS hydra No fix yet —
Ubuntu 18.04 LTS hydra No fix yet —
Ubuntu 16.04 LTS hydra No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed hydra 9.7+git20.gbccaea1-1.1 openSUSE-SU-2026:11131-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References