What’s Vulnerable › Vulnerabilities
CVE-2023-26044: ReactPHP's HTTP server continues parsing unused multipart parts after reaching limits
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-05-17 · updated 2026-06-17
- Weakness: CWE-400
Description
react/http is an event-driven, streaming HTTP client and server implementation for ReactPHP. Previous versions of ReactPHP's HTTP server component contain a potential DoS vulnerability that can cause high CPU load when processing large HTTP request bodies. This vulnerability has little to no impact on the default configuration, but can be exploited when explicitly using the RequestBodyBufferMiddleware with very large settings. This might lead to consuming large amounts of CPU time for processing requests and significantly delay or slow down the processing of legitimate user requests. This issue has been addressed in release 1.9.0. Users are advised to upgrade. Users unable to upgrade may keep the request body limited using RequestBodyBufferMiddleware with a sensible value which should mitigate the issue. An infrastructure or DevOps workaround could be to place a reverse proxy in front of the ReactPHP HTTP server to filter out any excessive HTTP request bodies.
Affected products
- reactphp http: from 0.8.0 before 1.9.0 — fixed in 1.9.0
How to fix
Upgrade to a fixed version: reactphp http 1.9.0. Check the vendor advisory for mitigations.
References
- https://github.com/reactphp/http/commit/9681f764b80c45ebfb5fe2ea7da5bd3babfcdcfd
- https://github.com/reactphp/http/security/advisories/GHSA-95x4-j7vc-h8mf
- https://github.com/reactphp/http/commit/9681f764b80c45ebfb5fe2ea7da5bd3babfcdcfd
- https://github.com/reactphp/http/security/advisories/GHSA-95x4-j7vc-h8mf
Get alerted when CVE-2023-26044 or the next vulnerability affects your stack