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

High severity, published 2026-10-15. Update react/http to 1.11.1 or later: composer update react/http.

Canonical URL: https://buzzphp.com/security/ghsa-g4f2-2pf3-2pwj · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.5) |
| Published | 2026-10-15 |
| Updated | 2026-10-15 |
| CVE | [CVE-2026-104827](https://nvd.nist.gov/vuln/detail/CVE-2026-104827) |
| GHSA | [GHSA-g4f2-2pf3-2pwj](https://github.com/advisories/GHSA-g4f2-2pf3-2pwj) |
| Weakness | CWE-770 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| react/http | >= 1.0.0, <= 1.11.0 | 1.11.1 |

## What to do

Update react/http to 1.11.1 or later: composer update react/http.

Check which version you run with `composer show react/http`, and every affected package with `composer audit`.

## About this advisory

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.



## Links

- [GHSA-g4f2-2pf3-2pwj on GitHub](https://github.com/advisories/GHSA-g4f2-2pf3-2pwj)
- [CVE-2026-104827 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-104827)
- [All Composer security advisories](https://buzzphp.com/security)
