THC-Hydra through 9.7 Stack Buffer Overflow via hydra-http-form.c Cookie Handling
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 19, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 19, 2026
Description
THC-Hydra through 9.7 contains a stack buffer overflow vulnerability in analyze_server_response() of hydra-http-form.c that allows malicious HTTP servers to corrupt memory via crafted Set-Cookie headers. Attackers can send a Set-Cookie header with an extra leading space followed by a repeated cookie name, causing a negative strncpy length that overflows tmpcookie and crashes Hydra.
| Product | Versions |
|---|---|
| thc-hydra vanhauser-thc | 9.7 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
References
- https://github.com/vanhauser-thc/thc-hydra/commit/6ab9ad860ff92a18196566172a197070b3977f6ePatch
- https://github.com/vanhauser-thc/thc-hydra/blob/v9.7/hydra-http-form.c#L790-L804Technical Details
- https://github.com/vanhauser-thc/thc-hydraProduct Page
- https://umutsevinc.com/cve/cve-2026-133274Technical Details
- https://github.com/VulnSVNC/CVE-2026-133274Exploit
- VulnCheck Advisory: THC-Hydra through 9.7 Stack Buffer Overflow via hydra-http-form.c Cookie HandlingThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.