Skip to content
Heist/ feed
Back to feed
Medium

golang-github-lucas-clemente-quic-go — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-64702

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
golang-github-lucas-clemente-quic-go
Affected versions
0.18.0-3, 0.24.0-1, 0.25.0-1, 0.37.4-1, 0.38.2-1, 0.50.0-1, 0.50.1-2, 0.59.0-2
Fixed versions
Not specified
CVEs
CVE-2025-64702
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:35 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-64702

core-osv · Original source

Published 11 Dec 2025, 21:15 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:UBUNTU-CVE-2025-64702

golang-github-lucas-clemente-quic-go

Fixed versions: Not specified

golang-github-lucas-clemente-quic-go

Fixed versions: Not specified

golang-github-lucas-clemente-quic-go

Fixed versions: Not specified

golang-github-lucas-clemente-quic-go

Fixed versions: Not specified

golang-github-lucas-clemente-quic-go

Fixed versions: Not specified

Complete source record
{
  "id": "905d11f2f3cd0ca95acca29afb67034d3a7c84a0586bea30e647205f394cbd2e",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-64702",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-64702",
    "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:UBUNTU-CVE-2025-64702",
    "products": [
      {
        "name": {
          "value": "golang-github-lucas-clemente-quic-go",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.18.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.24.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.25.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-lucas-clemente-quic-go",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.37.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.38.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-lucas-clemente-quic-go",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.50.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.50.1-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-lucas-clemente-quic-go",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.59.0-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-lucas-clemente-quic-go",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.50.1-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.59.0-2",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2025-64702",
      "aliases": [
        "UBUNTU-CVE-2025-64702"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-lucas-clemente-quic-go",
            "purl": "pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.18.0-3",
            "0.24.0-1",
            "0.25.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64702.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-lucas-clemente-quic-go-dev",
                "binary_version": "0.25.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-lucas-clemente-quic-go",
            "purl": "pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.37.4-1",
            "0.38.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64702.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-lucas-clemente-quic-go-dev",
                "binary_version": "0.38.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-lucas-clemente-quic-go",
            "purl": "pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.50.0-1",
            "0.50.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64702.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-lucas-clemente-quic-go-dev",
                "binary_version": "0.50.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-lucas-clemente-quic-go",
            "purl": "pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.59.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64702.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-lucas-clemente-quic-go-dev",
                "binary_version": "0.59.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-lucas-clemente-quic-go",
            "purl": "pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.50.1-2",
            "0.59.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64702.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-lucas-clemente-quic-go-dev",
                "binary_version": "0.59.0-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:11.716457062Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-64702"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-64702",
        "https://www.cve.org/CVERecord?id=CVE-2025-64702",
        "https://github.com/quic-go/quic-go/commit/5b2d2129f8315da41e01eff0a847ab38a34e83a8",
        "https://github.com/quic-go/quic-go/security/advisories/GHSA-g754-hx8w-x2g6"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-64702",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356874,
  "published_at": "2025-12-11T21:15:00+00:00"
}