CVE-2026-56766: Stack-based Buffer Overflow in vanhauser-thc thc-hydra
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.
AI Analysis
Technical Summary
CVE-2026-56766 is a stack buffer overflow vulnerability in the vanhauser-thc thc-hydra tool affecting versions up to and including 9.7. The flaw occurs in NTLM authentication modules across SMTP, POP3, IMAP, NNTP, HTTP, HTTP-Proxy, and HTTP-Proxy-Urlenum when a malicious server sends a crafted NTLM Type-2 challenge containing an excessively long domain string. This causes the base64-encoded response data to overflow a 500-byte stack buffer by 18 to 330 bytes, potentially enabling remote code execution on systems without stack protection. The vulnerability is fixed in a commit identified as 9cc84c2, which is after version 9.7.
Potential Impact
Successful exploitation allows a remote attacker controlling a malicious server to cause a stack buffer overflow in the client processing NTLM authentication, potentially leading to remote code execution on vulnerable systems that lack stack protection. This affects multiple protocol modules within thc-hydra, increasing the attack surface.
Mitigation Recommendations
A fix is available in the commit identified as 9cc84c2, which resolves the vulnerability after version 9.7. Users should upgrade to a version that includes this fix. Since no official patch version is explicitly stated, users should monitor the vendor's repository or advisories for the fixed release. Systems with stack protection may mitigate exploitation risk, but upgrading is recommended.
CVE-2026-56766: Stack-based Buffer Overflow in vanhauser-thc thc-hydra
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.
CVSS v4.0
Score 8.6high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-56766 is a stack buffer overflow vulnerability in the vanhauser-thc thc-hydra tool affecting versions up to and including 9.7. The flaw occurs in NTLM authentication modules across SMTP, POP3, IMAP, NNTP, HTTP, HTTP-Proxy, and HTTP-Proxy-Urlenum when a malicious server sends a crafted NTLM Type-2 challenge containing an excessively long domain string. This causes the base64-encoded response data to overflow a 500-byte stack buffer by 18 to 330 bytes, potentially enabling remote code execution on systems without stack protection. The vulnerability is fixed in a commit identified as 9cc84c2, which is after version 9.7.
Potential Impact
Successful exploitation allows a remote attacker controlling a malicious server to cause a stack buffer overflow in the client processing NTLM authentication, potentially leading to remote code execution on vulnerable systems that lack stack protection. This affects multiple protocol modules within thc-hydra, increasing the attack surface.
Mitigation Recommendations
A fix is available in the commit identified as 9cc84c2, which resolves the vulnerability after version 9.7. Users should upgrade to a version that includes this fix. Since no official patch version is explicitly stated, users should monitor the vendor's repository or advisories for the fixed release. Systems with stack protection may mitigate exploitation risk, but upgrading is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-22T21:55:17.942Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d73fb4853345fc14dfa38
Added to database: 06/25/2026, 18:31:23 UTC
Last enriched: 06/25/2026, 18:46:27 UTC
Last updated: 06/25/2026, 20:56:43 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.