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

Read the record on cve.org

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.

ProductVersions
thc-hydra vanhauser-thc9.7 and earlier Affected

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.