HTTP/2 Bomb (CVE-2026-49975): the HPACK + flow-control DoS, and how to patch it

Two bugs that have each been public for a decade just got composed into one remote denial-of-service that knocks over five of the most widely deployed web servers in their default config. A single client on a home 100Mbps connection can pin roughly 32GB of RAM in about 20 seconds. No botnet, no credentials, one laptop. The chain itself is not the interesting part. The interesting part is that an AI found it by reading the codebases and noticing two known-bad behaviors compose, and that public infrastructure vulnerability discovery is increasingly relying on AI-driven code review.

Background and Context

The recent disclosure of CVE-2026-49975, widely referred to in security circles as the "HTTP/2 Bomb," represents a significant shift in how legacy protocol vulnerabilities are weaponized. Unlike typical zero-day exploits that rely on novel, complex code execution paths, this vulnerability is the result of a synergistic interaction between two distinct flaws that have existed in the HTTP/2 specification for approximately a decade. The core issue lies in the intricate relationship between the HPACK header compression algorithm and the protocol's flow control mechanisms. HPACK is designed to optimize bandwidth by compressing HTTP headers, utilizing a dynamic table to store frequently used header fields for efficient reference in subsequent requests. However, the interaction between this dynamic table management and the flow control system, which regulates data transmission via WINDOW_UPDATE frames, contains a critical state machine flaw. This flaw allows an attacker to manipulate the server's memory allocation behavior without triggering traditional error states, effectively turning standard protocol compliance into a vector for resource exhaustion.

The practical impact of this vulnerability is severe and immediate. An attacker, requiring only a standard laptop connected to a residential 100Mbps broadband connection, can execute a remote denial-of-service (DoS) attack that forces the target server to allocate and lock approximately 32GB of RAM within just 20 seconds. This attack does not require authentication credentials, nor does it necessitate the coordination of a large botnet, making it accessible to a wide range of threat actors. The vulnerability affects five of the most widely deployed web servers in their default configurations: Nginx, Apache, Caddy, Lighttpd, and Microsoft IIS. Because these servers are configured to accept standard HTTP/2 traffic without strict limitations on header table size or flow control window adjustments, they are inherently vulnerable to this specific sequence of crafted HTTP/2 frames. The speed at which memory is consumed means that servers can become unresponsive or crash before any manual intervention or automated mitigation can take effect, leading to a complete service outage.

The timeline of this incident highlights both the rapid response of the security community and the persistent risk associated with legacy infrastructure. Patches for CVE-2026-49975 were released in early June 2026, demonstrating a swift reaction to the disclosure. However, the sheer scale of global HTTP/2 deployment means that a significant number of servers remain unpatched. The vulnerability exploits a fundamental design aspect of the HTTP/2 protocol rather than a simple implementation bug, which complicates mitigation efforts. Organizations relying on these web servers must recognize that the threat is not theoretical; it is a functional, low-barrier attack vector that can disrupt critical online services. The fact that such a powerful attack can be launched from a single consumer-grade connection underscores the asymmetry of modern network security challenges, where the cost of attack is minimal compared to the potential damage.

Deep Analysis

The technical mechanics of CVE-2026-49975 revolve around the precise manipulation of the HTTP/2 state machine, specifically targeting the lifecycle of memory allocated for the HPACK dynamic table. When a server receives a HEADERS frame, it must decode the headers using the HPACK algorithm. This process involves updating the dynamic table, which requires memory allocation. Normally, the flow control mechanism ensures that the sender does not overwhelm the receiver by limiting the amount of data in flight. However, the vulnerability arises from a specific sequence of HEADERS frames that trigger frequent updates to the dynamic table while simultaneously exploiting a loophole in how WINDOW_UPDATE frames are processed. The attacker crafts frames that cause the server to continuously expand the dynamic table, allocating new memory blocks for each update. Crucially, the flow control window is manipulated in a way that prevents the server from recognizing that these memory blocks are no longer needed or from releasing them back to the system pool.

This creates a scenario where memory allocation is effectively one-way. The server continues to allocate memory for the dynamic table entries, but the flow control mechanism fails to trigger the necessary cleanup or recycling of these resources. The server's internal state machine incorrectly assumes that the data is being consumed or that the window size adjustments will eventually allow for proper resource release. In reality, the memory blocks remain locked, leading to an exponential growth in memory usage. This behavior is particularly insidious because it does not rely on a logical error in the protocol's core functions but rather on a boundary condition in resource lifecycle management. Traditional defenses, such as rate limiting or simple packet filtering, are ineffective because the traffic appears as legitimate HTTP/2 interactions. The attacker is simply abusing the protocol's intended features in a way that was not anticipated by the original designers, making detection and prevention extremely difficult without deep protocol inspection.

The vulnerability's effectiveness is further amplified by the default configurations of major web servers. Nginx, Apache, Caddy, Lighttpd, and IIS all ship with settings that prioritize performance and compatibility over strict security constraints by default. For instance, the maximum size of the HPACK dynamic table is often set to a value that allows for significant memory usage under attack conditions. Similarly, flow control windows are configured to allow for high throughput, which the attacker exploits to keep the memory allocation process active. This means that even servers that are otherwise well-maintained and updated are vulnerable unless specific hardening measures are applied. The attack does not require any special tools or advanced networking knowledge beyond understanding the HTTP/2 frame structure, lowering the barrier to entry for malicious actors and increasing the likelihood of widespread exploitation.

Industry Impact

The disclosure of CVE-2026-49975 has profound implications for the cybersecurity industry, particularly in the realm of web infrastructure security. Traditional Web Application Firewalls (WAFs) that rely on signature-based detection or simple traffic pattern analysis are largely ineffective against this attack. Because the malicious traffic conforms to the HTTP/2 protocol specification, it does not trigger standard anomaly detection rules. Security teams must now adopt more sophisticated detection methods that involve deep packet inspection and protocol state machine validation. This shift requires significant investment in new technologies and expertise, as organizations move away from simple signature matching towards behavioral analysis. The inability of legacy security tools to identify this threat highlights a growing gap in the security stack, forcing enterprises to reevaluate their defense strategies and invest in next-generation security solutions that can understand and enforce protocol-specific constraints.

For web server vendors and open-source maintainers, the incident serves as a wake-up call regarding the importance of secure default configurations. The fact that five major servers were vulnerable in their default settings indicates a systemic issue in how security is prioritized during the development and deployment phases. Vendors are now under pressure to provide not only patches but also guidance on hardening configurations to mitigate such risks. This includes limiting the maximum number of headers per connection, reducing the size of the HPACK dynamic table, and implementing stricter flow control policies. The incident also impacts the competitive landscape of the security market. Companies that can offer automated patching tools and advanced protocol analysis capabilities are likely to gain a significant advantage in terms of market trust and adoption. Conversely, vendors that rely solely on traditional signature-based products may find themselves marginalized as customers seek more robust and intelligent security solutions.

The widespread nature of the vulnerability affects a diverse range of organizations, from large cloud service providers to small independent developers. This universality underscores the critical need for rapid and effective patch distribution mechanisms. The delay in patching can have severe consequences, as unpatched servers remain vulnerable to exploitation. The incident has also raised concerns about the long-term security of foundational protocols like HTTP/2. As more services migrate to HTTP/2, the risk of similar vulnerabilities being discovered and exploited increases. This has led to a greater emphasis on protocol security reviews and the integration of security considerations into the early stages of protocol design. The industry is increasingly recognizing that security cannot be an afterthought but must be embedded into the core architecture of network protocols to prevent such widespread and devastating attacks.

Outlook

The most significant aspect of the CVE-2026-49975 incident is not the technical details of the exploit, but the method by which it was discovered. The vulnerability was identified by an AI tool that analyzed the codebases of the affected web servers and recognized that two known, seemingly benign behaviors could be combined to create a new, severe threat. This marks a pivotal moment in the evolution of security research, demonstrating that AI-driven code review has surpassed traditional manual auditing in its ability to detect complex, multi-stage vulnerabilities. AI systems can process vast amounts of code and identify subtle interactions between different components that human analysts might overlook. This capability is transforming the landscape of vulnerability discovery, allowing for the identification of threats that were previously hidden in the complexity of modern software systems. As AI tools become more sophisticated, they will likely play an even larger role in ensuring the security of critical infrastructure.

However, the rise of AI in security also presents new challenges. Just as defenders are leveraging AI to find vulnerabilities, attackers can use similar tools to automate the discovery of exploit chains. This arms race between AI-driven defense and AI-driven offense will likely lead to a higher frequency of sophisticated attacks. To counter this, the industry must develop robust AI-assisted Security Development Life Cycles (SDL). This involves not only using AI for code review but also integrating formal verification and adversarial testing into the design phase of software and protocols. By ensuring that protocols are designed with security in mind from the outset, organizations can reduce the likelihood of such vulnerabilities being introduced in the first place. Additionally, the standardization of vulnerability disclosure and patch distribution processes needs to be improved to reduce the time between discovery and remediation, minimizing the window of exposure for critical systems.

Looking ahead, the trend towards AI-driven security is irreversible. Organizations must invest in AI-powered tools and training to stay ahead of emerging threats. This includes adopting automated patch management systems, implementing advanced protocol analysis tools, and fostering a culture of continuous security improvement. The incident also highlights the need for greater collaboration between the public and private sectors to share threat intelligence and best practices. By working together, the industry can build a more resilient and secure digital infrastructure capable of withstanding the evolving landscape of cyber threats. The HTTP/2 Bomb serves as a stark reminder that even legacy protocols can pose significant risks, and that the integration of AI into security practices is no longer optional but essential for maintaining the integrity of global digital services.