THC-Hydra Stack Buffer Overflow in Set-Cookie Handling
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
THC-Hydra through 9.7 contains a stack buffer overflow in analyze_server_response() in hydra-http-form.c. A malicious HTTP server can send a Set-Cookie header with an extra leading space followed by a repeated cookie name, which produces a negative strncpy length, overflows tmpcookie, corrupts memory and crashes Hydra. The weakness is CWE-121 and is rated 7.1 HIGH under CVSS 4.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| vanhauser-thc | thc-hydra | up to 9.7 | — | No fix listed | CNA |
- thc-hydra Vendorvanhauser-thc Affected up to 9.7 Fixed in — No fix listed CNA
Remediation
No fixed version is listed for THC-Hydra through 9.7. Avoid running Hydra's http-form module against HTTP servers you do not trust until a fixed release is available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-19 Threatist record created from CVE-2026-133274
- 2026-11-19 CISA SSVC decision points changed
- 2026-11-19 Alias added: GHSA-x58g-mffg-rf6g
- 2026-11-27 2 new references · CNA
References
More vanhauser-thc vulnerabilities
- TI-2026-40930 Hydra - Stack Buffer Overflow in NTLM Authentication Handler CVSS 4.0HIGH 8.6
Sources
- CVE-2026-133274 · CVE Program
- CVE-2026-133274 · NVD
- FIRST EPSS
- GHSA-x58g-mffg-rf6g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences