Read the docs

THC-Hydra Stack Buffer Overflow in Set-Cookie Handling

Priority LOW 32CWE-121Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00549 39th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
vanhauser-thcthc-hydraup to 9.7—No fix listedCNA
  • 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

  1. 2026-11-19 Threatist record created from CVE-2026-133274
  2. 2026-11-19 CISA SSVC decision points changed
  3. 2026-11-19 Alias added: GHSA-x58g-mffg-rf6g
  4. 2026-11-27 2 new references · CNA

References

  • TI-2026-40930 Hydra - Stack Buffer Overflow in NTLM Authentication Handler CVSS 4.0HIGH 8.6

Sources