USN-9185-1: PHP vulnerabilities

Publication date

23 November 2026

Overview

Several security issues were fixed in PHP


Packages

  • php5 - HTML-embedded scripting language interpreter
  • php7.0 - HTML-embedded scripting language interpreter
  • php7.2 - HTML-embedded scripting language interpreter
  • php7.4 - HTML-embedded scripting language interpreter
  • php8.1 - HTML-embedded scripting language interpreter
  • php8.3 - HTML-embedded scripting language interpreter
  • php8.5 - HTML-embedded scripting language interpreter

Details

It was discovered that PHP did not properly manage memory for fatal error
backtraces during worker shutdown. An attacker could possibly use this issue
to execute arbitrary code or cause a denial of service. This issue only
affected Ubuntu 26.10 and Ubuntu 26.04 LTS. (CVE-2026-129182)

It was discovered that PHP did not properly enforce signature verification
for OpenSSL-signed Phar archives when an external public key was present. An
attacker could possibly use this issue to bypass signature checks and execute
arbitrary code. (CVE-2026-128090)

It was discovered that PHP did not properly manage memory boundaries when
processing path information in CGI configurations. An attacker could possibly
use this issue to cause a denial of service, expose sensitive information, or
execute arbitrary code. (

It was discovered that PHP did not properly manage memory for fatal error
backtraces during worker shutdown. An attacker could possibly use this issue
to execute arbitrary code or cause a denial of service. This issue only
affected Ubuntu 26.10 and Ubuntu 26.04 LTS. (CVE-2026-129182)

It was discovered that PHP did not properly enforce signature verification
for OpenSSL-signed Phar archives when an external public key was present. An
attacker could possibly use this issue to bypass signature checks and execute
arbitrary code. (CVE-2026-128090)

It was discovered that PHP did not properly manage memory boundaries when
processing path information in CGI configurations. An attacker could possibly
use this issue to cause a denial of service, expose sensitive information, or
execute arbitrary code. (CVE-2026-129538)

It was discovered that PHP did not properly sanitize request metadata in the
PHP-FPM status page. An attacker could possibly use this issue to conduct a
cross-site scripting attack, expose sensitive information, or disrupt
monitoring tools. (CVE-2026-129292)

It was discovered that PHP did not properly discard unread HTTP request body
data before reusing persistent connections in PHP-FPM or LSAPI. An attacker
could possibly use this issue to inject forged requests, bypass access
restrictions, or execute arbitrary code. (CVE-2026-129289)

It was discovered that PHP did not properly manage memory when processing XML
documents containing Document Type Definitions in the SOAP extension. An
attacker could possibly use this issue to crash the application, resulting in
a denial of service. (CVE-2026-129506)

It was discovered that PHP did not properly manage memory for the timezone
cache during process startup. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (CVE-2026-129496)

It was discovered that PHP did not properly handle interrupted writes in the
file-based session handler. An attacker could possibly use this issue to inject
arbitrary PHP objects, corrupt session state, or execute arbitrary code.
(CVE-2026-126714)

It was discovered that PHP did not properly enforce TLS encryption in the HTTP
and FTP stream wrappers when processing URLs with uppercase schemes. A remote
attacker could possibly use this issue to expose sensitive information.
(CVE-2026-128064)

It was discovered that PHP did not properly process folded HTTP response
headers in the built-in HTTP stream wrapper. A remote attacker could possibly
use this issue to cause a denial of service. This issue only affected Ubuntu
26.10, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, Ubuntu 20.04 LTS,
Ubuntu 18.04 LTS, and Ubuntu 16.04 LTS. (CVE-2026-127960)

It was discovered that PHP did not properly manage memory for worker records in
PHP-FPM when output capture was enabled. A local attacker could possibly use
this issue to escalate privileges, execute arbitrary code, or cause a denial of
service. (CVE-2026-129291)

It was discovered that PHP did not properly initialize memory when processing
array sizes in the SOAP extension. A remote attacker could possibly use this
issue to expose sensitive information. (CVE-2026-15353)

It was discovered that PHP did not properly manage memory for script filenames
when session shutdown was interrupted. An attacker could possibly use this
issue to cause a denial of service or execute arbitrary code. (CVE-2026-129481)

It was discovered that PHP did not properly manage memory for namespace
prefixes when serializing DOM XML or HTML documents. An attacker could possibly
use this issue to cause a denial of service. This issue only affected Ubuntu
26.10 and Ubuntu 26.04 LTS. (CVE-2026-129501)

It was discovered that PHP did not properly manage memory when collecting
arguments for backtraces during magic method calls. An attacker could possibly
use this issue to execute arbitrary code or cause a denial of service. This
issue only affected Ubuntu 26.10 and Ubuntu 26.04 LTS. (CVE-2026-129474)

It was discovered that PHP did not properly handle size calculations when
converting very large RFC 3986 URIs to strings. An attacker could possibly use
this issue to cause a denial of service, improperly route requests, or bypass
application validation checks. This issue only affected Ubuntu 26.10 and
Ubuntu 26.04 LTS. (CVE-2026-129438)

It was discovered that PHP did not properly handle session data when different
serialization formats were used alongside the session upload progress feature.
An attacker could possibly use this issue to modify files, corrupt session
data, cause a denial of service, or execute arbitrary code. This issue only
affected Ubuntu 26.10, Ubuntu 26.04 LTS, and Ubuntu 24.04 LTS.
(CVE-2026-115560)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.10 stonking libapache2-mod-php8.5 –  8.5.9-0ubuntu2.2
libphp8.5-embed –  8.5.9-0ubuntu2.2
php8.5-cgi –  8.5.9-0ubuntu2.2
php8.5-cli –  8.5.9-0ubuntu2.2
php8.5-common –  8.5.9-0ubuntu2.2
php8.5-fpm –  8.5.9-0ubuntu2.2
php8.5-litespeed –  8.5.9-0ubuntu2.2
php8.5-phpdbg –  8.5.9-0ubuntu2.2
php8.5-soap –  8.5.9-0ubuntu2.2
php8.5-xml –  8.5.9-0ubuntu2.2
26.04 LTS resolute libapache2-mod-php8.5 –  8.5.4-0ubuntu1.6
libphp8.5-embed –  8.5.4-0ubuntu1.6
php8.5-cgi –  8.5.4-0ubuntu1.6
php8.5-cli –  8.5.4-0ubuntu1.6
php8.5-common –  8.5.4-0ubuntu1.6
php8.5-fpm –  8.5.4-0ubuntu1.6
php8.5-litespeed –  8.5.4-0ubuntu1.6
php8.5-phpdbg –  8.5.4-0ubuntu1.6
php8.5-soap –  8.5.4-0ubuntu1.6
php8.5-xml –  8.5.4-0ubuntu1.6
24.04 LTS noble libapache2-mod-php8.3 –  8.3.6-0ubuntu0.24.04.14
libphp8.3-embed –  8.3.6-0ubuntu0.24.04.14
php8.3-cgi –  8.3.6-0ubuntu0.24.04.14
php8.3-cli –  8.3.6-0ubuntu0.24.04.14
php8.3-common –  8.3.6-0ubuntu0.24.04.14
php8.3-fpm –  8.3.6-0ubuntu0.24.04.14
php8.3-phpdbg –  8.3.6-0ubuntu0.24.04.14
php8.3-soap –  8.3.6-0ubuntu0.24.04.14
22.04 LTS jammy libapache2-mod-php8.1 –  8.1.2-1ubuntu2.29
libphp8.1-embed –  8.1.2-1ubuntu2.29
php8.1-cgi –  8.1.2-1ubuntu2.29
php8.1-cli –  8.1.2-1ubuntu2.29
php8.1-common –  8.1.2-1ubuntu2.29
php8.1-fpm –  8.1.2-1ubuntu2.29
php8.1-phpdbg –  8.1.2-1ubuntu2.29
php8.1-soap –  8.1.2-1ubuntu2.29
20.04 LTS focal libapache2-mod-php7.4 –  7.4.3-4ubuntu2.29+esm6  
libphp7.4-embed –  7.4.3-4ubuntu2.29+esm6  
php7.4-cgi –  7.4.3-4ubuntu2.29+esm6  
php7.4-cli –  7.4.3-4ubuntu2.29+esm6  
php7.4-common –  7.4.3-4ubuntu2.29+esm6  
php7.4-fpm –  7.4.3-4ubuntu2.29+esm6  
php7.4-phpdbg –  7.4.3-4ubuntu2.29+esm6  
php7.4-soap –  7.4.3-4ubuntu2.29+esm6  
18.04 LTS bionic libapache2-mod-php7.2 –  7.2.24-0ubuntu0.18.04.17+esm15  
libphp7.2-embed –  7.2.24-0ubuntu0.18.04.17+esm15  
php7.2-cgi –  7.2.24-0ubuntu0.18.04.17+esm15  
php7.2-cli –  7.2.24-0ubuntu0.18.04.17+esm15  
php7.2-common –  7.2.24-0ubuntu0.18.04.17+esm15  
php7.2-fpm –  7.2.24-0ubuntu0.18.04.17+esm15  
php7.2-phpdbg –  7.2.24-0ubuntu0.18.04.17+esm15  
php7.2-soap –  7.2.24-0ubuntu0.18.04.17+esm15  
16.04 LTS xenial libapache2-mod-php7.0 –  7.0.33-0ubuntu0.16.04.16+esm23  
libphp7.0-embed –  7.0.33-0ubuntu0.16.04.16+esm23  
php7.0-cgi –  7.0.33-0ubuntu0.16.04.16+esm23  
php7.0-cli –  7.0.33-0ubuntu0.16.04.16+esm23  
php7.0-common –  7.0.33-0ubuntu0.16.04.16+esm23  
php7.0-fpm –  7.0.33-0ubuntu0.16.04.16+esm23  
php7.0-phpdbg –  7.0.33-0ubuntu0.16.04.16+esm23  
php7.0-soap –  7.0.33-0ubuntu0.16.04.16+esm23  
14.04 LTS trusty libapache2-mod-php5 –  5.5.9+dfsg-1ubuntu4.29+esm19  
libapache2-mod-php5filter –  5.5.9+dfsg-1ubuntu4.29+esm19  
libphp5-embed –  5.5.9+dfsg-1ubuntu4.29+esm19  
php5-cgi –  5.5.9+dfsg-1ubuntu4.29+esm19  
php5-cli –  5.5.9+dfsg-1ubuntu4.29+esm19  
php5-common –  5.5.9+dfsg-1ubuntu4.29+esm19  
php5-fpm –  5.5.9+dfsg-1ubuntu4.29+esm19  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›