# Security alert: Critical PHP vulnerabilities (patched in Pressbooks infra)

**URL:** <https://pressbooks.community/t/security-alert-critical-php-vulnerabilities-patched-in-pressbooks-infra/4719>\
**Category:** Pressbooks Announcements\
**Created:** [October 21, 2026, 3:20pm UTC](https://pressbooks.community/t/security-alert-critical-php-vulnerabilities-patched-in-pressbooks-infra/4719 "2026-10-21T15:20:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Murtagh](https://pressbooks.community/user_avatar/pressbooks.community/christopher_murtagh/32/1507_2.png) [@Christopher\_Murtagh](https://pressbooks.community/u/Christopher_Murtagh)\
**Post date:** [October 21, 2026, 3:20pm UTC](https://pressbooks.community/t/security-alert-critical-php-vulnerabilities-patched-in-pressbooks-infra/4719/1 "2026-10-21T15:20:09Z")

</div>

Today (October 21), the PHP project released emergency security updates for two critical vulnerabilities in PHP itself: **CVE-2026-109618** and **CVE-2026-109619** , which are being referred to by researchers as “php2shell.” Both are rated critical (CVSS v4.0 9.2) and allow an **unauthenticated attacker to remotely execute code** on affected servers with the privileges of the web server’s PHP worker process. Details of these vulnerabilities leaked publicly on October 20, ahead of the planned coordinated disclosure, and there are already reports of exploitation attempts emerging.

**About the vulnerabilities**

- **CVE-2026-109618** is a flaw in how PHP handles out-of-memory errors. If PHP runs out of memory while setting up request data, that data can be left only partially initialized and later treated as valid during request cleanup, giving an attacker a path to code execution.
- **CVE-2026-109619** is a use-after-free flaw where PHP retains request-specific state after its memory has been freed. When the same worker processes a later request, that stale state can be accessed, leading to memory disclosure and remote code execution.

According to the PHP project, all PHP installations serving web requests are at risk, including PHP-FPM, Apache with mod\_php, php-cgi, FrankenPHP and LiteSpeed. The fixed versions are **PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35**.

**What we have done**

We have updated all Pressbooks-hosted infrastructure to **PHP 8.3.36** , which includes the patches for both vulnerabilities. We are also actively investigating and closely monitoring all of our infrastructure for any signs of potential malicious activity.

**What you should do**

We strongly urge administrators of self-hosted and Open Source Pressbooks installations to **update PHP immediately** to the patched release for **8.3.36**. This is a very serious vulnerability that can be exploited without authentication, so please treat this update as an emergency.

- If you install PHP from your Linux distribution or hosting provider, check with them for updated packages, as many vendors received the patches ahead of publication.
- If you cannot update right away, the PHP advisory outlines temporary measures to reduce exposure, but updating is the only complete fix.
- After updating, we recommend reviewing your servers for signs of compromise, such as PHP processes spawning unexpected shells or commands, unfamiliar files in your web root, or new cron jobs or user accounts.

For full details, please see the [official PHP security announcement](https://www.php.net/archive/2026.php#2026-10-20-1) and the advisories for [CVE-2026-109618](https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w) and [CVE-2026-109619](https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp).

We will post further updates here if we learn anything that affects Pressbooks users.
