5.3medium
webtransport-go affected by a Memory Exhaustion Attack due to Missing Cleanup of Streams Map
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 36% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2f2x-8mwp-p2gcGO-2026-4483
Description
webtransport-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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| quic-go webtransport-go | < 0.10.0, before 0.10.0 | CVE List, NVD |
| github.com/quic-go/webtransport-go (Go) | before 0.10.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Classification
What each source says
CVE List
webtransport-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.
GitHub Advisory Database
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.
Go Vulnerability Database
webtransport-go: Memory Exhaustion Attack due to Missing Cleanup of Streams Map in github.com/quic-go/webtransport-go
NVD (es)
webtransport-go es una implementación del protocolo WebTransport. Antes de la versión 0.10.0, un atacante podía causar un consumo de memoria ilimitado creando y cerrando repetidamente muchas transmisiones WebTransport. Las transmisiones cerradas no se eliminaban de un mapa de sesión interno, lo que impedía la recolección de basura de sus recursos. Esta vulnerabilidad está corregida en la v0.10.0.
References
| https://github.com/quic-go/webtransport-go/security/advisories/GHSA-2f2x-8mwp-p2gc | advisory, vendor-advisory, web | |
| https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-21438 | advisory | |
| https://github.com/quic-go/webtransport-go | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-21438 changed 2026-02-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2f2x-8mwp-p2gc changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4483 changed 2026-02-23 | CC-BY-4.0 |
| NVD | CVE-2026-21438 changed 2026-06-17 | Public domain |