Remote code execution via oversized NTLM response
Published Jun 25, 2026 · Updated Jun 25, 2026
Stack buffer overflow in Hydra 9.7 and earlier allows remote attackers controlling an NTLM server to execute code during authentication. Across seven protocol modules, buildAuthResponse embeds a server-supplied domain in a Type-3 message before sprintf copies its Base64 form into a 500-byte stack buffer. The operator must direct Hydra to the malicious service, and code execution requires ineffective stack protection; protected builds terminate the process.
Summary
What happened
Stack buffer overflow in Hydra 9.7 and earlier allows remote attackers controlling an NTLM server to execute code during authentication. Across seven protocol modules, buildAuthResponse embeds a server-supplied domain in a Type-3 message before sprintf copies its Base64 form into a 500-byte stack buffer. The operator must direct Hydra to the malicious service, and code execution requires ineffective stack protection; protected builds terminate the process.
The record
- CVE
- CVE-2026-56766
- Published
- Jun 25, 2026
- Updated
- Jun 25, 2026
- Vendor
- The Hacker's Choice
- Product
- Hydra
- Classifications
- CWE-121, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 25, 2026CVE publishedPublication date reported by the CVE source.
- Jun 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=9.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Hydra - Stack Buffer Overflowproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo