ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-127960

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSphp7.0
All versions before 7.0.33-0ubuntu0.16.04.16+esm23 (fixed in 7.0.33-0ubuntu0.16.04.16+esm23)
Ubuntu:Pro:18.04:LTSphp7.2
All versions before 7.2.24-0ubuntu0.18.04.17+esm15 (fixed in 7.2.24-0ubuntu0.18.04.17+esm15)
Ubuntu:Pro:20.04:LTSphp7.4
All versions before 7.4.3-4ubuntu2.29+esm6 (fixed in 7.4.3-4ubuntu2.29+esm6)
Ubuntu:22.04:LTSphp8.1
All versions before 8.1.2-1ubuntu2.29 (fixed in 8.1.2-1ubuntu2.29)
Ubuntu:24.04:LTSphp8.3
All versions before 8.3.6-0ubuntu0.24.04.14 (fixed in 8.3.6-0ubuntu0.24.04.14)
Ubuntu:26.10php8.5
All versions before 8.5.9-0ubuntu2.2 (fixed in 8.5.9-0ubuntu2.2)
Ubuntu:26.04:LTSphp8.5
All versions before 8.5.4-0ubuntu1.6 (fixed in 8.5.4-0ubuntu1.6)

References