
PHP released emergency security updates on October 21 fixing two critical vulnerabilities that allow unauthenticated remote code execution, then disclosed a third RCE vector on October 23. If you self-host anything built on PHP — blogs, wikis, photo managers, media servers, home-cloud suites — this is a patch-now week, not a patch-someday week. Proof-of-concept exploits are already circulating, according to the CERT-EU advisory.
The PHP security team gave advance notice on October 20 of an upcoming security release addressing two critical flaws, both rated CVSS v4.0 9.2. The fixes landed on October 21 at around 13:30 UTC in four branches: 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and PHP says all users of those branches should update immediately. Akamai's Security Intelligence Group and Cisco both flagged the flaws the same week under the nickname PHP2Shell, and CERT-EU advises organizations to patch affected assets immediately.
Two upgrade notes matter for homelab planning. First, PHP 8.2 reaches end of life on December 31, 2026 and gets no further security fixes after that, so the 8.2.35 update buys you barely two months — plan the jump to a supported branch. Second, PHP 8.1 and older no longer receive updates from the PHP project at all, though the team published minimal source backports for 7.4, 8.0 and 8.1 given the severity, and some distributions and LTS vendors ship their own backported fixes.
CVE-2026-109618 — RCE via out-of-memory corruption. PHP enforces its memory_limit setting by aborting requests that exceed it mid-flight. That abort can interrupt PHP while internal request data is only partly set up — for example while parsing a file upload — and cleanup can then treat the half-built data as valid, freeing memory that was never initialized but may still hold attacker-controlled leftovers. That is the path to code execution, and it needs no login.
CVE-2026-109619 — RCE via stale global state. Internal state belonging to one request can survive after its backing memory is freed, for instance after a fatal error. A later request handled by the same worker process can then pick up that stale state before normal setup resets it. Again, the attacker needs no credentials — just the ability to reach the web server.
Both flaws hit every common way of serving PHP: PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed, per the PHP advisory. The project considers mod_php the highest-risk setup, with what it describes as a demonstrated exploit where a single unauthenticated request triggers the attack before any application code runs.
PHP sits underneath a huge share of self-hosted web apps, and many homelabbers run it without thinking about it — inside a Nextcloud or WordPress container, behind a reverse proxy, on a NAS app or a cheap VPS. The uncomfortable part is that many of those installs expose PHP directly to the internet through port forwards or tunnels. An unauthenticated RCE means anyone who can reach the login page can potentially own the worker process, and from there read or destroy its data and plant persistent backdoors — Trend Micro's analysis rates the impact high across confidentiality, integrity and availability.
There is also a supply-chain wrinkle worth knowing: many products embed PHP without advertising it, so you can be affected even if you never installed PHP yourself. CERT-EU points to the NCSC-NL tracking repository that catalogs third-party software embedding PHP, which is a good place to check the apps in your own stack.
Two days after the emergency releases, PHP published an informational advisory for CVE-2026-115560, a separate RCE in session upload-progress handling, covered the same day by The Hacker News. The scope here is narrow: it needs an unusual combination where an app sets session.serialize_handler to php_binary or php_serialize and then switches it to php at runtime with ini_set() before calling session_start(), with upload progress still enabled. Because that setup is unlikely in practice, PHP is handling it in the regular release cycle and will publish a full advisory with the next release rather than shipping another emergency build.
The practical point is simple: the mitigation is the same session.upload_progress.enabled=0 setting already recommended for CVE-2026-109619, so if you applied it, PHP says to keep it in place and no further action is needed. CERT-EU's updated advisory (v1.2, October 23) carries the same guidance.
session.upload_progress.enabled=0 in php.ini or the FPM pool configuration (not via ini_set() or .user.ini) and restart every worker — this also covers the new CVE-2026-115560 vector. On PHP 8.5, also set fatal_error_backtraces=0. Keep post_max_size low if your apps do not need uploads.PoCs are public and active exploitation is considered likely, so treat exposed installs as urgent. Check your versions today — php -v on bare metal, or the image tag and package list in each container — and close this one out.
Log in to comment.