Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/quic-go/webtransport-go
  4. ›
  5. CVE-2026-21434

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

February 12, 2026

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.

References

  • github.com/advisories/GHSA-g6x7-jq8p-6q9q
  • github.com/quic-go/webtransport-go
  • github.com/quic-go/webtransport-go/releases/tag/v0.10.0
  • github.com/quic-go/webtransport-go/security/advisories/GHSA-g6x7-jq8p-6q9q
  • nvd.nist.gov/vuln/detail/CVE-2026-21434

Code Behaviors & Features

Detect and mitigate CVE-2026-21434 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.3.0 before 0.10.0

Fixed versions

  • 0.10.0

Solution

Upgrade to version 0.10.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/quic-go/webtransport-go/CVE-2026-21434.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 13 Feb 2026 00:17:30 +0000.