Ubuntu patches php2shell flaws and removes eMudhra trust roots
Cloudflare has observed traffic aimed at php2shell, but has not disclosed whether any attacks succeeded. AWS also reported exploitation in the wild on 21 October 2026, the same day PHP shipped fixes. The two vulnerabilities could let an attacker with network access run code through a PHP application without logging in.
The flaws are CVE-2026-109618 and CVE-2026-109619. On the CVSS 4.0 scale, php2shell scores 9.2, classified as critical. Both are use-after-free bugs (CWE-416); one involves memory corruption while handling an out-of-memory condition, while the other can leave stale global state for a later request handled by the same worker. PHP is used by around 70% of websites, including sites built with WordPress, so vulnerable servers could face broad exposure. The Canadian Centre for Cyber Security warned that successful exploitation could let an unauthenticated attacker execute arbitrary code.
Two separate updates address different risks
Ubuntu's PHP fix is aimed at systems running the interpreter. Desktop Ubuntu is not directly affected by php2shell by default because PHP is not installed by default. The certificate update has wider relevance: Ubuntu's ca-certificates package removes two root certificates from the list the system trusts, both of which had vouched for eMudhra. The compromised keys belonged to specific eMudhra intermediate CA certificates, while the company said its root CA private keys and other intermediate CAs were not affected. In Ubuntu, the affected trust chains ran through the third-party roots emSign Root TLS CA - G3 and Comodo AAA Certificate Services, which Canonical removed from the system trust store.
Ubuntu published the trust-store update on 20 October and updated its notice on 22 October. The change applies to system clients such as curl and wget, which use the system certificate store. Google and other browser makers blocked the affected certificates on 17 October. Red Hat also addressed the incident in its products, where an eMudhra root certificate was included in the system trust store through the ca-certificates package.
The eMudhra key compromise could allow attackers to create fake website certificates and impersonate legitimate servers if exploited. NerdsMagazine's ShieldCrash report covered a separate security issue involving Microsoft Defender.
Check PHP versions and Ubuntu support
Canonical says all Ubuntu versions with PHP 5 or newer are affected, but fixes are being provided only for Ubuntu releases still supported by Canonical: 14.04 LTS through 26.04 LTS, along with 26.10. Although upstream PHP supports only version 8.1 and newer, Canonical backports critical fixes, so PHP 5 on Ubuntu 14.04 LTS can receive the patch. Upstream fixes were released on 21 October 2026 for PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12; the Canadian Centre for Cyber Security listed these as patched versions.
Ubuntu 14.04 LTS requires Ubuntu Pro for the update. The same condition applies to 16.04 and 18.04 LTS.
On a desktop, open Software Updater to check for available updates and install them. The ca-certificates package is preinstalled, so the certificate change can matter even when PHP is absent.
On a server, run sudo apt update && sudo apt upgrade if upgrading the full system is practical. Administrators can upgrade the PHP package separately; Canonical says applications or services using the PHP interpreter should also be restarted manually if a full reboot is not possible. Since php2shell affects the PHP interpreter itself rather than a particular framework or CMS, updating PHP is necessary even when a server runs an application built on those platforms.