Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-105297 Overview
CVE-2026-105297 is a denial-of-service vulnerability in Cloudflare's Pingora HTTP/2 server implementation before version 0.8.1. The flaw stems from Pingora relying on the h2 crate's default limits, which permit a 16 MiB decoded header-list size and impose no cap on concurrent streams per connection. A remote, unauthenticated attacker can send 1-byte HPACK references to a near-empty header, forcing the server to allocate hundreds of thousands of header fields per stream across an unlimited number of streams on a single connection. HTTP/2 flow control keeps the streams open, exhausting memory until the Pingora process is OOM-killed or degraded. Cloudflare's CDN customers were not affected because internal Pingora services at Cloudflare do not terminate HTTP/2 client traffic.
Critical Impact
A single HTTP/2 connection can exhaust the memory of a Pingora process with a 2 GiB limit, terminating the service and causing a remote, unauthenticated denial of service.
Affected Products
- Cloudflare Pingora versions before 0.8.1
- Pingora deployments terminating HTTP/2 (h2) or cleartext HTTP/2 (h2c) traffic
- Applications supplying custom H2Options without explicit max_header_list_size and max_concurrent_streams values
Discovery Timeline
- 2026-10-20 - CVE-2026-105297 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-105297
Vulnerability Analysis
The vulnerability is a classic allocation of resources without limits [CWE-770] in the HTTP/2 server path of Pingora. When no explicit H2Options were supplied, Pingora inherited the h2 crate defaults: a 16 MiB decoded header-list size and no cap on concurrent streams. These defaults permit extraordinary memory consumption per connection.
An attacker establishes a single HTTP/2 connection and opens many streams, each carrying a HEADERS frame compressed with HPACK. By repeatedly referencing a tiny indexed header entry, the attacker inflates the decoded header list to hundreds of thousands of fields while sending only a few bytes on the wire. HTTP/2 flow control is then used to keep each stream open so the allocated header structures are retained in memory.
Root Cause
The root cause is reliance on upstream library defaults that are unsuitable for an internet-facing server. H2Options::default() does not populate max_header_list_size or max_concurrent_streams, so Pingora advertised no meaningful bounds to clients. The HPACK amplification ratio between a 1-byte reference and a materialized header field makes the imbalance exploitable from a single connection.
Attack Vector
The attack requires no authentication and no user interaction. A remote client opens an h2 or h2c connection, allocates many concurrent streams, and sends HEADERS frames packed with repeated 1-byte HPACK indexed references to a near-empty header name/value pair. Each decoded field consumes server memory, and flow-control window management keeps streams active. The reporter demonstrated that a Pingora process capped at 2 GiB of memory could be OOM-killed by a single connection.
See the Pingora repository and the fix commit d193c8d for implementation details.
Detection Methods for CVE-2026-105297
Indicators of Compromise
- Sudden spikes in resident memory usage on Pingora processes correlated with new HTTP/2 connections.
- OOM-kill events in dmesg or systemd journal targeting the Pingora binary shortly after a connection is accepted.
- HTTP/2 connections with unusually high concurrent stream counts and HEADERS frames carrying large decoded header lists from small on-wire payloads.
Detection Strategies
- Instrument the h2 server to log per-connection decoded header-list sizes and stream counts, alerting when values exceed expected baselines.
- Use network telemetry to flag HTTP/2 clients opening more than 100 concurrent streams per connection or sending HEADERS frames whose decoded size greatly exceeds the compressed size.
- Correlate reverse-proxy restarts and memory saturation metrics with specific client source addresses to identify abusive peers.
Monitoring Recommendations
- Track process RSS, cgroup memory pressure, and OOM-kill counters for all Pingora instances.
- Enable connection-level metrics for max_concurrent_streams enforcement rejections and header-list-size violations after upgrading.
- Forward HTTP/2 protocol errors and GOAWAY frames into centralized logging to spot repeated abuse patterns.
How to Mitigate CVE-2026-105297
Immediate Actions Required
- Upgrade Pingora to version 0.8.1 or later, which advertises and enforces a 64 KiB decoded header-list limit and 100 concurrent streams per connection when no H2Options are supplied.
- Audit all Pingora-based services that terminate HTTP/2 or h2c and confirm whether custom H2Options are in use.
- For custom-configured deployments, explicitly set max_header_list_size and max_concurrent_streams; this mitigation also applies to versions before 0.8.1.
Patch Information
The fix is available in the commit d193c8d49b8b7c1c1ede93183759caa4f6906bbd and ships in Pingora 0.8.1. Applications supplying their own H2Options are not covered by the new defaults. On 0.8.1 and later, start from pingora_core::protocols::http::v2::server::default_h2_options() to inherit the safe values. Note that H2Options::default() still omits these limits.
Workarounds
- Place Pingora behind an upstream HTTP/2 terminator or WAF that enforces strict SETTINGS_MAX_CONCURRENT_STREAMS and header-list size limits.
- Enforce per-process memory cgroups combined with automatic restart policies to contain the blast radius while patching is scheduled.
- Rate-limit new HTTP/2 connections per source address at the network edge to reduce the attack surface available to unauthenticated clients.
# Configuration example: start from safe defaults when constructing H2Options
# in Rust (Pingora >= 0.8.1)
# use pingora_core::protocols::http::v2::server::default_h2_options;
# let mut opts = default_h2_options();
# opts.max_header_list_size = Some(64 * 1024);
# opts.max_concurrent_streams = Some(100);
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

