# CVE-2026-21434: webtransport-go affected by Memory Exhaustion Attack due to Missing Length Check in WT_CLOSE_SESSION Capsule

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-02-12T15:28:52.000Z
- Modified: 2026-09-10T03:50:35.012Z
- Also known as: GHSA-g6x7-jq8p-6q9q, GO-2026-4485
- Related: CGA-76hj-3qw4-9h2v
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

webtransport-go is an implementation of the WebTransport protocol. From 0.3.0 to 0.9.0, an attacker can cause excessive memory consumption in webtransport-go's session implementation by sending a WT_CLOSE_SESSION capsule containing an excessively large Application Error Message. The implementation does not enforce the draft-mandated limit of 1024 bytes on this field, allowing a peer to send an arbitrarily large message payload that is fully read and stored in memory. This allows an attacker to consume an arbitrary amount of memory. The attacker must transmit the full payload to achieve the memory consumption, but the lack of any upper bound makes large-scale attacks feasible given sufficient bandwidth. This vulnerability is fixed in 0.10.0.

(As written by CVE List.)

## Affected

- quic-go webtransport-go: < 0.10.0; from 0.3.0 before 0.10.0
- github.com/quic-go/webtransport-go (Go): from 0.3.0 before 0.10.0; before 0.10.0
- github.com/marten-seemann/webtransport-go (Go): from 0.3.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/quic-go/webtransport-go/security/advisories/GHSA-g6x7-jq8p-6q9q> (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-21434> (advisory)
- <https://github.com/quic-go/webtransport-go> (package)

## Sources

- CVE List: [CVE-2026-21434](https://www.cve.org/CVERecord?id=CVE-2026-21434), CVE Terms of Use, modified 2026-02-12
- GitHub Advisory Database: [GHSA-g6x7-jq8p-6q9q](https://github.com/advisories/GHSA-g6x7-jq8p-6q9q), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4485](https://pkg.go.dev/vuln/GO-2026-4485), CC-BY-4.0, modified 2026-02-23
- NVD: [CVE-2026-21434](https://nvd.nist.gov/vuln/detail/CVE-2026-21434), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21434 · Whole record: https://cve.day/CVE-2026-21434.json · Rebuilt by cve.day 2026-11-25T22:59:13.823Z
