Skip to main content
Menu
CVEs

THC Hydra stack buffer overflow in HTTP form cookie handling

Affects THC-Hydra 9.7 and earlier when its HTTP form module processes a Set-Cookie header from the server. No fixed version is named; the vendor's patch is 6ab9ad8.

CVE-2026-133274EUVD-2026-130371Published November 19, 2026, updated Needs attention

7.1HighCNA
Exploited
Public exploit code, no confirmed attacks
Fix
Vendor patch: 6ab9ad8
Who is exposed
Specific setups only

Summary

THC-Hydra contains a stack buffer overflow in its HTTP form handling code, which a malicious HTTP server can trigger with crafted Set-Cookie headers. A remote attacker can exploit this without logging in, but it requires a user to interact with the malicious server, and the result is memory corruption that crashes Hydra.

Written by a model

Original 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.

Who should check

Teams running THC-Hydra 9.7 or earlier, such as security testers using Hydra against HTTP form logins.

“Affecting thc-hydra <= 9.7”

vulncheck.com

What to do

  1. Check whether your setup matches what the bug needs.

    Affects THC-Hydra version 9.7 and earlier. Hydra's HTTP form module must process a Set-Cookie header from the server, in analyze_server_response() of hydra-http-form.c.
  2. Apply the vendor's patch: 6ab9ad8.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-133274 (THC-Hydra through 9.7 Stack Buffer Overflow via hydra-http-form.c Cookie Handling), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-133274 (entry last updated 2026-11-19):
Affected:
- vanhauser-thc thc-hydra: through 9.7
Vendor patches: 6ab9ad8 (source: https://github.com/vanhauser-thc/thc-hydra/commit/6ab9ad860ff92a18196566172a197070b3977f6e). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- Affects THC-Hydra version 9.7 and earlier. (source: https://www.vulncheck.com/advisories/thc-hydra-through-9.7-stack-buffer-overflow-via-hydra-http-form-c-cookie-handling)
- Hydra's HTTP form module must process a Set-Cookie header from the server, in analyze_server_response() of hydra-http-form.c. (source: https://www.vulncheck.com/advisories/thc-hydra-through-9.7-stack-buffer-overflow-via-hydra-http-form-c-cookie-handling)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-133274 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133274 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-133274
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-133274"}.

Affected versions

cve.now Index

41Pof 100 · provisional · methodology v3
  • Exploitation22/40Public exploit on Exploit-DB or GitHub
  • Exposure12/25Specific setups only, reachable over the network without a login
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7.1/10CVSS 7.1
  • No patch0/5No signal

What would change the score

  • Would score about 69 if added to CISA KEV
  • Would score about 64 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated
  5. Exploit code on GitHub

    VulnSVNC/CVE-2026-133274

Evidence 7

Questions about CVE-2026-133274

Is CVE-2026-133274 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. Public exploit code exists (a proof of concept on GitHub).

Source: cve.now feed data

What does this mean?

A malicious HTTP server can send crafted Set-Cookie headers that produce a negative strncpy length, overflowing the tmpcookie buffer and crashing Hydra.

Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-133274?

thc-hydra: through 9.7.

Source: cve.now feed data

Am I affected, and how do I check?

Versions 9.7 and earlier are affected when Hydra's HTTP form module processes a Set-Cookie header from the server, in analyze_server_response() of hydra-http-form.c. To check a version, look at the version shown by hydra -h.

Source: vulncheck.com, github.com

How do I fix CVE-2026-133274?

The facts name no fixed version, so apply the vendor's patch 6ab9ad8 to Hydra.

Source: vulncheck.com, github.com

No corrections so far. Something wrong on this page? Report an error.