CVE-2026-104827

react/http: Unbounded HTTP Client Response Header Buffering Leads to Memory Exhaustion DoS

Published Oct 15, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
react/http is an event-driven, streaming HTTP client and server implementation for ReactPHP. From 1.0.0 until 1.11.1, React\Http\Browser uses ClientRequestStream::handleData() to append response-header bytes to an internal buffer without enforcing a size limit. A remote server can send a valid status line and partial header, withhold the \r\n\r\n or \n\n header terminator, and continue streaming data so the buffer grows for the life of the connection. Applications that fetch attacker-controlled or attacker-influenced URLs, including URLs reached through redirects, can exhaust PHP memory_limit and crash the event-loop or worker process. Confidentiality and integrity are unaffected. This issue is fixed in version 1.11.1.

Analysis

AI-generated

Technical impact

Selectively unbounded buffering of HTTP response headers allows an attacker to keep a connection open while sending a large amount of header data. The header bytes are appended to an internal buffer without a size limit, so a remote server can send a status line followed by a partial header, then delay the final delimiter, forcing the buffer to grow. Once the PHP memory_limit is exceeded, the event loop or worker process crashes, denying service. No data is leaked and integrity is not compromised, but availability is fully impacted.

Affected Systems

The CVE affects the ReactPHP library react/http, specifically the Browser component (ClientRequestStream::handleData) in releases from 1.0.0 through 1.11.1. The vulnerability is fixed in v1.11.1. Applications that use these versions to fetch URLs from potentially untrusted or redirect‑based sources are exposed.

Risk and Exploitability

The CVSS score of 7.5 implies a high severity. The EPSS score of less than 1% indicates that exploitation probability is currently very low, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote HTTP clients sending maliciously crafted responses; the attacker must control or influence a server that the application connects to and maintain a persistent TCP connection for the buffer to grow. The impact is local to the affected PHP process and results in a Denial‑of‑Service rather than data compromise. Because the vulnerability is fixable by upgrading the dependency, the risk can be mitigated with a timely patch.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the react/http package to version 1.11.1 or later, which limits the header buffer size.
  • If an upgrade is not immediately possible, add application logic to abort a request when the accumulated header size exceeds a safe bound before it is passed to the client buffer.
  • Restrict the URLs that the Browser may request or disable automatic redirects so that a malicious server cannot trigger the unbounded buffering behavior.

Generated by OpenCVE AI on October 16, 2026 at 17:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g4f2-2pf3-2pwj react/http: Unbounded HTTP Client Response Header Buffering Leads to Memory Exhaustion DoS
History
Type Values Removed Values Added
First Time appeared Reactphp
Reactphp http
Vendors & Products Reactphp
Reactphp http
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description react/http is an event-driven, streaming HTTP client and server implementation for ReactPHP. From 1.0.0 until 1.11.1, React\Http\Browser uses ClientRequestStream::handleData() to append response-header bytes to an internal buffer without enforcing a size limit. A remote server can send a valid status line and partial header, withhold the \r\n\r\n or \n\n header terminator, and continue streaming data so the buffer grows for the life of the connection. Applications that fetch attacker-controlled or attacker-influenced URLs, including URLs reached through redirects, can exhaust PHP memory_limit and crash the event-loop or worker process. Confidentiality and integrity are unaffected. This issue is fixed in version 1.11.1.
Title react/http: Unbounded HTTP Client Response Header Buffering Leads to Memory Exhaustion DoS
Weaknesses 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-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 16, 2026, 5:11 PM
Reserved
Oct 2, 2026, 2:17 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 16, 2026, 8:04 PM