CVE-2026-133274THC-Hydra through 9.7 Stack Buffer Overflow via hydra-http-form.c Cookie Handling
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | hydra | Fix pending | UBUNTU-CVE-2026-133274 | |
| Ubuntu 26.04 | hydra | Under investigation | UBUNTU-CVE-2026-133274 | |
| Ubuntu 24.04 | hydra | Under investigation | UBUNTU-CVE-2026-133274 | |
| Ubuntu 22.04 | hydra | Under investigation | UBUNTU-CVE-2026-133274 | |
| Ubuntu 20.04 | hydra | Fix pending | UBUNTU-CVE-2026-133274 | |
| Ubuntu 18.04 | hydra | Fix pending | UBUNTU-CVE-2026-133274 | |
| Ubuntu 16.04 | hydra | Fix pending | UBUNTU-CVE-2026-133274 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- vanhauser-thc thc-hydra: affected: up to 9.7
Vendor advisories:
References
- https://github.com/vanhauser-thc/thc-hydra/commit/6ab9ad860ff92a18196566172a197070b3977f6e
- https://github.com/vanhauser-thc/thc-hydra/blob/v9.7/hydra-http-form.c#L790-L804
- https://github.com/vanhauser-thc/thc-hydra
- https://www.vulncheck.com/advisories/thc-hydra-through-9.7-stack-buffer-overflow-via-hydra-http-form-c-cookie-handling
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.