Stack Buffer Overflow in THC-Hydra HTTP Cookie Handling
CVE-2026-133274
7.1HIGH
What is CVE-2026-133274?
THC-Hydra, up to version 9.7, contains a vulnerability in the analyze_server_response() function within hydra-http-form.c. This issue arises from improper handling of Set-Cookie headers by malicious HTTP servers. Attackers can exploit this flaw by crafting a Set-Cookie header that includes an additional leading space and a repeated cookie name, leading to a negative length in the strncpy function. This results in a buffer overflow that can compromise memory integrity and crash the THC-Hydra application.
Affected Version(s)
thc-hydra 0 <= 9.7
