Join our Newsletter — 33% off our NHI Course

HTTP/2 Bomb

An HTTP/2 Bomb is a denial-of-service technique that abuses normal HTTP/2 features to exhaust server memory. Attackers combine compressed header expansion with stream retention so small requests create large internal allocations that stay alive long enough to overwhelm the service and make it unresponsive.

Expanded Definition

An HTTP/2 Bomb is an application-layer denial-of-service pattern that exploits legitimate HTTP/2 behaviour, especially header compression and multiplexed streams, to force a server to allocate disproportionate memory or tracking state. It is not a broken-protocol attack so much as a stress test of how safely the implementation handles normal protocol features at scale.

In NHI and agentic systems, the risk matters because autonomous services, API gateways, and workload identities often sit behind shared ingress layers where a small request can fan out into expensive internal work. Definitions vary across vendors, but the practical security concern is consistent: the attacker uses protocol efficiency against the defender’s resource model. The right reference point is how the service behaves under sustained stream retention, oversized decompression state, and concurrency pressure, not whether the traffic looks “valid” on the wire. The NIST Cybersecurity Framework 2.0 is useful here because it frames resilience as an operational outcome, not only a perimeter control.

The most common misapplication is treating HTTP/2 Bomb protection as a generic network firewall problem, which occurs when teams ignore application-layer memory growth and stream lifecycle limits.

Examples and Use Cases

Implementing HTTP/2 defenses rigorously often introduces connection management constraints, requiring organisations to weigh user experience and protocol efficiency against tighter resource ceilings and stricter server behaviour.

  • A public API gateway receives many small HTTP/2 requests that individually look harmless, but decompression and header handling create memory pressure on the backend.
  • A service mesh fronting AI agents allows long-lived multiplexed streams, and a malformed client keeps many streams open until worker pools are exhausted.
  • An internal tool exposes HTTP/2 to CI/CD automation, and a burst of crafted requests causes queue buildup before rate limits or circuit breakers engage.
  • A reverse proxy accepts compressed headers without conservative size checks, leading to amplification between ingress traffic and internal allocation.
  • Security teams compare behaviour against guidance in the Ultimate Guide to NHIs when evaluating whether service accounts and machine-to-machine pathways can survive a sustained protocol abuse event.

Practitioners also use standards material such as the NIST Cybersecurity Framework 2.0 to map availability safeguards to detection and response expectations rather than to authentication alone.

Why It Matters in NHI Security

HTTP/2 Bombs are significant in NHI security because they target the availability of the services that NHIs depend on for authentication, token exchange, API execution, and agent coordination. When those pathways fail, the incident can look like an infrastructure issue while actually becoming an identity control failure. NHI Mgmt Group research shows that only 5.7% of organisations have full visibility into their service accounts, which means many teams cannot quickly determine which machine identities were active when the service became overloaded.

The governance impact is broader than a single outage. If one shared ingress component can be exhausted by protocol-compliant traffic, then workload identities, API keys, and automation flows may all lose access at once. This is why NHI resilience must include concurrency caps, header limits, stream timeouts, and monitoring for abnormal allocation growth. The Ultimate Guide to NHIs is especially relevant because it ties visibility and lifecycle control to the operational reality of machine identity exposure.

Organisations typically encounter the practical impact only after an application tier stalls under load, at which point HTTP/2 Bomb handling becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST Zero Trust (SP 800-207) and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.PT Availability and platform resilience controls apply to protocol-abuse denial-of-service conditions.
OWASP Non-Human Identity Top 10 NHI-07 Availability threats to machine identity pathways align with NHI abuse and service disruption concerns.
NIST Zero Trust (SP 800-207) Zero Trust assumes every request path may fail or be abused, including internal service-to-service traffic.
NIST AI RMF AI systems need risk controls for availability loss caused by protocol-layer resource exhaustion.
OWASP Agentic AI Top 10 Agentic systems depend on reliable tool and API access that can be disrupted by transport-layer abuse.

Apply continuous verification and least-privilege network paths to reduce blast radius under DoS.