deniz.in

Markets

Weather

Loading weather

· via dev.to (home feed)

Hysteria 2.9.2 fixes server crash triggered by a tiny QUIC datagram limit

Versions 1.0.0 through 2.9.1 of the Hysteria proxy can be crashed by an authenticated client advertising a tiny QUIC datagram size; the slice-bounds panic is fixed in 2.9.2.

Hysteria 2.9.2 fixes server crash triggered by a tiny QUIC datagram limit

Hysteria crash fixed in 2.9.2

A denial-of-service flaw in the Hysteria proxy lets an authenticated client crash the server process by advertising an unusually small QUIC datagram limit. According to a write-up on dev.to, every release from 1.0.0 through 2.9.1 is affected, and version 2.9.2 ships the fix. The vulnerability is tracked as CVE-2026-13445 and is referenced next to the project advisory GHSA-qh5x-rfwf-rvfv (the post's body text prints the CVE identifier with a stray extra digit, but the advisory reference and affected-version range are stated plainly).

Where the bug lives

The problem sits in Hysteria's UDP message fragmentation path, in a function named FragUDPMessage. The code fails to account for a fragmentation header that is on its own larger than the maximum UDP datagram payload the client has agreed to. An attacker holding a valid session sets max_datagram_frame_size to a tiny value and then prompts the server to produce a UDP response. While constructing that response, the server slices against a limit smaller than the header it has to write, and the resulting slice-bounds panic takes down the entire process rather than just the offending connection.

Who can trigger it

Exploitation requires a working Hysteria session, which narrows the pool of possible attackers but does not remove the danger. As the dev.to author notes, plenty of public proxy services offer open account creation or hand credentials to large user bases. In those settings a single account is enough to interrupt service for everyone attached to the same node.

Patching the fleet

Operators should upgrade the server and every node in a clustered or multi-region deployment, because updating one host leaves any traffic still landing on older nodes exposed. The write-up recommends noting the build version each process reports, restarting the service, and checking that the new process is the one taking connections. Long-lived QUIC sessions may have to be drained deliberately so that clients re-establish against the patched binary instead of lingering on the old one.

Detecting and containing the crash

The failure surfaces in process exit status, panic logs, and a sudden collapse in active sessions, and the author suggests keeping those events alongside authentication records. A run of failed UDP exchanges right before a restart is a useful signal, though it does not identify the responsible account on its own — retain timestamps, the source addresses policy permits, usernames or account IDs, and the server version involved.

For containment, rate limiting should cover established, authenticated connections and datagram flows, not merely the handshake stage. Giving each user or tenant its own resource pool keeps one account from taking down the process that everyone shares. A supervisor ought to restart a failed process, but a restart loop deserves an alert and an automatic isolation decision rather than silent recovery. Where an immediate upgrade is impossible, limiting access to trusted accounts, shrinking the number of internet-facing nodes, and watching closely for panics are stopgaps; the patched release is the only real fix.

The design lesson

The write-up closes with a check that generalises to other QUIC services: a completed handshake does not make later messages trustworthy. A server has to validate the limits it negotiated against the response it is about to build, and when a message breaks those limits it should drop that one connection instead of killing the process every session shares. Boundary cases belong in the test suite — empty payloads, the smallest permitted size, a value one byte under the header size, and limits that change once the connection is up. Exploit testing, the author adds, belongs in an isolated lab with a disposable account and no route to production, and working payloads should stay out of operational runbooks.

Why it matters

One credentialed client can currently take a whole Hysteria node offline, and the deployments most exposed are exactly the ones the software is built for: shared, multi-user proxy endpoints. The bug also illustrates a recurring failure mode in protocol implementations — honouring a peer-advertised limit at the control layer without checking whether payload construction can actually satisfy it. The practical path for operators is short: inventory which versions are running across all nodes, upgrade to 2.9.2, confirm sessions have moved over, and keep panic and authentication logs correlated until every node is patched.

  • #security
  • #quic
  • #proxy
  • #vulnerability
  • #networking

Related posts