react/http: Unbounded HTTP Client Response Header Buffering Leads to Memory Exhaustion DoS
High severity. Published 15 October 2026. Update react/http to 1.11.1 or later: composer update react/http.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| react/http (opens in a new tab) | >= 1.0.0, <= 1.11.0 | 1.11.1 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show react/http
composer auditAdvisory details
| Severity | HighCVSS 7.5 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-104827 (opens in a new tab) |
| GHSA | GHSA-g4f2-2pf3-2pwj (opens in a new tab) |
| Weakness | CWE-770 |
What the advisory says
Summary
React\Http\Browser and its lower-level HTTP stack impose no limit on the size of a response's header section while it is being received. ClientRequestStream::handleData() appends every incoming byte to an internal buffer and only scans that buffer for the \r\n\r\n (or \n\n) terminator, without ever checking its length. A remote server that withholds the terminator and keeps streaming can grow the client's memory without bound until PHP's memorylimit is exhausted and the process crashes.
This is an unauthenticated, network-reachable denial of service against any application that uses react/http as a client to fetch untrusted or attacker-influenced URLs, including via redirects.
Source: GHSA-g4f2-2pf3-2pwj (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- react/http: A malformed HTTP chunked body can lead to a denial-of-service and peg the CPU (high, 17 September 2026)