Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Hysteria proxy
-
DeliveryOpen TCP stream to IP on sniffed port
-
ExploitStream unterminated oversized HTTP header
-
ExecutionServer buffers header without size limit
-
ImpactMemory exhaustion and OOM crash
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the optional sniff feature to be enabled on the server (sniff.enable: true with the victim port listed under sniff.tcpPorts) - a non-default configuration - and the attacker must hold valid Hysteria authentication credentials to establish the QUIC/TCP session (the PoC passes --auth with the server password). The target must also be addressed by IP with rewriteDomain disabled so the sniff.Check() path runs. The core defect is that the HTTP sniff parser sets no upper bound on header size, so an unterminated header (no \r\n\r\n) is buffered until the sniff timeout, consuming unbounded memory. Limiting factors: operators who do not enable sniff are not exposed, and valid credentials are required, which narrows the attacker set to authenticated proxy users rather than the open internet. |
| Impact | Severity signals are mixed. The input CVSS 4.0 (8.7) scores this high with AV:N/AC:L/PR:N/UI:N and VA:H, reflecting a clean remote availability hit, and testing in the GHSA advisory showed the server consuming up to 16GB of memory before OOM - a severe, reliable crash. However, the vendor's own PoC authenticates to the Hysteria server with a valid password (--auth sniff-poc-password) and depends on the optional sniff feature being enabled (sniff.enable: true with matching tcpPorts), so the PR:N in the supplied vector understates the real precondition: an attacker needs valid proxy credentials, which contradicts an unauthenticated reading. No KEV listing is present and no EPSS score was supplied, so there is no evidence of active or widespread exploitation; the vuln.today decision label is this_week, not act_now or emergency. Net: a genuine, easily-reproduced DoS against a specific non-default configuration, but gated by authentication and feature enablement rather than an open internet-facing unauthenticated flaw - prioritize for operators who enable sniff, less urgent otherwise. Note the conflict explicitly: CVSS states PR:N but the PoC requires authentication - treat auth as required per the exploit evidence. |
| Exploit ScenarioDerived | An attacker holding valid Hysteria credentials connects to a server that has the sniff feature enabled and opens TCP streams to an IP target on a sniffed port, then streams an enormous HTTP request header that is never terminated with the blank line. The server's sniff parser buffers the header without any size cap, and across 16 concurrent connections (each up to ~800MB in the PoC) memory climbs to ~16GB until the process is killed by OOM. A complete working PoC, including Go exploit source and server config, is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Unbounded HTTP header buffering in Hysteria 2's traffic-sniffing feature lets an attacker who holds valid proxy credentials exhaust server memory and drive the process into an out-of-memory crash by opening streams that send oversized, never-terminated HTTP headers. Only servers running releases 2.5.0 through 2.9.1 with the optional sniff module enabled (sniff.enable: true and the abused port listed under sniff.tcpPorts, with rewriteDomain disabled and the target addressed by IP) are exposed, so default deployments and operators who never turned sniffing on are not affected. The vendor-shipped proof-of-concept in the GitHub advisory, which drives 16 concurrent streams of roughly 800 MB of unterminated header data, pushed a test server to about 16 GB of memory use, and a fix shipped in 2.9.2; the record's CVSS 4.0 vector scores 8.7 with PR:N, whereas the assessed CVSS 3.1 vector is 6.x-equivalent severity with PR:L, reflecting that authentication is genuinely required to reach the vulnerable path.
RemediationAI
Upgrade to Hysteria 2.9.2, the vendor-released fix that bounds HTTP header size in the sniff parser; the Go module entry records vulnerable < 2.9.2 and fixed in 2.9.2, and the advisory at https://github.com/HyNetworks/hysteria/security/advisories/GHSA-jqc5-2p7q-fqfc is the authoritative source for the fix. If an immediate upgrade is not possible, disable the sniff feature entirely by setting sniff.enable to false - this removes the vulnerable parser from the data path but also stops domain-based rewriting, hostname-aware routing and sniff-driven masquerade behavior, so any rules that depend on the recovered domain will fall through to their IP-based defaults. A narrower alternative is to remove the abused ports from sniff.tcpPorts, which leaves sniffing active only for the destinations you still need it for, at the cost of losing domain sniffing on the removed ports. Note that both mitigations reduce rather than eliminate risk if sniffing remains enabled anywhere, and that the vulnerability is only reachable by clients presenting valid Hysteria credentials, so rotating proxy passwords and restricting account distribution to trusted users limits the attacker pool but is not a substitute for the 2.9.2 upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hysteria is a Go-based, QUIC-transport proxy (module paths go/github.com/apernet/hysteria, github.com/apernet/hysteria/core/v2/client and /extras/v2) whose optional sniff feature peeks at the first bytes of a proxied TCP stream to recover the requested hostname so it can apply rewriteDomain, routing or masquerade decisions. The defect is CWE-770, Allocation of Resources Without Limits or Throttling: the HTTP sniff parser accumulates header bytes in memory without any cap on total header size, and because it waits for the terminating CRLFCRLF sequence, an attacker can withhold that terminator and keep the buffer growing until the configured sniff timeout elapses. The PoC's buildHeaderPayload() deliberately omits the final blank line, and each Hysteria TCP stream rides inside the authenticated QUIC session, so memory consumption scales with the number of concurrent streams multiplied by header bytes per stream. Two preconditions are decisive and are both documented in the advisory material: the server must have sniffing enabled with the abused destination port covered by sniff.tcpPorts, and the client must present valid Hysteria credentials (the PoC passes --auth with the server password), which is why the assessed vector carries PR:L rather than the PR:N shown in the CVSS 4.0 record. The advisory's own test notes state the server side reached a maximum of 16 GB, i.e. the crash is a straightforward resource-exhaustion OOM rather than a memory-corruption bug, and no confidentiality or integrity impact is claimed. No CISA KEV entry, EPSS value or other exploitation telemetry is present in the supplied data.
Know when Hysteria gets its next vulnerability
- 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:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
PoC authenticates with a valid Hysteria password so PR:L not PR:N; network-reachable with low complexity, availability-only impact (OOM), no confidentiality or integrity effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Hysteria 2.5.0 before 2.9.2 contains a denial of service vulnerability in the HTTP sniff implementation that fails to limit header size. Attackers can continuously send excessively large HTTP headers without terminating them, exhausting server memory and causing out-of-memory crashes.
Technical POC Analysis
CWE-770 (Allocation of Resources Without Limits or Throttling), specifically unbounded memory buffering in Hysteria 2's traffic-sniffing path.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Hysteria 2 proxy servers running versions 2.5.0 through 2.9.1 with the optional traffic-sniffing module enabled are vulnerable to memory exhaustion, allowing any user with valid proxy credentials to crash the service by sending oversized HTTP headers. This availability risk affects only non-default deployments where sniffing is explicitly turned on, but for those, an authenticated insider or compromised account can repeatedly disrupt proxy services, impacting dependent applications and users.
No vendor-released patch identified at time of analysis; interim mitigation: disable the sniff module (set sniff.enable to false) on affected servers, or restrict proxy access to trusted users and monitor memory usage for anomalies.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Memory exhaustion in Hysteria 2.5.0 through 2.8.1 allows a client who already holds a valid proxy password to terminate
Server crash in Hysteria 1.0.0 through 2.9.1: an authenticated client can advertise an unusually small QUIC max_datagram
UDP ACL bypass in Hysteria 2.0.0 through 2.9.1 lets an authenticated client reach UDP destinations that the server opera
EUVD-2026-132472
GHSA-f7x5-74v8-6r5v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB