CVE-2026-127960
Excessive CPU usage from HTTP response when using stream wrapper
| Publication Date | 2026-11-19 |
|---|---|
| Severity | High |
| Type | Denial of Service |
| Affected PHP Versions |
|
| Fixed Product Versions |
|
CVE Details
A malicious HTTP server can cause PHP's built-in HTTP stream wrapper to consume excessive CPU while reading a response. Applications using file_get_contents(), fopen() or other stream functions to fetch an HTTP or HTTPS URL may become slow or unavailable if the response contains a header split across a large number of continuation lines.
Recommendations
Consider using a non-stream-wrapper HTTP client, such as cURL, for your HTTP requests. If this is not possible, update to a known patched version of PHP.