{"id":"CVE-2025-64702","aliases":["CVE-2025-64702","GHSA-g754-hx8w-x2g6","GO-2025-4233"],"related":["CGA-p2hw-6g52-wqg3"],"kind":"vulnerability","state":"published","title":"quic-go HTTP/3 QPACK Header Expansion DoS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAn attacker can cause excessive memory allocation in 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.\n\n## Impact\n\nA misbehaving or malicious peer can cause a denial-of-service (DoS) attack on quic-go's HTTP/3 servers or clients by triggering excessive memory allocation, potentially leading to crashes or exhaustion. It affects both servers and clients due to symmetric header construction.\n\n## Details\n\nIn HTTP/3, headers are compressed using QPACK (RFC 9204). quic-go's HTTP/3 server (and client) decodes the QPACK-encoded HEADERS frame into header fields, then constructs an http.Request (or response).\n\n`http3.Server.MaxHeaderBytes` and `http3.Transport.MaxResponseHeaderBytes`, respectively, limit encoded HEADERS frame size (default: 1 MB server, 10 MB client), but not decoded size. A maliciously crafted HEADERS frame can expand to ~50x the encoded size using QPACK static table entries with long names / values.\n\nRFC 9114 requires enforcing decoded field section size limits via SETTINGS, which quic-go did not do.\n\n## The Fix\n\nquic-go now enforces RFC 9114 decoded field section size limits, sending SETTINGS_MAX_FIELD_SECTION_SIZE and using incremental QPACK decoding to check the header size after each entry, aborting early on violations with HTTP 431 (on the server side) and stream reset (on the client side).","format":"markdown","source":"ghsa"},{"lang":"en","text":"HTTP/3 QPACK Header Expansion DoS in github.com/quic-go/quic-go","format":"markdown","source":"go"},{"lang":"es","text":"quic-go es una implementación del protocolo QUIC en Go. Las versiones 0.56.0 y anteriores son vulnerables a una asignación excesiva de memoria a través de las implementaciones de cliente y servidor HTTP/3 de quic-go al enviar un frame HEADERS codificado en QPACK que se decodifica en una sección de campo de encabezado grande (muchos nombres de encabezado únicos y/o valores grandes). La implementación construye un http.Header (utilizado en http.Request y http.Response, respectivamente), mientras que solo aplica límites al tamaño del frame HEADERS (comprimido con QPACK), pero no al encabezado decodificado, lo que lleva al agotamiento de la memoria. Este problema está solucionado en la versión 0.57.0.","source":"nvd"}],"published":"2025-12-11T16:48:27.000Z","modified":"2026-10-14T20:10:00.190Z","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"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 0.57.0","status":"affected"}],"vendor":"quic-go","product":"quic-go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.57.0"}],"ecosystem":"Go","package":"github.com/quic-go/quic-go","purl":"pkg:golang/github.com/quic-go/quic-go","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.57.0"}],"ecosystem":"Go","package":"github.com/quic-go/quic-go","purl":"pkg:golang/github.com/quic-go/quic-go","source":"go"},{"ranges":[{"status":"affected","fixed":"0.57.0"}],"vendor":"quic-go_project","product":"quic-go","cpe":"cpe:2.3:a:quic-go_project:quic-go:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/quic-go/quic-go/security/advisories/GHSA-g754-hx8w-x2g6","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/quic-go/quic-go/commit/5b2d2129f8315da41e01eff0a847ab38a34e83a8","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64702","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/quic-go/quic-go","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-12T20:44:44.521Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64702","url":"https://www.cve.org/CVERecord?id=CVE-2025-64702","licence":"CVE Terms of Use","modified":"2025-12-12T20:45:30.439Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g754-hx8w-x2g6","url":"https://github.com/advisories/GHSA-g754-hx8w-x2g6","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:31.947Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4233","url":"https://pkg.go.dev/vuln/GO-2025-4233","licence":"CC-BY-4.0","modified":"2026-02-04T03:42:03.713Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64702","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64702","licence":"Public domain","modified":"2026-10-14T20:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:09.269Z","epss":{"score":0.00983,"percentile":0.6334,"date":"2026-12-02T12:00:21.000Z"}}