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
thc-hydra versions up to 9.7 contain a stack buffer overflow vulnerability in the NTLM authentication implementation across SMTP, POP3, IMAP, NNTP, HTTP, HTTP-Proxy, and HTTP-Proxy-Urlenum modules. A malicious server can send a crafted NTLM Type-2 challenge with an excessively long domain string, which causes the base64-encoded response data to overflow a 500-byte stack buffer by 18 to 330 bytes. This overflow can enable remote code execution on systems that do not have stack protection mechanisms. The vulnerability was fixed in a commit identified as 9cc84c2, which is after version 9.7. The CVSS 4.0 score is 8.6, indicating high severity with network attack vector, low attack complexity, no privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows a remote attacker controlling a malicious server to execute arbitrary code on the client system running vulnerable versions of thc-hydra without requiring privileges. This can compromise confidentiality, integrity, and availability of the affected system. Exploitation requires user interaction and no authentication, making it a significant risk especially on systems without stack protection.
Mitigation Recommendations
A fix is available in the commit identified as 9cc84c2, which addresses the buffer overflow vulnerability. Users should upgrade to a version of thc-hydra that includes this fix, i.e., any version later than 9.7. Since this is not a cloud service, remediation depends on applying the updated software version. Patch status is confirmed by the vendor commit reference. Until patched, avoid connecting to untrusted servers that use NTLM authentication.
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
thc-hydra versions up to 9.7 contain a stack buffer overflow vulnerability in the NTLM authentication implementation across SMTP, POP3, IMAP, NNTP, HTTP, HTTP-Proxy, and HTTP-Proxy-Urlenum modules. A malicious server can send a crafted NTLM Type-2 challenge with an excessively long domain string, which causes the base64-encoded response data to overflow a 500-byte stack buffer by 18 to 330 bytes. This overflow can enable remote code execution on systems that do not have stack protection mechanisms. The vulnerability was fixed in a commit identified as 9cc84c2, which is after version 9.7. The CVSS 4.0 score is 8.6, indicating high severity with network attack vector, low attack complexity, no privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows a remote attacker controlling a malicious server to execute arbitrary code on the client system running vulnerable versions of thc-hydra without requiring privileges. This can compromise confidentiality, integrity, and availability of the affected system. Exploitation requires user interaction and no authentication, making it a significant risk especially on systems without stack protection.
Mitigation Recommendations
A fix is available in the commit identified as 9cc84c2, which addresses the buffer overflow vulnerability. Users should upgrade to a version of thc-hydra that includes this fix, i.e., any version later than 9.7. Since this is not a cloud service, remediation depends on applying the updated software version. Patch status is confirmed by the vendor commit reference. Until patched, avoid connecting to untrusted servers that use NTLM authentication.
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: 07/15/2026, 10:16:06 UTC
Last updated: 08/10/2026, 00:41:17 UTC
Views: 111
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.