# Php cve

**URL:** <https://forum.infinityfree.com/t/php-cve/121512>\
**Category:** Hosting Support\
**Created:** [October 22, 2026, 2:36pm UTC](https://forum.infinityfree.com/t/php-cve/121512 "2026-10-22T14:36:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moh-SD](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/moh-sd/32/47609_2.png) [@Moh-SD](https://forum.infinityfree.com/u/Moh-SD)\
**Post date:** [October 22, 2026, 2:36pm UTC](https://forum.infinityfree.com/t/php-cve/121512/1 "2026-10-22T14:36:53Z")

</div>

### Website URL

> **[Security advisory: Critical remote code execution vulnerabilities, update now -...](https://www.php.net/archive/2026.php#2026-10-21-5)**
>
> 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. | PHP is a popular general-purpose scripting language that...

### Error Message

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): 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): 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.

### Other Information

Hello,

Does InfinityFree updates php for everyone when there is a CVE ([PHP: News Archive - 2026](https://www.php.net/archive/2026.php#2026-10-21-5)), or do we have to update it ourselves ? If yes, how so please ?

Regards

---

<div class="post-metadata">

**Author:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [October 22, 2026, 2:37pm UTC](https://forum.infinityfree.com/t/php-cve/121512/2 "2026-10-22T14:37:10Z")

</div>

_Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look._

I couldn’t find anything in the knowledge base or on the forum that says whether InfinityFree updates PHP when a CVE like this comes out, or whether users can update it themselves. So I can’t tell you which it is, and I don’t want to guess about how our servers are patched.

If you want to check where your own site stands, create a PHP file containing `<?php echo phpversion();` and open it in your browser. Which version does it print? That’s the version your account is running right now, and it’s the number to compare against the fixed releases in the advisory.

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [October 22, 2026, 2:45pm UTC](https://forum.infinityfree.com/t/php-cve/121512/3 "2026-10-22T14:45:37Z")

</div>

> [@Moh-SD](#):
>
> Does InfinityFree updates php for everyone when there is a CVE ( [PHP: News Archive - 2026](https://www.php.net/archive/2026.php#2026-10-21-5) ), or do we have to update it ourselves ? If yes, how so please ?

The update has already been rolled out to everyone:

> **[Critical PHP security vulnerabilities (CVE-2026-109618 and CVE-2026-109619) |...](https://status.infinityfree.com/issues/2026-10-22-php-security-vulnerabilities/)**
>
> Resolved - The PHP update has been successfully rolled out to all servers. All free hosting sites now run on PHP 8.4.27, which contains the fix. 
> (22 Oct - 12:52 UTC)
> 
> 
> 
> Identified - On October 21st, the PHP project released an emergency security...

---

<div class="post-metadata">

**Author:** ![Talesmith-Studio](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/talesmith-studio/32/68359_2.png) [@Talesmith-Studio](https://forum.infinityfree.com/u/Talesmith-Studio)\
**Post date:** [October 22, 2026, 2:46pm UTC](https://forum.infinityfree.com/t/php-cve/121512/4 "2026-10-22T14:46:13Z")

</div>

I ran a quick check. The 8.4.27 is a patched version of PHP - however this feature still enabled and is recommended to be turned off. I am wondering if this is a decision made to leave on or will this be turned off?

```auto
PHP version: 8.4.27
SAPI: apache2handler

session.upload_progress.enabled = '1'
Effective status: ON (feature enabled)

session.upload_progress.name = 'PHP_SESSION_UPLOAD_PROGRESS'
session.upload_progress.freq = '1%'
session.upload_progress.min_freq = '1'
session.upload_progress.cleanup = '1'

```

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [October 22, 2026, 4:31pm UTC](https://forum.infinityfree.com/t/php-cve/121512/5 "2026-10-22T16:31:11Z")

</div>

As I understand it, the vulnerability it exposes has been patched in other ways.

---

<div class="post-metadata">

**Author:** ![SpookyKipper](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/spookykipper/32/27461_2.png) [@SpookyKipper](https://forum.infinityfree.com/u/SpookyKipper)\
**Post date:** [October 22, 2026, 4:41pm UTC](https://forum.infinityfree.com/t/php-cve/121512/6 "2026-10-22T16:41:02Z")

</div>

Upgrading to PHP 8.4.27 is enough to block the PHP2Shell attack, and it is the **only** way to fully fix it.

`session.upload_progress.enabled` only blocks **known** paths of CVE-2026-109619, and **618 remains vulnerable**. Even for 619, there **will** be new exploit variants being discovered that makes this stopgap effectively useless.

Disabling this will make file upload progress (like image upload) on your website be completely missing, which hurt user’s experience while providing minimal effectiveness.

Just for your peace of mind, yes, it is left on intentionally, the vulnerability is fully patched as per [iFastNet](https://www.infinityfree.com/go/ifastnet)’s support page:

 ![image](https://forum-cdn.infinityfree.net/original/3X/d/1/d19de18d8d87d297d5d323304e271d518529a368.png)

---

<div class="post-metadata">

**Author:** ![Talesmith-Studio](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/talesmith-studio/32/68359_2.png) [@Talesmith-Studio](https://forum.infinityfree.com/u/Talesmith-Studio)\
**Post date:** [October 22, 2026, 4:43pm UTC](https://forum.infinityfree.com/t/php-cve/121512/7 "2026-10-22T16:43:09Z")

</div>

noice. cheers.

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [October 22, 2026, 5:03pm UTC](https://forum.infinityfree.com/t/php-cve/121512/8 "2026-10-22T17:03:25Z")

</div>

> [@SpookyKipper](#):
>
> Upgrading to PHP 8.4.27 is enough to block the PHP2Shell attack

That upgrade has already been completed:

> **[Critical PHP security vulnerabilities (CVE-2026-109618 and CVE-2026-109619) |...](https://status.infinityfree.com/issues/2026-10-22-php-security-vulnerabilities/)**
>
> Resolved - The PHP update has been successfully rolled out to all servers. All free hosting sites now run on PHP 8.4.27, which contains the fix. 
> (22 Oct - 12:52 UTC)
> 
> 
> 
> Identified - On October 21st, the PHP project released an emergency security...

---

<div class="post-metadata">

**Author:** ![Moh-SD](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/moh-sd/32/47609_2.png) [@Moh-SD](https://forum.infinityfree.com/u/Moh-SD)\
**Post date:** [October 22, 2026, 5:04pm UTC](https://forum.infinityfree.com/t/php-cve/121512/9 "2026-10-22T17:04:16Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![HuyRemy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/huyremy/32/50664_2.png) [@HuyRemy](https://forum.infinityfree.com/u/HuyRemy)\
**Post date:** [October 23, 2026, 12:26am UTC](https://forum.infinityfree.com/t/php-cve/121512/10 "2026-10-23T00:26:37Z")

</div>

In my opinion, you know repo REMI, that repo have no update then I use WAF firewall. This is my rule: It’s quite good:

any(http.request.headers[“content-type”][\*] contains “multipart/form-data”) and (http.request.uri.query contains “PHP\_SESSION\_UPLOAD\_PROGRESS” or http.request.uri.path contains “PHP\_”)

---

<div class="post-metadata">

**Author:** ![SpookyKipper](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/spookykipper/32/27461_2.png) [@SpookyKipper](https://forum.infinityfree.com/u/SpookyKipper)\
**Post date:** [October 23, 2026, 11:04am UTC](https://forum.infinityfree.com/t/php-cve/121512/11 "2026-10-23T11:04:57Z")

</div>

**There is no in your opinion**. The **ONLY** way to patch it is by updating PHP, either to an officially fixed version or a backport. (I doubt you tested it yourself with a PoC)

Blocking multipart blocks some attacker paths, but not all. Your other two rules do absolutely nothing and may hinder UX.

* * *

> [@SpookyKipper](#):
>
> Upgrading to PHP 8.4.27 is enough to block the PHP2Shell attack,

About this though, PHP now recommends upload progress disabled in PHP ini even if on a patched version: Note that this **must be set via php ini** , not even in individual PHP files, **so the WAF rule above blocking it still does pretty much nothing**.

 ![image](https://forum-cdn.infinityfree.net/original/3X/4/d/4dcfd6b2a23aaa25e0e3df94333ca1a64f14c47b.png)

Do note that this is an another (3rd) CVE, the patches on Wednesday are doing is job, but there is a new RCE vulnerability circulating, and this is the one.

However, you need to oddly override `session.serialize_handler` specifically at runtime for this exploit to work so it’s practically unlikely to happen, thus deferred the patch to standard bugfix version.

Edit: I do not believe free hosting is affected by this new CVE

---

<div class="post-metadata">

**Author:** ![HuyRemy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/huyremy/32/50664_2.png) [@HuyRemy](https://forum.infinityfree.com/u/HuyRemy)\
**Post date:** [October 25, 2026, 4:31pm UTC](https://forum.infinityfree.com/t/php-cve/121512/12 "2026-10-25T16:31:44Z")

</div>

You see ? That’s another bug in upload\_progress in php 8.4.27 (the update patch for PHP2Shell) and this is my firewall rule → any(http.request.headers[“content-type”][\*] contains “multipart/form-data”) and (http.request.uri.query contains “PHP\_SESSION\_ **UPLOAD\_PROGRESS** ” or http.request.uri.path contains “PHP\_”). If you don’t have WAF you should Set session.upload\_progress.enabled = 0 in php.ini or the PHP-FPM pool, then restart PHP-FPM.

---

<div class="post-metadata">

**Author:** ![HuyRemy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/huyremy/32/50664_2.png) [@HuyRemy](https://forum.infinityfree.com/u/HuyRemy)\
**Post date:** [October 25, 2026, 4:40pm UTC](https://forum.infinityfree.com/t/php-cve/121512/13 "2026-10-25T16:40:05Z")

</div>

Now, You can wait another patch or use my rule or…patch in ini file. It’s up to you, I don’t care much 'cause everybody safed now.

---

<div class="post-metadata">

**Author:** ![SpookyKipper](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/spookykipper/32/27461_2.png) [@SpookyKipper](https://forum.infinityfree.com/u/SpookyKipper)\
**Post date:** [October 25, 2026, 5:42pm UTC](https://forum.infinityfree.com/t/php-cve/121512/14 "2026-10-25T17:42:25Z")

</div>

If you meant the “Informational advisory CVE-2026-109619” that I already mentioned in my previous message, **I am confident that free hosting is not vulnerable** from the start, and that upload progress = 0 config ini is not needed.

> **An application must set `session.serialize_handler` to `php_binary` or `php_serialize` in its configuration** and then switch it to `php` at runtime with `ini_set()` before calling `session_start()`

On free hosting the serialize handler in the config is `php`, and not `php_serialize/binary`. so it’s not vulnerable.

You are just hurting your visitor’s UX by disabling it in WAF.

But since you don’t care, good luck getting complaints from your visitors.

---

<div class="post-metadata">

**Author:** ![HuyRemy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/huyremy/32/50664_2.png) [@HuyRemy](https://forum.infinityfree.com/u/HuyRemy)\
**Post date:** [October 25, 2026, 5:57pm UTC](https://forum.infinityfree.com/t/php-cve/121512/15 "2026-10-25T17:57:28Z")

</div>

Take it easy and…this is another game [https://stealmybitcoin.com/](https://stealmybitcoin.com/) \<— This is 8.4.26 not yet patched and… I think this nice game for red team

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 28, 2026, 5:58pm UTC](https://forum.infinityfree.com/t/php-cve/121512/16 "2026-10-28T17:58:27Z")

</div>

Closed on October 28, 2026, 5:58pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
