CVE-2025-64702
MEDIUM5.3EPSS 0.06%HTTP/3 QPACK Header Expansion DoS in github.com/quic-go/quic-go
Published: 12/11/2025Modified: 4/28/2026
Description
quic-go is an implementation of the QUIC protocol in Go. Versions 0.56.0 and below are vulnerable to excessive memory allocation through quic-go's HTTP/3 client and server implementations by sending a QPACK-encoded HEADERS frame that decodes into a large header field section (many unique header names and/or large values). The implementation builds an http.Header (used on the http.Request and http.Response, respectively), while only enforcing limits on the size of the (QPACK-compressed) HEADERS frame, but not on the decoded header, leading to memory exhaustion. This issue is fixed in version 0.57.0.
Affected packages (3)
- Debian/golang-github-lucas-clemente-quic-gofrom 0
- Go/github.com/quic-go/quic-gofrom 0, < 0.57.0
- Go/github.com/quic-go/quic-gofrom 0, < 0.57.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-64702
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-64702
- PATCHhttps://github.com/quic-go/quic-go
- WEBhttps://github.com/quic-go/quic-go/commit/5b2d2129f8315da41e01eff0a847ab38a34e83a8
- WEBhttps://github.com/quic-go/quic-go/security/advisories/GHSA-g754-hx8w-x2g6