Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOperator runs Hydra http-form against malicious server
-
DeliveryServer returns crafted Set-Cookie header
-
ExploitNegative strncpy length computed
-
ExecutionOverflow tmpcookie stack buffer
-
ImpactCrash Hydra process (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the operator to actively run Hydra's http-form(-get/post) module against an attacker-controlled or attacker-influenced HTTP server that returns a crafted Set-Cookie header (an extra leading space followed by a repeated cookie name). Affected: THC-Hydra through 9.7. Limiting factors that reduce realistic risk: the Hydra user must initiate the connection to the hostile server (UI:P), the attacker must control the HTTP responses, and the impact is confined to crashing the local Hydra process (availability only - no confidentiality or integrity impact and no demonstrated code execution). The complete fix is the upstream commit that bounds the offset (rejects off <= 0 and clamps n to sizeof(tmpcookie)-1); updating to a build containing that commit is the remedy stated by the evidence. |
| Impact | Real-world risk is LOW despite a 7.1 CVSS, because the victim of this flaw is the operator running Hydra, not a hosted service. Hydra is an HTTP client (password-bruteforce tool), so the 'attacker' is a malicious or attacker-controlled HTTP server, and the described impact per the CVSS 4.0 vector (VC:N/VI:N/VA:H) and the advisory is a process crash - denial of service of the operator's own Hydra instance. Although classified CWE-121 (stack buffer overflow) and triggered by a negative length passed to strncpy (which becomes a large size_t and writes out of bounds), the supplied evidence only establishes a crash; no code execution is demonstrated and the CVSS sets confidentiality and integrity to None. UI:P means the operator must first point Hydra's http-form module at the hostile server, which makes this effectively self-inflicted and not remotely weaponizable against third parties. Signal alignment: no KEV listing, no EPSS score supplied, and no public exploit code referenced - only the upstream fix commit and the VulnCheck advisory. The vuln.today 'this_week' priority is reasonable for patch hygiene but does not indicate active exploitation. Net: a real but low-urgency availability bug, not a high-impact priority. |
| Exploit ScenarioDerived | An attacker who controls an HTTP server (or can tamper with its responses) waits for a Hydra operator to run the http-form module against that server; the server returns a Set-Cookie header with an extra leading space followed by a repeated cookie name. This produces a negative length (ptr - cookie - 2) passed to strncpy, overflowing the stack buffer tmpcookie and crashing the operator's Hydra process. No public exploit code is identified at time of analysis, but the trigger mechanism is fully described in the advisory and confirmed by the fix commit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
THC-Hydra through 9.7 can be crashed by a crafted HTTP response when the operator runs its http-form modules against an attacker-controlled or attacker-influenced server. A Set-Cookie header with an extra leading space followed by a repeated cookie name causes a negative offset in analyze_server_response(), leading to an out-of-bounds write into the stack buffer tmpcookie and termination of the local Hydra process. The issue is availability-only: no confidentiality or integrity impact and no demonstrated code execution; no public exploit was identified at time of analysis, and exploitation requires the Hydra user to initiate the connection to the hostile server.
RemediationAI
Upstream fix available (commit); released patched version not independently confirmed. Apply commit 6ab9ad860ff92a18196566172a197070b3977f6e, or update to a THC-Hydra build that contains it, which bounds the cookie offset and prevents the tmpcookie overflow. The commit URL is https://github.com/vanhauser-thc/thc-hydra/commit/6ab9ad860ff92a18196566172a197070b3977f6e and the advisory is https://www.vulncheck.com/advisories/thc-hydra-through-9.7-stack-buffer-overflow-via-hydra-http-form-c-cookie-handling. Until a build with that fix is deployed, avoid running Hydra's http-form, http-form-get, or http-form-post modules against untrusted or attacker-controlled HTTP servers; this removes the vulnerable parsing path but also prevents using those form-based modules for authorized testing.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a stack-based buffer overflow (CWE-121) in hydra-http-form.c's analyze_server_response(), which parses HTTP response cookies after the http-form, http-form-get, and http-form-post modules receive a response. When a Set-Cookie header begins with an extra leading space and repeats a cookie name, the computed length ptr - cookie - 2 becomes negative; the original code passed that value to strncpy and then wrote tmpcookie[ptr - cookie - 2] = 0, corrupting stack memory and crashing Hydra. The upstream fix in commit 6ab9ad860ff92a18196566172a197070b3977f6e rejects non-positive offsets and clamps the copy length to sizeof(tmpcookie)-1 before null-terminating. The CVSS 4.0 vector describes network reachability, no privileges, user interaction, and high availability impact only; the independent assessment concurs with UI:R and A:H, and notes that the attacker must control the HTTP responses and that the impact is confined to the local Hydra process.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Malicious server reply over network (AV:N) with no auth (PR:N), but the operator must run Hydra against it (UI:R); impact is a crash only, so A:H with C:N/I:N.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-133274 affects the security tool THC-Hydra up to version 9.7, causing a local crash when it connects to a malicious server during HTTP form-based testing. This can disrupt authorized security assessments and potentially interrupt legitimate security operations. No public exploit was identified at time of analysis, and the vulnerability is limited to availability with no data exposure or code execution.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
EUVD-2026-130371
GHSA-x58g-mffg-rf6g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB