Skip to content
Heist/ feed
Back to feed
Medium

quic-go HTTP/3 QPACK Header Expansion DoS

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-64702
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:05 UTC · Revision 1

Source evidence

quic-go HTTP/3 QPACK Header Expansion DoS

core-osv · Original source

Published 11 Dec 2025, 20:58 UTC

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.

osv:CVE-2025-64702
Complete source record
{
  "id": "a813341ed0882ad757d06837d4fc74d0721467d5182f96512fa31fc2e52ed03b",
  "url": "https://osv.dev/vulnerability/CVE-2025-64702",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2025-64702",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-64702",
      "aliases": [
        "CVE-2025-64702",
        "GHSA-g754-hx8w-x2g6",
        "GO-2025-4233"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/quic-go/quic-go",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5b2d2129f8315da41e01eff0a847ab38a34e83a8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.57.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5b2d2129f8315da41e01eff0a847ab38a34e83a8"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "cpe": "cpe:2.3:a:quic-go_project:quic-go:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.57.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.56.0",
            "v0.55.0",
            "v0.54.0",
            "v0.49.0",
            "v0.53.0",
            "v0.52.0",
            "v0.51.0",
            "v0.50.0",
            "v0.48.1",
            "v0.48.0",
            "v0.47.0",
            "v0.46.0",
            "v0.45.0",
            "v0.44.0",
            "v0.43.0",
            "v0.42.0",
            "v0.41.0",
            "v0.40.0",
            "v0.38.1",
            "v0.39.0",
            "v0.38.0",
            "v0.33.0",
            "v0.37.1",
            "v0.37.0",
            "v0.36.0",
            "v0.35.1",
            "v0.35.0",
            "v0.34.0",
            "v0.32.0",
            "v0.31.1",
            "v0.31.0",
            "v0.30.0",
            "v0.29.0",
            "v0.28.1",
            "v0.28.0",
            "v0.27.0",
            "v0.26.0",
            "v0.25.0",
            "v0.24.0",
            "v0.23.0",
            "v0.22.0",
            "v0.21.1",
            "v0.21.0",
            "v.0.21",
            "v0.7.0",
            "v0.6.0",
            "v0.5.0",
            "v0.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64702.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.807031178Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64702.json",
        "https://github.com/quic-go/quic-go/security/advisories/GHSA-g754-hx8w-x2g6",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-64702",
        "https://github.com/quic-go/quic-go/commit/5b2d2129f8315da41e01eff0a847ab38a34e83a8"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-770"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64702.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-64702",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513698,
  "published_at": "2025-12-11T20:58:10.517+00:00"
}