# Security advisory: Critical remote code execution vulnerabilities, update now PHP

**URL:** <https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200>\
**Category:** Virtualmin\
**Created:** [October 21, 2026, 1:55pm UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200 "2026-10-21T13:55:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhsitehost](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/nhsitehost/32/3247_2.png) [@nhsitehost](https://forum.virtualmin.com/u/nhsitehost)\
**Post date:** [October 21, 2026, 1:55pm UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/1 "2026-10-21T13:55:54Z")

</div>

Are there plans to update your core php packages?

> **[PHP: News Archive - 2026](https://www.php.net/archive/2026.php)**
>
> PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

**PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical vulnerabilities that can allow unauthenticated remote code execution. All PHP users are strongly encouraged to update immediately.**

**Who is at risk:** all PHP installations serving web requests, including PHP-FPM, Apache with mod\_php, php-cgi, FrankenPHP and LiteSpeed. We consider the risk highest for mod\_php, with a demonstrated exploit where an unauthenticated request can trigger the attack before any application code runs.

**The vulnerabilities:**

- **RCE via OOM corruption** , CVE-2026-109618 ([GHSA-w8hw-w9fx-j79w](https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w)): out-of-memory handling can interrupt PHP while internal request data is only partially initialized. Request cleanup may then treat the invalid data as valid.
- **RCE via stale global state** , CVE-2026-109619 ([GHSA-6wmf-4rv5-p3rp](https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp)): request-owned internal state can survive after its backing memory has been freed. A later request handled by the same worker may use that stale state before normal initialization resets it.

**How to update:**

- Update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35. Source downloads are on our [downloads page](https://www.php.net/downloads.php?source=Y). Windows source and binaries are [on the same page](https://www.php.net/downloads.php?os=windows).
- Linux distributions and LTS vendors received the patches in advance, so check your vendor for updated packages.
- **PHP 8.1 and older** no longer receive updates from the PHP project. Some distributions and LTS vendors provide backported fixes, so contact your vendor for details, or upgrade to a supported version.
- If you rely on the volunteer-maintained `rpms.remirepo.net`, we urge you to switch to distribution packages or build from source, so you can immediately apply updates. The repo will not have updates today.
- Given the severity of these vulnerabilities, the PHP security team provided minimal source-backports for [PHP 7.4](https://github.com/php/php-src/tree/PHP-7.4-CVE-2026-109618-109619), [PHP 8.0](https://github.com/php/php-src/tree/PHP-8.0-CVE-2026-109618-109619), and [PHP 8.1](https://github.com/php/php-src/tree/PHP-8.1-CVE-2026-109618-109619) to help people building from source or without access to an LTS vendor.

**If you cannot update immediately:** while only an update is a complete solution, the following measures reduce exposure to specific attack paths but do not make an installation safe.

**RCE via OOM corruption (CVE-2026-109618):**

- Set `memory_limit=-1`, preferably in a way applications can’t override, such as `php_admin_value` in the FPM pool or Apache configuration, and check that no pool, directory or application setting puts a finite limit back. This removes the controllable PHP memory limit failure, but an underlying allocation failure can still reach the vulnerable path.
- Set a low `post_max_size`. For applications that don’t require file uploads, set `post_max_size = 8M`. If file uploads are necessary, set `post_max_size = 32M`. Keep `upload_max_filesize` below `post_max_size`. Consider enforcing limits at the web server or proxy level for decoded request size, input field count, multipart part count, header count, and nesting depth. These limits must also cover requests without a usable `Content-Length`.
- Use a container or cgroup limit as an availability boundary, preferably with a policy that kills only the affected worker. Do not substitute `RLIMIT_AS`or `RLIMIT_DATA`, as these can cause the vulnerable allocation failure.

**RCE via stale global state (CVE-2026-109619):**

- Set `session.upload_progress.enabled=0` and restart every worker. Use `php.ini`, an FPM pool or server configuration that applies before request parsing. Do not rely on `ini_set()` or FPM `.user.ini`. This blocks the confirmed session paths but not other variants.
- On PHP 8.5, set `fatal_error_backtraces=0` and restart every worker. This blocks the confirmed fatal backtrace path only.
- Remove invalid or deprecated settings applied per request that emit diagnostics before initialization. Hiding diagnostics with `error_reporting`, `display_errors` or `@` does not help.
- Fix attacker-reachable fatal errors and execution timeouts, including failures in callbacks, upload or import processing and cleanup.

The advisories linked above have the full technical details.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [October 21, 2026, 7:11pm UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/2 "2026-10-21T19:11:42Z")

</div>

> [@nhsitehost](#):
>
> Are there plans to update your core php packages?

We don’t provide PHP packages, your OS does.

---

<div class="post-metadata">

**Author:** ![sparticle1](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@sparticle1](https://forum.virtualmin.com/u/sparticle1)\
**Post date:** [October 22, 2026, 6:16pm UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/3 "2026-10-22T18:16:27Z")

</div>

Joe,

Is there a simple way to see what domains are using what versions?

Cheers

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [October 22, 2026, 7:05pm UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/4 "2026-10-22T19:05:28Z")

</div>

There’s a few ways to get at that info, but one is with the command line tools.

You could run something like this to see lots of info for each domain:

` virtualmin list-domains --multiline`

That’s likely more than you need, but you can grep for the pieces you need, such as the PHP version and PHP Execution modes in use.

---

<div class="post-metadata">

**Author:** ![shoulders](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/shoulders/32/10086_2.png) [@shoulders](https://forum.virtualmin.com/u/shoulders)\
**Post date:** [October 22, 2026, 9:03pm UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/5 "2026-10-22T21:03:02Z")

</div>

I have not used this yet

`Webmin --> Tools --> PHP Configuration --> Manage PHP Packages`

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/b/8/b8e157e45d6528dad3b885ca282ff5c493e90a0a.png)

Expand the used by column.

---

<div class="post-metadata">

**Author:** ![fshagan](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/f/7cd45c/32.png) [@fshagan](https://forum.virtualmin.com/u/fshagan)\
**Post date:** [October 22, 2026, 11:38pm UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/6 "2026-10-22T23:38:12Z")

</div>

I used Webmin \> Tools \> PHP Configuration \> Manage PHP Packages to verify that I had all domains updated to 8.3.36 … then I deleted the packages below that version because they are no longer needed. It works well.

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [October 23, 2026, 12:27am UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/7 "2026-10-23T00:27:49Z")

</div>

It’s taken AI and a nasty PHP bug to introduce me (us) to this great tool!

---

<div class="post-metadata">

**Author:** ![calport](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/calport/32/44_2.png) [@calport](https://forum.virtualmin.com/u/calport)\
**Post date:** [October 23, 2026, 5:22am UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/8 "2026-10-23T05:22:34Z")

</div>

> [@sparticle1](#):
>
> Is there a simple way to see what domains are using what versions?

The simplest way to see which domain / virtual server is using which version of php is to use Virtualmin → List Virtual Servers.

You just need to hit the Module Config icon on the top right corner of this page, go the the Columns to Show group of check boxes and enable PHP Version.

This is what you will then get:  
 ![image](https://cdn.forum.virtualmin.com/uploads/default/optimized/3X/0/c/0c0271597c0fa9ebe6931ed0d3fbf405e3d8f423_2_690x75.png)

---

<div class="post-metadata">

**Author:** ![sparticle1](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@sparticle1](https://forum.virtualmin.com/u/sparticle1)\
**Post date:** [October 23, 2026, 4:08pm UTC](https://forum.virtualmin.com/t/security-advisory-critical-remote-code-execution-vulnerabilities-update-now-php/138200/9 "2026-10-23T16:08:59Z")

</div>

Many thanks to all. All domains updated to latest versions.

Cheers  
Spart
