CVE-2026-56766 Hydra - Stack Buffer Overflow in NTLM Authentication Handler
HighCVSS 8.6
EPSS 2.4%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/hydra(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/hydra(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/hydra(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/hydra(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| vanhauser-thc/thc-hydra | <= 9.7 | after 9.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vanhauser-thc/thc-hydra | <= 9.7 | No fix listed |
| ubuntu/hydra(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/hydra(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/hydra(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/hydra(Ubuntu:26.10) | All versions | No fix listed |
References
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2493128 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory