webtransport-go CloseWithError can block indefinitely
cve-program · CVE-2026-21435
Publishedwebtransport-go is an implementation of the WebTransport protocol. Prior to v0.10.0, an attacker can cause a denial of service in webtransport-go by preventing or indefinitely delaying WebTransport session closure. A malicious peer can withhold QUIC flow control credit on the CONNECT stream, blocking transmission of the WT_CLOSE_SESSION capsule and causing the close operation to hang. This vulnerability is fixed in v0.10.0.
Read the publisher's advisoryeuvd · EUVD-2026-6717
Publishedwebtransport-go is an implementation of the WebTransport protocol. Prior to v0.10.0, an attacker can cause a denial of service in webtransport-go by preventing or indefinitely delaying WebTransport session closure. A malicious peer can withhold QUIC flow control credit on the CONNECT stream, blocking transmission of the WT_CLOSE_SESSION capsule and causing the close operation to hang. This vulnerability is fixed in v0.10.0.
Read the publisher's advisorynvd · CVE-2026-21435
Publishedwebtransport-go is an implementation of the WebTransport protocol. Prior to v0.10.0, an attacker can cause a denial of service in webtransport-go by preventing or indefinitely delaying WebTransport session closure. A malicious peer can withhold QUIC flow control credit on the CONNECT stream, blocking transmission of the WT_CLOSE_SESSION capsule and causing the close operation to hang. This vulnerability is fixed in v0.10.0.
Read the publisher's advisoryosv · GHSA-px4r-g4p3-hhqv
Published## Summary An attacker can cause a denial of service in webtransport-go by preventing or indefinitely delaying WebTransport session closure. A malicious peer can withhold QUIC flow control credit on the CONNECT stream, blocking transmission of the WT_CLOSE_SESSION capsule and causing the close operation to hang. ## Details WebTransport over HTTP/3 signals session termination by sending a WT_CLOSE_SESSION capsule on the CONNECT stream. The capsule is only needed to transmit a reason phrase and an error code to the peer. After the capsule is sent, the CONNECT stream is closed. In affected versions, the closure procedure blocked indefinitely while waiting for sufficient QUIC flow control credit from the peer. A malicious peer can withhold this credit, preventing the capsule from being sent. ## The Fix webtransport-go now attempts to send the WT_CLOSE_SESSION capsule with a short deadline. If the capsule cannot be sent within this deadline, the CONNECT stream is reset instead. This closes the WebTransport session promptly without transmitting the optional error details. This prevents indefinite blocking on session closure.
Read the publisher's advisoryosv · GO-2026-4488
Publishedwebtransport-go: CloseWithError can block indefinitely in github.com/quic-go/webtransport-go
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-21435 · CVE overview and exploitation status
cve-program · CVE-2026-21435
- https://github.com/quic-go/webtransport-go/security/advisories/GHSA-px4r-g4p3-hhqv
- https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0
euvd · EUVD-2026-6717
- https://github.com/quic-go/webtransport-go/security/advisories/GHSA-px4r-g4p3-hhqv
- https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0
nvd · CVE-2026-21435
- https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0
- https://github.com/quic-go/webtransport-go/security/advisories/GHSA-px4r-g4p3-hhqv
osv · GHSA-px4r-g4p3-hhqv
- https://github.com/quic-go/webtransport-go/security/advisories/GHSA-px4r-g4p3-hhqv
- https://nvd.nist.gov/vuln/detail/CVE-2026-21435
- https://github.com/quic-go/webtransport-go
- https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0
osv · GO-2026-4488
Related changes
Linked by CVE identifierNo related changes are available here.