---
id: CVE-2026-104827
title: >-
  react/http is an event-driven, streaming HTTP client and server implementation
  for ReactPHP
summary: >-
  react/http is an event-driven, streaming HTTP client and server implementation
  for ReactPHP. From 1.0.0 until 1.11.1, React\Http\Browser uses
  ClientRequestStream::handleData() to append response-header bytes to an
  internal buffer without…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-770
vendor: reactphp
product: http
affected:
  - 'http >= 1.0.0, < 1.11.1'
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:14.933'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104827'
references:
  - url: >-
      https://github.com/reactphp/http/commit/2558622d0b76227c60c61eac8a61572cb6638e8c
    label: security-advisories@github.com
  - url: 'https://github.com/reactphp/http/releases/tag/v1.11.1'
    label: security-advisories@github.com
  - url: 'https://github.com/reactphp/http/security/advisories/GHSA-g4f2-2pf3-2pwj'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-g4f2-2pf3-2pwj'
tags:
  - nvd
  - cve.org
  - ghsa
  - composer
ingestedAt: '2026-10-15T19:25:46.396Z'
aliases:
  - GHSA-g4f2-2pf3-2pwj
ecosystem: composer
patched:
  - react/http 1.11.1
---

## Overview

react/http is an event-driven, streaming HTTP client and server implementation for ReactPHP. From 1.0.0 until 1.11.1, React\Http\Browser uses ClientRequestStream::handleData() to append response-header bytes to an internal buffer without enforcing a size limit. A remote server can send a valid status line and partial header, withhold the \r\n\r\n or \n\n header terminator, and continue streaming data so the buffer grows for the life of the connection. Applications that fetch attacker-controlled or attacker-influenced URLs, including URLs reached through redirects, can exhaust PHP memory_limit and crash the event-loop or worker process. Confidentiality and integrity are unaffected. This issue is fixed in version 1.11.1.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-104827)

Affected packages:

- `react/http >= 1.0.0, <= 1.11.0`

Patched in:

- `react/http 1.11.1`

Source: https://github.com/advisories/GHSA-g4f2-2pf3-2pwj
