Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. react/http
  4. ›
  5. CVE-2026-104827

CVE-2026-104827: react/http: Unbounded HTTP Client Response Header Buffering Leads to Memory Exhaustion DoS

October 15, 2026

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 memory_limit 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.

References

  • github.com/advisories/GHSA-g4f2-2pf3-2pwj
  • github.com/reactphp/http/commit/2558622d0b76227c60c61eac8a61572cb6638e8c
  • github.com/reactphp/http/releases/tag/v1.11.1
  • github.com/reactphp/http/security/advisories/GHSA-g4f2-2pf3-2pwj
  • nvd.nist.gov/vuln/detail/CVE-2026-104827

Code Behaviors & Features

Detect and mitigate CVE-2026-104827 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.0.0 before 1.11.1

Fixed versions

  • 1.11.1

Solution

Upgrade to version 1.11.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

packagist/react/http/CVE-2026-104827.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:23 +0000.