High · 7.5 PHP packages CVE-2026-104827 PKSA-y8pw-63n4-d3gg GHSA-g4f2-2pf3-2pwj
react/http Vulnerable to Memory Exhaustion via Unbounded HTTP Response Header Buffering (CVE-2026-104827)
A denial-of-service vulnerability in react/http's Browser HTTP client allows a malicious or compromised server to exhaust PHP memory by streaming an endless, unterminated response header. Fixed in version 1.11.1.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been identified in react/http, the HTTP client and server implementation for ReactPHP, affecting applications that use its Browser HTTP client to fetch remote content. Tracked as CVE-2026-104827, the issue allows a remote server to trigger uncontrolled memory growth in a client application, potentially crashing the process. The vulnerability is fixed in version 1.11.1.
What Happened
A vulnerability was disclosed in react/http affecting its React\Http\Browser HTTP client component. The internal mechanism used to read incoming HTTP response headers, ClientRequestStream::handleData(), appends incoming header bytes to a buffer without enforcing any size limit. A remote server can exploit this by sending a valid HTTP status line followed by a partial header, then deliberately withholding the header terminator (\r\n\r\n or \n\n) while continuing to stream data. Because the terminator never arrives, the client keeps appending bytes to the buffer for as long as the connection stays open.
Technical Cause
The root cause is classified as CWE-770, Allocation of Resources Without Limits or Throttling. The affected code path lacks a cap on the size of the response-header buffer, so an attacker-controlled or compromised server can grow it indefinitely simply by not sending the header-terminating sequence. This allows unbounded memory allocation tied directly to the lifetime of the connection rather than to any legitimate header size.
Why It Matters
Applications that use react/http's Browser client to fetch URLs that are attacker-controlled or attacker-influenced — including URLs reached indirectly through redirects — are exposed to this issue. A single malicious or compromised remote server can force the client application to consume memory until it hits PHP's memory_limit, crashing the event loop or worker process handling the request. According to the advisory, confidentiality and integrity are not affected; this is a pure availability issue.
Affected Versions
react/http versions from 1.0.0 up to and including 1.11.0 are affected. The issue is fixed in version 1.11.1.
Fixes and Mitigation
The vendor has released version 1.11.1, which addresses the unbounded buffering issue. Projects using react/http should update to this version to eliminate the exposure.
Recommended Action
Update react/http to version 1.11.1 or later. Pay particular attention if your application uses the Browser HTTP client to fetch URLs that originate from or are influenced by untrusted input, including cases where redirects can lead to attacker-controlled hosts, since these are the scenarios in which this vulnerability can be triggered.
PatchBriefing score
7.5 / 10 · High
Official CVSS: 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS 0.0061 (43 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- react/http >=1.0.0,<=1.11.0
- vulnerable
- react/http >= 1.0.0, <= 1.11.0
- vulnerable
- react/http ≥ 1.0.0 < 1.11.1
- vulnerable
- react/http
- vulnerable
- ≥ 1.11.1
- patched
Reported fixes
The vendor has released version 1.11.1, which addresses the unbounded buffering issue. Projects using react/http should update to this version to eliminate the exposure.
How this was built
4 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
Packagist Security Advisories registry
-
GitHub Advisory Database database
-
OSV.dev database
Revision history
- Published
- Generated