Skip to main content

Hysteria 2 CVE-2026-134456

| EUVDEUVD-2026-132472 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-21 VulnCheck GHSA-f7x5-74v8-6r5v
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Hysteria proxy
  2. Delivery
    Open TCP stream to IP on sniffed port
  3. Exploit
    Stream unterminated oversized HTTP header
  4. Execution
    Server buffers header without size limit
  5. Impact
    Memory 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

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

hysteria 2.5.0 <2.9.2

Affected Packages

go github.com/apernet/hysteria fix: 2.9.2
euvd hysteria fix: 2.9.2

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

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

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/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
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 21, 2026 - 18:02 EUVD
CVE Published
Nov 21, 2026 - 16:32 cve.org
HIGH 8.7

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Low
niche open-source QUIC proxy, community/personal use, not enterprise-deployed
Data Quality
5 sources
Confidence: Medium

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.5%
Patch available Yes
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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