# react/http: A malformed HTTP chunked body can lead to a denial-of-service and peg the CPU

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

Canonical URL: https://buzzphp.com/security/ghsa-x424-64qh-5j54 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.5) |
| Published | 2026-09-17 |
| Updated | 2026-09-17 |
| CVE | [CVE-2026-84997](https://nvd.nist.gov/vuln/detail/CVE-2026-84997) |
| GHSA | [GHSA-x424-64qh-5j54](https://github.com/advisories/GHSA-x424-64qh-5j54) |
| Weakness | CWE-835 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| react/http | >= 0.6.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

A malformed HTTP message using Transfer-Encoding: chunked can drive React\Http\Io\ChunkedDecoder into an infinite loop, pegging a CPU core and freezing the event loop. Because ReactPHP is single-threaded, one such message stalls the entire process for every client until it is killed.

Both directions are affected. ChunkedDecoder decodes chunked request bodies for React\Http\HttpServer and chunked response bodies for React\Http\Browser, so a server can be attacked by a malicious client and a client can be attacked by a malicious or compromised server.

Details

ChunkedDecoder::handleData() loops while ($this-buffer !== '') and relies on the buffer shrinking each iteration.

## Links

- [GHSA-x424-64qh-5j54 on GitHub](https://github.com/advisories/GHSA-x424-64qh-5j54)
- [CVE-2026-84997 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-84997)
- [All Composer security advisories](https://buzzphp.com/security)
