Skip to main content
Vulnerability Database/CVE-2026-54425

CVE-2026-54425: Apache bRPC HTTP/2 HPACK DoS Vulnerability

CVE-2026-54425 is a denial of service flaw in Apache bRPC that exploits uncontrolled recursion in the HTTP/2 HPACK decoder. Attackers can exhaust thread stacks using crafted headers. This article covers technical details, affected versions, and mitigation steps.

Published:

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-54425 Overview

CVE-2026-54425 is an uncontrolled recursion vulnerability [CWE-674] in the HTTP/2 HPACK decoder of Apache bRPC before version 1.18.0. Remote attackers can trigger denial of service by sending a crafted HTTP/2 header block containing many consecutive Dynamic Table Size Update entries. Each update is decoded by recursively invoking the HPACK decoder, exhausting the thread stack before a header field or end of input is reached. The flaw affects deployments using bRPC's built-in HTTP/2 implementation to accept traffic from untrusted networks.

Critical Impact

Unauthenticated remote attackers can crash bRPC server threads by sending a single crafted HTTP/2 header block, causing service disruption without requiring authentication or user interaction.

Affected Products

  • Apache bRPC versions prior to 1.18.0
  • bRPC deployments using the built-in HTTP/2 server
  • Services exposing bRPC HTTP/2 endpoints to untrusted networks

Discovery Timeline

  • 2026-10-21 - CVE-2026-54425 published to NVD
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-54425

Vulnerability Analysis

The vulnerability resides in Apache bRPC's HPACK decoder, the component responsible for parsing HTTP/2 header compression state. HPACK defines a Dynamic Table Size Update instruction that signals a change to the decoder's dynamic table capacity. In vulnerable bRPC versions, processing one Dynamic Table Size Update entry causes the decoder to recursively call itself to decode the next entry.

An attacker who controls the HTTP/2 header block can chain many consecutive Dynamic Table Size Update entries into a single frame. Each entry pushes a new stack frame onto the decoding thread. Because the recursion depth is not bounded, the thread stack is exhausted before the decoder reaches an actual header field or the end of input, leading to a crash of the server thread or process.

The weakness is tracked under CWE-674: Uncontrolled Recursion. Exploitation requires only network reachability to a bRPC HTTP/2 listener.

Root Cause

The bRPC HPACK decoder recursively decoded the next entry after processing a Dynamic Table Size Update, without enforcing any recursion depth limit. A long sequence of update entries therefore consumed stack space proportional to the number of entries supplied by the attacker.

Attack Vector

An attacker establishes an HTTP/2 connection to the target bRPC endpoint and sends a HEADERS frame whose header block contains a long run of Dynamic Table Size Update entries. The decoder recurses once per entry until stack exhaustion aborts the handling thread. No authentication, prior session state, or user interaction is required. Technical details are available in the Apache mailing list thread.

Detection Methods for CVE-2026-54425

Indicators of Compromise

  • Unexpected bRPC worker thread crashes or process restarts correlated with inbound HTTP/2 traffic.
  • HTTP/2 HEADERS frames containing an abnormally high count of consecutive Dynamic Table Size Update entries (HPACK integer prefix 001xxxxx).
  • Short-lived HTTP/2 connections from unknown sources that terminate before any request body is processed.

Detection Strategies

  • Inspect HTTP/2 traffic at the proxy or load balancer layer for header blocks containing repeated Dynamic Table Size Update octets.
  • Alert on repeated crashes of the same bRPC service binary within a short time window.
  • Correlate stack overflow signals (SIGSEGV with stack-adjacent faulting addresses) in process telemetry with inbound network sessions.

Monitoring Recommendations

  • Monitor service availability metrics and thread crash counters for bRPC-based services exposed to untrusted networks.
  • Capture network flow telemetry for HTTP/2 listeners and baseline typical header block sizes to flag outliers.
  • Review web application firewall logs for HTTP/2 protocol anomalies targeting bRPC endpoints.

How to Mitigate CVE-2026-54425

Immediate Actions Required

  • Upgrade Apache bRPC to version 1.18.0 or later on all affected hosts.
  • Inventory services linking against bRPC and confirm which expose HTTP/2 to untrusted networks.
  • Restrict network reachability to bRPC HTTP/2 ports until patching is complete.

Patch Information

The fix is included in Apache bRPC 1.18.0. The upstream patch changes HPACK Dynamic Table Size Update decoding to use iterative parsing instead of recursive parsing, eliminating the stack growth tied to attacker-controlled entry counts. The patch is available in Apache bRPC Pull Request #3343. Additional context is published on the Apache mailing list thread.

Workarounds

  • Place a hardened HTTP/2-aware reverse proxy in front of bRPC services to normalize or reject oversized header blocks.
  • Terminate HTTP/2 at an edge layer that enforces limits on header block size and HPACK instruction counts, forwarding only HTTP/1.1 to bRPC.
  • Restrict bRPC HTTP/2 listeners to trusted internal networks using firewall or service mesh policy until the upgrade to 1.18.0 is deployed.

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.