{"id":"CVE-2026-21434","aliases":["CVE-2026-21434","GHSA-g6x7-jq8p-6q9q","GO-2026-4485"],"related":["CGA-76hj-3qw4-9h2v"],"kind":"vulnerability","state":"published","title":"webtransport-go affected by Memory Exhaustion Attack due to Missing Length Check in WT_CLOSE_SESSION Capsule","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\nAn 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.\n\nThis 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.\n\n## Details\nWebTransport over HTTP/3, as defined in draft-ietf-webtrans-http3, uses the WT_CLOSE_SESSION capsule to signal session termination with an optional detailed error. The draft specifies that the length of the Application Error Message in this capsule MUST NOT exceed 1024 bytes.\nIn affected versions of webtransport-go, the parser does not enforce this 1024-byte maximum when processing incoming WT_CLOSE_SESSION capsules. A peer can send a capsule with an excessively large payload, forcing the recipient to allocate and buffer the full amount of transmitted data without bound.\n\n## The Fix\nwebtransport-go now limits the length of the parsed Application Error Message to 1024 bytes in WT_CLOSE_SESSION capsules by reading no more than this amount. This prevents excessive memory consumption.","format":"markdown","source":"ghsa"},{"lang":"en","text":"webtransport-go: Memory Exhaustion Attack due to Missing Length Check in WT_CLOSE_SESSION Capsule in github.com/quic-go/webtransport-go","format":"markdown","source":"go"},{"lang":"es","text":"webtransport-go es una implementación del protocolo WebTransport. Desde 0.3.0 hasta 0.9.0, un atacante puede causar un consumo excesivo de memoria en la implementación de sesión de webtransport-go al enviar una cápsula WT_CLOSE_SESSION que contiene un Mensaje de Error de Aplicación excesivamente grande. La implementación no aplica el límite de 1024 bytes exigido por el borrador en este campo, lo que permite a un par enviar una carga útil de mensaje arbitrariamente grande que se lee y almacena completamente en memoria. Esto permite a un atacante consumir una cantidad arbitraria de memoria. El atacante debe transmitir la carga útil completa para lograr el consumo de memoria, pero la falta de cualquier límite superior hace que los ataques a gran escala sean factibles dado un ancho de banda suficiente. Esta vulnerabilidad está corregida en 0.10.0.","source":"nvd"}],"published":"2026-02-12T15:28:52.000Z","modified":"2026-09-10T03:50:35.012Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 0.10.0","status":"affected"}],"vendor":"quic-go","product":"webtransport-go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.3.0","status":"affected","fixed":"0.10.0"}],"ecosystem":"Go","package":"github.com/quic-go/webtransport-go","purl":"pkg:golang/github.com/quic-go/webtransport-go","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.0"}],"ecosystem":"Go","package":"github.com/quic-go/webtransport-go","purl":"pkg:golang/github.com/quic-go/webtransport-go","source":"go"},{"ranges":[{"type":"semver","introduced":"0.3.0","status":"affected"}],"ecosystem":"Go","package":"github.com/marten-seemann/webtransport-go","purl":"pkg:golang/github.com/marten-seemann/webtransport-go","source":"go"},{"ranges":[{"status":"affected","introduced":"0.3.0","fixed":"0.10.0"}],"vendor":"quic-go","product":"webtransport-go","cpe":"cpe:2.3:a:quic-go:webtransport-go:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/quic-go/webtransport-go/security/advisories/GHSA-g6x7-jq8p-6q9q","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/quic-go/webtransport-go/releases/tag/v0.10.0","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21434","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/quic-go/webtransport-go","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-02-12T18:45:50.348Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-21434","url":"https://www.cve.org/CVERecord?id=CVE-2026-21434","licence":"CVE Terms of Use","modified":"2026-02-12T18:45:58.158Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g6x7-jq8p-6q9q","url":"https://github.com/advisories/GHSA-g6x7-jq8p-6q9q","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:35.012Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4485","url":"https://pkg.go.dev/vuln/GO-2026-4485","licence":"CC-BY-4.0","modified":"2026-02-23T12:44:00.535Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-21434","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21434","licence":"Public domain","modified":"2026-06-17T10:18:39.907Z"}],"updatedAt":"2026-11-25T22:59:13.823Z","epss":{"score":0.00458,"percentile":0.41439,"date":"2026-12-01T12:00:22.000Z"}}