Skip to main content

THC-Hydra EUVDEUVD-2026-130371

| CVE-2026-133274 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-11-19 disclosure@vulncheck.com GHSA-x58g-mffg-rf6g
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Operator runs Hydra http-form against malicious server
  2. Delivery
    Server returns crafted Set-Cookie header
  3. Exploit
    Negative strncpy length computed
  4. Execution
    Overflow tmpcookie stack buffer
  5. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

thc-hydra 0 ≤9.7

Affected Packages

euvd thc_hydra no fix

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

Vendor (vulncheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Medium
widely-used pen-test tool, niche to security testers, ships in Kali
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy