Inefficient Algorithmic Complexity in PHP - CVE-2026-127960

 

Inefficient Algorithmic Complexity in PHP - CVE-2026-127960

Published: November 19, 2026


Vulnerability identifier: #VU167926
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-127960
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through excessive CPU consumption.

The vulnerability exists due to inefficient algorithmic complexity in PHP's built-in HTTP and HTTPS stream wrapper when it processes folded response headers. The wrapper copies the entire accumulated header value for each continuation line. A remote attacker can supply a response with folded headers to an outbound request made by the application to keep PHP workers busy and deny service to other users.


Affected software

PHP
Debian Linux
Fedora
php
php8.4 (Debian package)

How to mitigate CVE-2026-127960

Install security update from vendor's website.

PHP - addressed in versions 8.2.36, 8.3.37, 8.4.28, 8.5.13
php - addressed in versions 8.4.28-2.fc43, 8.5.13-1.fc44, 8.5.13-1.fc45
php8.4 (Debian package) - update to 8.4.28-1~deb13u1

External References

Related Security Bulletins