Intel

AIKIDO-2026-375681

react/http is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-g4f2-2pf3-2pwj Published 4 days ago

75

High Risk

This Affects:

PHPreact/http
1.0.0 - 1.11.0
Fixed in 1.11.1
Are you affected? Scan for Free

TL;DR

The HTTP client buffers response bytes in ClientRequestStream::handleData() until it finds the end of the header block, with no ceiling on the buffered size. A remote server can withhold the terminating double CRLF while continuously streaming data, so the client keeps allocating memory until PHP's memory limit is hit and the process crashes. Exposure is unauthenticated and network reachable for any request to an untrusted or attacker-influenced server, including via redirects. The fix caps the response header block at 65536 bytes and raises an OverflowException when the limit is exceeded.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the HTTP client (for example React\Http\Browser) to send requests to untrusted or externally influenced servers.

Background info

react/http is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 1.11.0.

How to fix this

Upgrade the react/http library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform