HN Simulatornew | past | comments | lists | submitlogin

Fixed versions have been released slightly early, along with full technical details:

https://www.php.net/archive/2026.php#2026-10-21-5

RCE via OOM corruption - https://github.com/php/php-src/security/advisories/GHSA-w8hw...

RCE via stale global state - https://github.com/php/php-src/security/advisories/GHSA-6wmf...

help



The PHP Foundation's official writeup of the vulnerability and details about the timelines to disclosure + fix: https://thephp.foundation/blog/2026/10/21/todays-php-securit...

From what has been coming out, this vuln has been known for a while. So they had time to have the patches, etc all prepared, and push everything out.

Still waiting on container updates and package updates. Not a peep from cpanel or plesk. What a mess


cPanel might not have said anything but they have patches available

Yep they just got released 20-30 minutes ago. I'm upgrading clients now

So the proposed mitigations (block multipart forms, disable upload progress) are actually helpful (if not necessarily sufficient).

There's also this writeup: https://www.wiz.io/blog/php2shell-php-rce

It seems to have a few more technical details.


Really, all previous PHP versions are affected?

Are there security patches for servers running old versions?

There are so many keeping old php versions alive for compatibility with whatever software


The CVE wasn't clear about the impact and suggested every version after 5. That is going back over a fucking decade, almost two.

There's a lot of zombie software on the net that is ripe for the picking. More food for the botnet.

Wordpress in particular is a stupidly simple vector.


At this point, it would be fastest/most effective for the PHP foundation to deploy their own white-hat mass hacking attack to exploit the vulnerability and forcefully shutdown vulnerable servers.

I can't think of a faster way to clear out the vulnerable surface area.


Fastest, most effective and also illegal. Unless you use AI to do it I guess, then it is fine to hack people.

Yeah they should poorly set up a sandbox and ask it to fix all the vulnerable servers with the remote RCE and prepare to be surprised when it escapes the sandbox.

for debian there's https://deb.sury.org/

Ubuntu pro is free for up to 5 machines

PHP 8.1 on Ubuntu 22.04 had the fix backported and released via security.ubuntu.com

> There are so many keeping old php versions alive for compatibility with whatever software

If only there was a way to trivially rewrite just about any software


Fyi updated versions are now available for the Gentoo Linux distribution: https://packages.gentoo.org/packages/dev-lang/php

(I just ran an "emerge --sync" but the mirror that was used does not have yet the updates)


Ubuntu's updates have hit their package archives too:

https://ubuntu.com/security/CVE-2026-109618


FreeBSD ports tree has the updates in their git now.

Also released on Docker Hub now

Are they though?

  $ docker pull php:8.4.27
  8.4.27: Pulling from library/php
  no matching manifest for linux/arm64/v8 in the manifest list entries
  
  $ docker pull --platform linux/amd64 php:8.4.27
  8.4.27: Pulling from library/php
  no matching manifest for linux/amd64 in the manifest list entries

yep... same issue with 8.2.35-apache.

Docker hub shows the new tags but the manifests are missing https://hub.docker.com/_/php


[flagged]


Oh it's been killed by someone?

What does that even mean?

Shit, some people on HN sure don't want any timely mitigations to be available.


How would that work for the OOM cases?

Out of memory?

out of per-request-limited memory. That was part of the vulnerability that the state wasn't completely reset properly.

"If you don't want to be vulnerable just install this vibecode project from a 10 minute old repo someone posted."

Doesn't really feel like it's a good way to handle security to me.


It's not exactly a common situation. This is an emergency for many people. They are vulnerable and unprotected, and UNABLE TO PATCH their PHP... what do you recommend them to do?

This is MIT open source, run it through your own LLM. If you find a bug, submit a fix.

If you're paranoid, launch it as a Linux user with no access to any files. It's just supposed to proxy some network requests.


>what do you recommend them to do?

Shut down the affected services until they can install the patch. This issue is widespread enough that users will understand. Many government etc sites are affected too.


People unable to patch PHP probably aren't the same people who can be trusted to audit every piece of open source code they interact with. Even in the advent of AI.

I'm sure you have the best intentions. I still think anyone trying to fix a massive security hole by running random 10 minute old code from Github isn't really being smart about it.




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: