Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-56766: Stack-based Buffer Overflow in vanhauser-thc thc-hydra

0
High
VulnerabilityCVE-2026-56766cvecve-2026-56766
Published: 06/25/2026 (06/25/2026, 18:01:07 UTC)
Source: CVE Database V5
Vendor/Project: vanhauser-thc
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
thc-hydra
pkg:github/thc-hydra
Affected versions
<=9.7

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

AILast updated: 06/25/2026, 18:46:27 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses