Denial of service through folded HTTP response headers

State
Published
Severity
8.7 High
Published
Nov 19, 2026
Updated
Nov 19, 2026
Reserved
Nov 12, 2026

Read the record on cve.org

Description

Denial of service through 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, so a response with many short continuation lines takes disproportionate CPU time to parse. An attacker who controls an HTTP or HTTPS response fetched through file_get_contents(), fopen() or other stream functions, by making the application request a chosen URL or by influencing a server it already contacts, can keep PHP workers busy. Repeated or concurrent requests can cause 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.

ProductVersions
PHP PHP Group8.1.32 through 8.1.34 Affected8.2.28 to before 8.2.36 Affected8.3.18 to before 8.3.37 Affected8.4.5 to before 8.4.28 Affected8.5.0 to before 8.5.13 Affected

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption
  • CWE-407 Inefficient Algorithmic Complexity

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.