PHP: Denial of service through folded HTTP response headers
A denial of service vulnerability exists in PHP due to the handling of folded HTTP response headers.
The HTTP stream wrapper joins each continuation line of a folded response header to the accumulated value by allocating a new string and copying the whole value. Consequently, a response containing many short continuation lines requires disproportionate CPU time to parse. An attacker who controls an HTTP or HTTPS response fetched through file_get_contents(), fopen(), or other stream functions—either by making the application request a chosen URL or by influencing a server it already contacts—can keep PHP worker processes busy. Repeated or concurrent requests can result in a denial of service.
This issue affects PHP versions from 8.1.32 through 8.1.34, from 8.2.28 before 8.2.36, from 8.3.18 before 8.3.37, from 8.4.5 before 8.4.28 and 8.5.* before 8.5.13.
What to do
Remediation is not established. The package data indicates the following fixed versions: 8.2.36, 8.3.37, 8.4.28, and 8.5.13.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| PHP (interpreter) | PHP | >= 8.1.32, <= 8.1.34, >= 8.2.28, < 8.2.36, >= 8.3.18, < 8.3.37, >= 8.4.5, < 8.4.28, >= 8.5.0, < 8.5.13 ext-standard: >= 8.1.32, <= 8.1.34; >= 8.2.28, < 8.2.36; >= 8.3.18, < 8.3.37; >= 8.4.5, < 8.4.28; >= 8.5.0, < 8.5.13 |
8.2.36, 8.3.37, 8.4.28, 8.5.13 |
References
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-400, CWE-407- Platform
- PHP
- Package
PHP- Disclosed
- 19.11.2026
- Updated
- 20.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
PHP Security Advisories - GHSA-mmf9-xm3v-hg2x - CVE Terms of Use
Copyright 1999-2026 The MITRE Corporation
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
https://www.cve.org/Legal/TermsOfUseVulnerability history: PHP
All published vulnerabilities of this package (PHP (interpreter)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 78
- First → latest
- 02.2023 11.2026
- Without a fix
- 1
- Exploited in attacks
- 3
Severity breakdown
- Critical 11
- High 16
- Medium 42
- Low 9
Disclosures per year
- 2023: 5
- 2024: 17
- 2025: 12
- 2026: 44
-
PHP: Denial of service through folded HTTP response headers this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.