CVE-2026-54399

Apache HttpComponents Core: Unbounded HTTP Header/Line Length in Default Configuration

Published Jul 1, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Uncontrolled Resource Consumption vulnerability in the HTTP/1.1 message parser in Apache HttpComponents Core (5.4.2 and earlier, 5.5-beta1 and earlier) allows an remote attacker to cause a denial of service through memory exhaustion by sending messages with excessive number of headers / excessive header length

Analysis

AI-generated

Technical impact

A flaw in the HTTP/1.1 message parser of Apache HttpComponents Core requests containing an excessive number of headers or header lines that are very long values, and the unbounded length can cause the application to consume large amounts of heap space, leading to crashes, freezes, or a complete denial of service. The weakness is catalogued as CWE-400 and CWE-770, representing uncontrolled resource consumption and unrestricted allocation.

Affected Systems

The affected component is Apache HttpComponents Core library, versions 5.4.2 and earlier, and 5.5-beta1 and earlier. Based on the description, it may be embedded in Java web servers, application servers, and HTTP client frameworks that accept external requests; therefore any exposed endpoint that relies on the library could be a potential attack surface.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score of < 1% signals a low probability of real-world exploitation. The vulnerability is not listed in CISA KEV. A remote attacker can trigger the flaw by sending crafted HTTP requests to any endpoint that uses the library. The description suggests that no authentication or privileged access is required. The attack surface likely exists wherever the library parses inbound HTTP traffic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache HttpComponents Core to a fixed version newer than 5.5-beta1, such as 5.5.0 or later, that implements header length and count limits.
  • If an upgrade is not immediately feasible, place a reverse proxy or firewall in front of the application to reject HTTP requests with header counts exceeding typical limits or header lengths larger than a safe threshold before they reach the library.
  • Configure the application or embedded HTTP server to validate header counts and lengths at the entry point, returning an error prior to invoking the parser.

Generated by OpenCVE AI on August 12, 2026 at 09:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hf6x-8p5f-cgmf Apache HttpComponents Core HTTP/1 header parsing can cause memory-exhaustion denial of service
History
Type Values Removed Values Added
First Time appeared Apache
Apache httpcomponents Core
Vendors & Products Apache
Apache httpcomponents Core
Type Values Removed Values Added
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'}

ssvc

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

Type Values Removed Values Added
Description Uncontrolled Resource Consumption vulnerability in the HTTP/1.1 message parser in Apache HttpComponents Core (5.4.2 and earlier, 5.5-beta1 and earlier) allows an remote attacker to cause a denial of service through memory exhaustion by sending messages with excessive number of headers / excessive header length
Title Apache HttpComponents Core: Unbounded HTTP Header/Line Length in Default Configuration
Weaknesses CWE-400
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jul 1, 2026, 5:36 PM
Reserved
Jun 13, 2026, 10:04 AM
Status
Analyzed
Published
Jul 1, 2026, 5:16 PM
Modified
Oct 25, 2026, 5:10 PM
Severity
Important
Public date
Jul 1, 2026, 5:02 PM