Skip to main content

quic-go CVE-2025-64702

MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2025-12-11 security-advisories@github.com
5.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish HTTP/3 connection to quic-go peer
  2. Delivery
    Send compact QPACK HEADERS frame
  3. Exploit
    Decode expands ~50x into http.Header
  4. Execution
    Memory allocation grows unbounded per request
  5. Impact
    Repeat across streams to exhaust memory and crash

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitable against default configurations of any quic-go HTTP/3 server (http3.Server) or client (http3.Transport) in versions <= 0.56.0 - no special feature or non-default setting is required, and no authentication or user interaction is needed (PR:N/UI:N). The target must have HTTP/3 enabled and be reachable over QUIC/UDP. The limiting factor is impact magnitude, not access: amplification is capped by the existing compressed HEADERS-frame limits (default 1 MB server, 10 MB client), so each request allocates at most tens of MB, meaning durable denial-of-service requires many concurrent malicious requests rather than a single frame. Clients are only at risk when induced to connect to a malicious or compromised HTTP/3 server.

Impact

This is a medium-severity denial-of-service issue that, on balance, is a low real-world priority rather than an urgent threat. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) correctly reflects a remote, unauthenticated, low-complexity attack with no confidentiality or integrity impact and only LOW availability impact - consistent with CWE-770 (uncontrolled resource allocation) and the advisory's description of memory exhaustion rather than code execution. The EPSS score of 0.36% (29th percentile) is low, indicating no measurable exploitation activity, and the issue is NOT listed in CISA KEV, so there is no public exploit identified at time of analysis. The signals are internally consistent: low EPSS, no KEV, no POC, and bounded impact (A:L, not A:H) all point the same direction. One nuance worth flagging: the amplification is bounded - the ~50x QPACK expansion is limited by the pre-existing compressed-frame caps (default 1 MB server / 10 MB client), so a single request yields roughly tens of MB rather than unbounded allocation; sustained DoS would require many concurrent requests, which is why the vendor rated availability LOW rather than HIGH. The vulnerability is symmetric, affecting both HTTP/3 servers and clients.

Exploit ScenarioDerived

A malicious peer connects to a quic-go-based HTTP/3 server (or lures a quic-go client to a hostile server) and sends a QPACK-encoded HEADERS frame crafted with many unique header names and/or long values that stays under the compressed-frame size limit but decodes to roughly 50x its encoded size. quic-go builds the full http.Header in memory without enforcing a decoded field-section limit, driving memory consumption up; repeating this across many streams/connections can exhaust memory and crash the process. No public proof-of-concept is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Excessive memory allocation in quic-go's HTTP/3 client and server implementations (versions 0.56.0 and earlier) allows a remote, unauthenticated attacker to send a QPACK-encoded HEADERS frame that expands into a large header field section, because the library enforces limits only on the compressed frame size, not the decoded headers. This can cause memory exhaustion and denial of service, though the impact is limited (CVSS 5.3, availability Low) and sustaining an outage requires many concurrent malicious requests; no public exploit identified at time of analysis. A vendor patch is available in version 0.57.0.

RemediationAI

Upgrade to quic-go version 0.57.0, which enforces RFC 9114 decoded field-section size limits by sending SETTINGS_MAX_FIELD_SECTION_SIZE and using incremental QPACK decoding to abort early with HTTP 431 (server) or a stream reset (client). If immediate upgrade is not feasible, reduce the risk by lowering http3.Server.MaxHeaderBytes and http3.Transport.MaxResponseHeaderBytes to the smallest values your application can tolerate, but note that the ~50x expansion factor means this only reduces the maximum per-request allocation and does not eliminate the vulnerability; it may also reject legitimate large headers. Additionally, apply QUIC/UDP rate limiting or connection concurrency limits to make it harder for an attacker to send the many concurrent requests needed for a sustained denial of service. Monitor memory usage for abnormal spikes. See the vendor advisory at https://github.com/quic-go/quic-go/security/advisories/GHSA-g754-hx8w-x2g6 for details.

Affected Packages

go github.com/quic-go/quic-go fix: 0.57.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

quic-go is a Go implementation of the QUIC transport protocol, which underpins HTTP/3. HTTP/3 uses QPACK (RFC 9204) to compress header fields, and RFC 9114 mandates that implementations enforce a decoded field-section size limit via the SETTINGS_MAX_FIELD_SECTION_SIZE parameter. Prior to version 0.57.0, quic-go limited only the size of the QPACK-compressed HEADERS frame (via http3.Server.MaxHeaderBytes and http3.Transport.MaxResponseHeaderBytes), but not the size of the decoded header field list. An attacker can craft a HEADERS frame that is small when compressed yet decodes into an http.Header with many unique names or large values, because QPACK static table entries allow expansion of roughly 50x. This is a CWE-770 (Allocation of Resources Without Limits or Throttling) issue. The fix (commit 5b2d2129f8315da41e01eff0a847ab38a34e83a8) adds a sizeLimit parameter to parseHeaders, which subtracts len(name)+len(value)+32 for each decoded field per RFC 9114, and returns an error if the limit is exceeded; the server responds with HTTP 431 and the client resets the stream. The change also applies to both request and response header parsing, affecting both server and client roles.

Know when Quic Go gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Remote, unauthenticated, low-complexity header request (AV:N/AC:L/PR:N/UI:N); only availability affected and bounded by frame-size caps, so A:L and C/I:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
widely-used Go HTTP/3 library (e.g. Caddy), but not ubiquitous infrastructure
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:quic-go_project:quic-go:*:*:*:*:*:*:*:*

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy