webtransport-go affected by a Memory Exhaustion Attack due to Missing Cleanup of Streams Map
cve-program · CVE-2026-21438
Publishedwebtransport-go is an implementation of the WebTransport protocol. Prior to 0.10.0, an attacker can cause unbounded memory consumption repeatedly creating and closing many WebTransport streams. Closed streams were not removed from an internal session map, preventing garbage collection of their resources. This vulnerability is fixed in v0.10.0.
Read the publisher's advisoryeuvd · EUVD-2026-6719
Publishedwebtransport-go is an implementation of the WebTransport protocol. Prior to 0.10.0, an attacker can cause unbounded memory consumption repeatedly creating and closing many WebTransport streams. Closed streams were not removed from an internal session map, preventing garbage collection of their resources. This vulnerability is fixed in v0.10.0.
Read the publisher's advisorynvd · CVE-2026-21438
Publishedwebtransport-go is an implementation of the WebTransport protocol. Prior to 0.10.0, an attacker can cause unbounded memory consumption repeatedly creating and closing many WebTransport streams. Closed streams were not removed from an internal session map, preventing garbage collection of their resources. This vulnerability is fixed in v0.10.0.
Read the publisher's advisoryosv · GHSA-2f2x-8mwp-p2gc
Published## Summary An attacker can cause unbounded memory consumption repeatedly creating and closing many WebTransport streams. Closed streams were not removed from an internal session map, preventing garbage collection of their resources. ## Details webtransport-go maintains an internal map tracking WebTransport streams (both unidirectional and bidirectional) belonging to a session. In affected versions, entries for closed streams were not removed from this map, causing the map to grow indefinitely as streams were created and closed. A malicious peer can exploit this by opening large numbers of streams and closing them, leading to steady memory growth proportional to the number of closed streams. ## The Fix webtransport-go now removes closed streams from the internal map upon closure. This allows the associated resources to be garbage collected, bounding memory usage to active streams only.
Read the publisher's advisoryosv · GO-2026-4483
Publishedwebtransport-go: Memory Exhaustion Attack due to Missing Cleanup of Streams Map 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-21438 · CVE overview and exploitation status
cve-program · CVE-2026-21438
- https://github.com/quic-go/webtransport-go/security/advisories/GHSA-2f2x-8mwp-p2gc
- https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0
euvd · EUVD-2026-6719
- https://github.com/quic-go/webtransport-go/security/advisories/GHSA-2f2x-8mwp-p2gc
- https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0
nvd · CVE-2026-21438
- https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0
- https://github.com/quic-go/webtransport-go/security/advisories/GHSA-2f2x-8mwp-p2gc
osv · GHSA-2f2x-8mwp-p2gc
- https://github.com/quic-go/webtransport-go/security/advisories/GHSA-2f2x-8mwp-p2gc
- https://nvd.nist.gov/vuln/detail/CVE-2026-21438
- https://github.com/quic-go/webtransport-go
- https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0
osv · GO-2026-4483
Related changes
Linked by CVE identifierNo related changes are available here.