home / blog

2026-11-19 · medium

CVE-2026-133274: Buffer Overflow Vulnerability in THC-Hydra

Buffer overflow vulnerability in THC-Hydra allows memory corruption via malicious Set-Cookie headers

CVE-2026-133274: Buffer Overflow Vulnerability in THC-Hydra

CVE-2026-133274 concerns a buffer overflow vulnerability in THC-Hydra that allows malicious HTTP servers to corrupt memory through specially crafted Set-Cookie headers. The vulnerability occurs when a Set-Cookie header contains an extra leading space followed by a repeated cookie name, causing a negative value in the strncpy function that leads to a tmpcookie buffer overflow and crashes Hydra.

The vulnerability is classified as medium severity (CVSS 6.5) and was officially published on 2026-11-19. Signals indicate that a Proof of Concept exists on GitHub, demonstrating that the exploit is technically feasible. Since this is a recently disclosed vulnerability, further details about its actual exploitability and impact may emerge.

For defense, promptly applying the update when available for the THC-Hydra version is recommended. Until the patch, it is advisable to limit the tool's use in controlled environments and implement additional validation on HTTP responses, particularly on Set-Cookie headers, before processing them with Hydra.

At a glance

What
Stack buffer overflow vulnerability in analyze_server_response() of hydra-http-form.c
Severity
Medium (CVSS 6.5)
Affected versions
THC-Hydra through version 9.7
Fix
not reported
Status
Published on 2026-11-19
Action
Update version when available and apply patches

Sources: NVD, CVE-2026-133274

← All articles