CVE-2026-54340

h2o has HTTP/2 state amplification

Published Jul 16, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
h2o is an HTTP server with support for HTTP/1.x, HTTP/2 and HTTP/3. Prior to commit 9265bdd, there is an HTTP/2 state amplification issue that combines HPACK decompression amplification with Slowloris-style stream stalling. Amplified decoded header state can be retained by stalled HTTP/2 streams, and depending on the configuration, additional limits are needed to bound decoded header state and prevent attack. This issue has been fixed by commit 9265bdd.

Analysis

AI-generated

Technical impact

The vulnerability arises from an interaction between HPACK decompression and HTTP/2 stream stalling. An attacker can send oversized header blocks that are decompressed into large memory structures while keeping the HTTP/2 stream stalled, allowing the server to accumulate decoded header state beyond configured limits and exhausting memory and potentially crashing or slowing the server. The weakness is a lack of bounds on resource usage and an expansion of decoded state beyond acceptable limits.

Affected Systems

Affected h2o HTTP server releases prior to commit 9265bdd, the GitHub commit referenced, in versions that enable HTTP/2 without limits on decoded header state.

Risk and Exploitability

The CVSS score of 7.5 indicates moderate to high severity. The EPSS score is below 1%, suggesting a low likelihood of exploitation in the general population, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote, over an unauthenticated HTTP/2 connection, and requires the ability to craft specific header frames and stall streams. An attacker with network access to the server could repeatedly issue such requests, provoking memory growth until the server becomes unresponsive.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest h2o release containing commit 9265bdd to remediate the amplification flaw.
  • Configure HTTP/2 stream limits and header size limits in h2o to bound decoded header state and prevent unchecked growth.
  • Monitor and log HTTP/2 connection behavior for abnormal slow stream patterns to detect potential attacks.

Generated by OpenCVE AI on July 31, 2026 at 01:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared H2o
H2o h2o
Vendors & Products H2o
H2o h2o
Type Values Removed Values Added
Description h2o is an HTTP server with support for HTTP/1.x, HTTP/2 and HTTP/3. Prior to commit 9265bdd, there is an HTTP/2 state amplification issue that combines HPACK decompression amplification with Slowloris-style stream stalling. Amplified decoded header state can be retained by stalled HTTP/2 streams, and depending on the configuration, additional limits are needed to bound decoded header state and prevent attack. This issue has been fixed by commit 9265bdd.
Title h2o has HTTP/2 state amplification
Weaknesses CWE-400
CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 17, 2026, 6:06 PM
Reserved
Jun 12, 2026, 7:23 PM
Status
Analyzed
Published
Jul 17, 2026, 12:16 AM
Modified
Aug 5, 2026, 7:47 PM