NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲PHP 8.2.35 (github.com)
dang 2 hours ago [-]
Related:

Today's PHP security release, and how we're strengthening security - https://news.ycombinator.com/item?id=50182987 - Oct 2026 (114 comments)

PHP2Shell: AI uncovers critical RCE in PHP - https://news.ycombinator.com/item?id=50180836 - Oct 2026 (146 comments)

PHP session.upload_progress heap UAF (CVE-2026-109618 / -109619) - https://news.ycombinator.com/item?id=50176077 - Oct 2026 (61 comments)

Security advisory: Critical remote code execution vulnerabilities, update now - https://news.ycombinator.com/item?id=50172041 - Oct 2026 (631 comments)

Tell HN: 2x PHP RCE CVEs with CVSS 10.0 Incoming - https://news.ycombinator.com/item?id=50167754 - Oct 2026 (60 comments)

nr378 6 hours ago [-]
esquire_900 5 hours ago [-]
I feel like all "non-inner-circle people" here are taken for a laugh. OpenAI and these security companies sat on this for 2 months, decided for themselves who gets access to an early fix, and then leave the rest out to dry while they failed to properly contain it.

The official interim fix for php8.5 [1] could have been published 24h ago, or even 2 weeks ago, without revealing any security details. Specifically once the POC came online. Would have been significantly more useful than these polished blogs.

Perhaps I'm missing something here, but the costs (dev/sre time, missed sales, potential data leaks and hacks) of the way that this was handled is significant.

[1] https://github.com/php/php-src/security/advisories/GHSA-6wmf...

john_strinlai 5 hours ago [-]
>OpenAI and these security companies sat on this for 2 months

these security companies reported it 2 months ago. it took a month for the php security team to acknowledge it and another month for the php team to develop & release the patch.

if you're going to be upset at anyone it should not be the reporters.

>The official interim fix for php8.5 [1] could have been published 24h ago, or even 2 weeks ago, without revealing any security details.

publishing the fix = publishing the security details.

bombcar 5 hours ago [-]
This really sounds to me like "they filled out some webform" or "sent an email to security@php that read like any of the ten billion we found vulnerability in your code please send money emails they get.

If I had details on a RCE like this I'd report it but if I got no response for a WEEK I'd be trying other venues.

dannyw 5 hours ago [-]
I imagine more details will come out over the coming days, but it’s not uncommon for severity to be under-estimated in the beginning; and then “oh shit” as you dig deeper.

We don’t know when it went from a “memory safety issue” to “php2shell/RCE”.

Calif’s report is a little light on timelines, but reading between the lines, it seems they took a while to turn this into an actually exploitable vulnerability.

Finally, at least pre-LLM (and maybe a bit outdated now), responsible security disclosure norms is that you usually do wait for vendor (up to 90d) if there’s no signs of active exploitation. Even if it’s a RCE. Actually, especially if it’s a RCE.

The last thing you wanna do is go pinging random non-security PHP contributors or maintainers and have it leak with zero patch. That is truly the worst outcome.

Yes, this is bad, but also, it’s apparently been bad for decades; and it could’ve been much worse.

Maxious 5 hours ago [-]
According to this post, one of the researchers was a former PHP security lead who already knew about the bug since 2004. So I'd assume they would be taken as credible by the current team https://calif.io/php2shell/
dwohnitmok 4 hours ago [-]
As I mention elsewhere (https://bugs.php.net/bug.php?id=78876) I'm very confused. Looking at the PHP bug tracker the specific bugs were fixed. So my best guess is that the LLM was able to find alternative variants that still worked? But then the report makes less sense.
Twirrim 4 hours ago [-]
Assuming that it could have been spotted in their inbox, amongst a probable flooded of LLM slop like a number of security mailing lists for open source projects that I know of. We've all seen the impact on open source github issues, hackerone etc. The same is happening to standard email disclosure paths.
soulofmischief 1 hours ago [-]
These illustrations are neat but severely distracting given that each make a mountain out of a molehill.
john_strinlai 5 hours ago [-]
>This really sounds to me like "they filled out some webform" or "sent an email to security@php that read like any of the ten billion we found vulnerability in your code please send money emails

i highly doubt it. these are pretty big names in the security sector who have plenty of experience reporting high severity vulns.

fock 5 hours ago [-]
and they also have plenty of exposure to their motherships burning money on LLMs
ferngodfather 2 hours ago [-]
I've said elsewhere I am sick to death of reading AI written "security disclosures". Even for genuine issues, it just saps my motivation to fix them.

That said, PHP team handled this poorly. How does letting everyone know so they can "prepare" help anyone at all. It just creates panic.

letmevoteplease 36 minutes ago [-]
If you provide forewarning, system administrators around the world in various time zones can get ready to update at the same hour the fix is released, which is very important. Being hours late is not acceptable for a vulnerability like this.
charcircuit 5 hours ago [-]
Why does the PHP security team need to acknowledge it and develop the fix? It's open source software.
lokar 5 hours ago [-]
If you want an orderly fast global rollout you need to have the maintenance team and distributors working together.
warkdarrior 3 hours ago [-]
So if Wiz produced their own patch to PHP, and Calif produced their own (slightly different) patch, and OpenAI produced their own, which version should I use, as a user of PHP? Should I manually merge them? Is Calif's better than Wiz's? Is OpenAI's better than Calif's? Are they complementary?
sam1714 1 hours ago [-]
That does happen with downversion software. Red Hat may distribute a backported patch to some component which isn't the same as Canonical or Debian's.

Most users, who don't know the answer to your questions, rely on the distro to figure this out (and often pay good money for it).

charcircuit 2 hours ago [-]
They already were in communication with each other. They could have come together and decided on one that mitigates the issues they've found.
weird-eye-issue 5 hours ago [-]
So anybody can just push out a new release of PHP?
charcircuit 3 hours ago [-]
Yes, someone could have published a safe version for people to use for the 2 months to get the actual fix done.
john_strinlai 3 hours ago [-]
>Yes, someone could have published a safe version

this is basically the same as releasing a working exploit.

charcircuit 2 hours ago [-]
And that's not a bad thing. If it was, the the logical conclusion would be to never publish the fix and don't preemptively patch before active exploitation.
solyin 1 hours ago [-]
Yes it is.

Say I release a fix. I'm some rando but I go out to the world and say I fixed an issue with php. Use my version instead! Not telling you what I fixed, it's a secret, just trust me.

It will take, with LLM help, attackers a couple hours, tops, to reverse engineer my fix into active exploitation. Meanwhile, I'm some rando so no one's even heard of me, people who do hear don't automatically trust me to install my fix, so very few people have my fix. Meanwhile, the exploit is out there thanks to me and people are getting their sites hacked thanks to me.

That seems like a problem, no?

swiftcoder 5 hours ago [-]
Sort of by definition of open-source, yes. It's just that nobody downstream is likely to accept Joe Public's random fork of PHP.
LordDragonfang 2 hours ago [-]
You're confusing PHP the product with PHP the codebase. The former is what is the only relevant part in the security world, where a product is synonymous with its vendor (even FOSS).
swiftcoder 23 minutes ago [-]
I mean, it's all semantics at the end of the day.

The PHP maintainers have generated a certain amount of goodwill over their long service, which leads downstream consumers to trust their releases over every other packaging of "PHP the open source codebase".

Nonetheless, there are countless forks of that codebase, and there are other releases than the ones made by the PHP maintainers. Any particular downstream could switch to another source of releases if presented with a compelling enough reason.

0x457 4 hours ago [-]
Did start writing software this week?
wat10000 5 hours ago [-]
What's the other choice? OpenAI et al could have developed a patch (for all we know they did) but you need the PHP team's participation to get it out. The alternative would be to fork the project and put up a forked release with the fix, which would have been incredibly disruptive.
theboblong 4 hours ago [-]
I'm glad they didn't do anything disruptive, then. Like wind the world's CIOs up into a frenzy of FUD and bring thousands of servers down in a coordinated panic attack synchronised to the minute.

Imagine if they had just patched the code and rolled it out with an advisory?! Oh my GOD! Won't someone think of Sam Altman and his huge pile of debt?!

aDyslecticCrow 2 hours ago [-]
Pre AI, silently publishing a fix to a security vulnerability was considered bad practice.

Post AI, Its efficiency pre announcing the exploit to bad actors until the official disclosure.

You can just watch the diff log of every open source project with a small local model, and look for anything that touches buffers, function pointers, or shell integration.

It could be an hour between release of a fix before the exploit starts attacking servers.

Guess what also could happen within an hour? A coordinated Internet wide panic that shuts down all vulnerable servers.

---

We actually have a recent example. OpenAI hack.

An undisclosed vulnerability fix to a image formal lib; packages into debian 12 running in a docker, used by imagemagic, used by discourse running OpenAIs user forum.

justinhj 5 hours ago [-]
What would you have a security team for then?
3 hours ago [-]
charcircuit 3 hours ago [-]
To handle the official solution and drive long term changes to reduce similar security bugs from happening again. The current PHP security team does not seem capable to promptly release a fix, so having a community fix first seems preferable.

Mitigating a bug and developing a proper solution that is maintainable long term and supports future changes being made to the software take different amounts of time to develop.

dspillett 5 hours ago [-]
One concern with the current environment is that as soon as a release comes out for such an important open source project, people will immediately point bots at the release to look for changes that might be related to existing security issues. This means that putting out a quick out-of-band release is guaranteed to result in people racing to exploit the problem before many even know there is an update out.

Whether keeping the update quiet and including it in the next normal release, where there are more trees obscuring the wood that is the security concern, and announcing the bug a short time later once anyone using distro updates or otherwise keeping on top of things have updated, would be safer overall than what has happened today is up for debate. I can think of arguments in both directions.

--------

[1] which does have a slight whiff of AI marketing about it - would a human-found issue, without the option of a big AI company to claim some credit, have been handled differently?

chilmers 5 hours ago [-]
This is not a "concern", this is literally what happens. Even prior to AI vulnerability scanning, release notes and diffs for any normal release or security patch of popular software were analysed and used to develop exploits, which could then be applied against non-upgraded instances. Nowadays, AI is doing this en masse and automatically producing exploits. And, as has been demonstrated, nowadays even the rumour of a major security bug is enough for people to find it, as people will immediately burn huge volumes of tokens looking for it.

Nor can you just keep it quiet and smuggle it out in a regular release as you suggest. For one thing, changes in important software are be linked to commits and have pull requests, reviews, etc. Changes without these will immediately raise suspicion, as either a malicious change snuck into a release, or as a "quiet" fix to a major vulnerability, completely undermining the purpose of keeping it quiet in the first place. Moreover, major vulnerability fixes cannot be "quiet", because the whole point is to get as many people as possible to upgrade as quickly as possible. If PHP (or whoever) push out a release containing a major security fix, but don't make this clear, then many people will be in no rush to upgrade, and will get pwned.

dspillett 1 hours ago [-]
> This is not a "concern", this is literally what happens.

Sorry, I should have been specific: the concern is that this will happen faster than even the more fastidious admins (or daily or even hourly automated checks) will spot and apply updates.

> nowadays even the rumour

I think a lot fewer people would have paid attention at all without the rumour. Some ne'er-do-wells might have scanned a larger update for security issues otherwise, but I suspect most of those spending tokens on PHP this week would not have bothered had there just been a standard maintenance release that may or may not have included changes for a security issue that may (but probably not) have been so globally significant.

That is, at least in part, why the question of how to manage the release of updates like this is not a settled debate.

> then many people will be in no rush to upgrade, and will get pwned.

The worst case that we may be heading towards is that for any services on public facing infrastructure we might have to automatically apply updates with little or no time to verify, just to try be ahead of the ne'er-do-wells, with even superficial updates not mentioning the changes until a short time after to avoid giving clues to those who will scan for security issues if any such is mentioned (or nothing is mentioned - saying nothing about a security-only update only works if you say nothing about all updates, and you don't want to hold off on security-only updates on a slow moving project that might not have a non-security patch for quite some time).

vikramkr 4 hours ago [-]
It's not possible to publish a security patch for an open source software report without revealing security details anymore (and as of the past couple weeks I would not count on being able to do that for closed source binaries either). The moment you push publish everyone knows previous versions are compromised
stingraycharles 4 hours ago [-]
“OpenAI and these security companies sat on this for 2 months”

I don’t think this what happened at all, and even less so to specifically call out OpenAI.

The issue was discovered using their model, it was disclosed, and the PHP team took months to address it. Eventually it leaked.

This is a process / people failure that does not involve the people responsible for discovering it.

flanz_10 1 hours ago [-]
this is the same tired conversation whenever coordinated disclosure happens

"we the people deserve to know about vulns on day 0"

oh yeah? and what happens when a 0 day is released?

it's the same ignorance over and over.

Avamander 4 hours ago [-]
You can't do secret releases, people will figure out what you added or changed.

But they could have accelerated the patch release once the embargo was broken and rumors of a PoC started going around. There was no need to wait 12+h today until the release.

dannyw 5 hours ago [-]
Maybe the NSA ‘requested’ some time to use the exploit on some high value targets.

Sure, it’s PHP, but plenty of companies or organisations might have some PHP running somewhere; and once you’re in, lateral movement becomes a lot easier.

DaSHacka 4 hours ago [-]
The NSA does not need to "request" time to use an n-day vuln. They have more 0-days than you can imagine.

They literally employ full-time Vulnerability Researchers doing nothing but 0-day discovery and PoC creation 24/7 to add to their horde. Plus contracting with the MIC for their full-time VRs for the occasional project.

bombcar 3 hours ago [-]
Exactly. Something like this is often the NSA realizing one of their pet vulns is being exploited in the wild by someone “not them” and so they burn it.
beberlei 4 hours ago [-]
Php core security team decided who gets to know. The patch was huge it took that long.

See PHP foundation blog post on their timeline

pier25 3 hours ago [-]
> OpenAI and these security companies sat on this for 2 months

The PHP team knew about it since September 21st.

3 hours ago [-]
chairmansteve 2 hours ago [-]
Maximizing the PR value...
Capricorn2481 3 hours ago [-]
> OpenAI and these security companies sat on this for 2 months, decided for themselves who gets access to an early fix

Amazingly, AWS Linux has not been patched yet.

MP_1729 2 hours ago [-]
Of course it was OAI that decided those things, not the U.S. Government
john_strinlai 1 hours ago [-]
it was neither OAI or the US government.
chinathrow 6 hours ago [-]
> Over the past two months, we led a coalition of maintainers, researchers, and security providers to address critical vulnerabilities in PHP, an open-source programming language used to run websites and web applications.

And they botched this as someone talked. To me this looks like they used this for a PR stunt and aimed for an RCE.

giancarlostoro 5 hours ago [-]
If I understood the timeline correctly, there was an announcement made somewhere that an RCE would be announce w/ a patch, and the internet just scanned the entire codebase, they really fumbled this for the sake of having a PR post for OpenAI.

On the other hand, I don't mind AI companies doing this sort of thing, I'm sure a lot of our internet infrastructure could benefit from these sorts of fixes and changes.

ndiddy 5 hours ago [-]
After the HN post came up, one security firm included "session.upload_progress.enabled", "session.use_strict_mode", and "php-fpm" in the SEO tags for their initial disclosure that a vulnerability existed. I imagine this was a good hint. https://web.archive.org/web/20261021005246/https://sansec.io... https://x.com/its5q/status/2112700519261032497
Maxious 5 hours ago [-]
The somewhere was a loser on this very website https://daubois.dev/blog/cve-2026-109618-php2shell-rumors/
novafacing 5 hours ago [-]
This post reads like pure slop to me
pinevale 2 hours ago [-]
> And they botched this as someone talked. To me this looks like they used this for a PR stunt and aimed for an RCE.

This is a pretty constant theme in the infosec industry. The idea is that you want to do the "responsible" thing and let all the major, multi-billion-dollar companies patch first, so you form a secret club. But then, you share a very juicy, gossip-worthy thing with hundreds of people and ask them to sit on it for weeks. And guess what happens: they don't. Having worked for a big tech company, I've been involved on a couple of processes of this sort, and they all suffered leaks.

And rest assured, we'll learn nothing and try the same thing again next month or next year. Because what's the alternative? If you 0-day everyone, you get more hate mail, not less. It's all of sudden about you, not the vulnerable code. Microsoft or Cloudflare calls you irresponsible when asked for a PR statement, industry bloggers bully you, etc.

janmo 5 hours ago [-]
They haven't even been able to release the patch on time. Ubuntu still hasn't it
dspillett 5 hours ago [-]
Debian has, though only for current stable (updates for oldstable and oldoldstable apparently about to drop) which might imply they had no advanced access to the update so could not pre-test and release immediately upon the coordinated announcement.
nolok 5 hours ago [-]
Sury is up for all versions too
rob 5 hours ago [-]
Not true. I was able to `aptitude update` and `aptitude full-upgrade` before 10:00 AM EST (9:50 AM) and received the new php8.* packages and upgraded fine.
cpncrunch 5 hours ago [-]
Still no update for ubuntu 20.04 which has support via ESM, even though the patch is available for php 7.4. There are a lot of people using older servers which still have ESM support.
cpncrunch 4 hours ago [-]
Patches have now landed for 20.04 and other earlier Ubuntu versions. https://ubuntu.com/security/CVE-2026-109618#status
3 hours ago [-]
kijin 5 hours ago [-]
Anyone using a non-default version from the semi-official PPA by Ondrej Sury is still waiting for an update.

The launchpad server is throwing 503 errors all over the place, so that's probably the reason for the delay. Sury's own repo has the fixes all right.

phit_ 2 hours ago [-]
[dead]
hdgvhicv 5 hours ago [-]
I had an email from usn recently
unethical_ban 4 hours ago [-]
at 15:00 UTC, spot checking, Debian 13 has a fix, Ubuntu 26.04 has a fix with their own patch version number, Fedora does not.

Ubuntu: https://ubuntu.com/security/notices/USN-8948-1

Fedora package status: https://packages.fedoraproject.org/pkgs/php/php-fpm/

lee_ars 4 hours ago [-]
PHP 8.5.4-0ubuntu1.5 (the fixed version for Ubuntu 26.04) has been downloadable for me via apt from security.ubuntu.com for about 30 minutes. Perhaps check to see that you're not using a different mirror?
unethical_ban 4 hours ago [-]
You're correct, I was looking for the upstream patch number.
nicce 5 hours ago [-]
Wiz is owned by Google and Argon gets the main credits. So difficult to tell these days. But AI is obviously useful here.

Edit: was looking Wiz post when citation was from OpenAI

chinathrow 5 hours ago [-]
Of course it's useful, but you can't absolutely not leak something as big as this.
anon1642 5 hours ago [-]
I heard this was leaked several days early and that’s why folks seem to be on the back foot.

I’d press go too - if something this big was known to some but not all…

We’ll all get through together

tetraodonpuffer 5 hours ago [-]
surprising it took nearly a month to acknowledge the bug

August 24, 2026: Wiz Research reports the vulnerabilities to the PHP security team.

September 21, 2026: PHP acknowledges the reports and begins developing a coordinated fix.

bramhaag 5 hours ago [-]
Took them almost 7 years even. According to the Calif write-up it was already reported in 2019 (https://bugs.php.net/bug.php?id=78876) and 2024 (https://ostif.org/php-audit-complete/).
polishdude20 5 hours ago [-]
Lol wait so OpenAI's LLM to discover this vulnerability most likely just looked it up in an old forum post?
pixl97 5 hours ago [-]
This isn't a terribly uncommon method of 'discovery'. In maths and sciences there have been tons of papers that have highlighted something new but were never really connected to anything else and then largely forgotten. Later they are picked up by someone else and connected to a much bigger whole.
abc42 2 hours ago [-]
That's how 90+% of script kiddy -type hackings happen, isn't it. That or publically available databases without a password.

AI is gonna make our stuff pretty robust, eventually. The transition phase might hurt a bit.

hobofan 5 hours ago [-]
It's only one piece in the full exploit chain.
charcircuit 5 hours ago [-]
That's what my agent did to find a UAF. It just took a public one from calif off the internet and found it still flagged asan.
Maxious 5 hours ago [-]
[flagged]
gcr 4 hours ago [-]
The bug you posted was patched and fixed 6 years ago, and none of the other bugs in the audit showcase that issue. Are you sure these are the right links?
4 hours ago [-]
akersten 5 hours ago [-]
No way to prevent this, says only language where this regularly happens
elmer2 2 hours ago [-]
Criticals happen in other languages all the time. You are seeing this with PHP in the news because it's used on 70% of the Internet.
phplovesong 5 hours ago [-]
LOL

PHP will always be the slop before AI.

WJW 4 hours ago [-]
So how does the exploit actually work? The best I can find is that they manage to use the corrupted generic decoder state to write a single pointer and associated PHP type information anywhere in memory, then immediately claim "this is RCE". Is that enough? From my (admittedly limited) understanding of such things, after writing code to the target memory you also need to be able to start actually running it. Or do they overwrite the PHP code (which is somewhere in memory) and then let the interpreter do its thing?
benibela 3 hours ago [-]
I am curious about that, too

Here was a PoC: https://jackalsyn.com/posts/php-up-2026.html

But it was withdrawn; now it says that it (CVE-2026-109618) is not an RCE and not even a CVE, apparently an addref call prevents the use-after-free. CVE-2026-109619 is still a memory safe bug, but they have no RCE for that one

pluc 5 hours ago [-]
Wiz Khalif AI
darkwater 6 hours ago [-]
Why is WordPress out of that list? Isn't it the single major PHP installation in the whole Internet across hosted and self-hosted instances?
trollbridge 5 hours ago [-]
Well, WP is just a program written in PHP.
dspillett 5 hours ago [-]
One of the most common PHP based applications out there, therefore a good comms channel (via their forums and any mailing lists, both public and for people who have managed instances with them or are otherwise paying for support contracts) to make sure people are aware of the need to update. That would make the company one worth keeping in the loop, if only in one direction, I would have thought?
trollbridge 5 hours ago [-]
Well, it would help if WP were actually controlled by one entity, but currently it's dominated by factions and infighting.
dspillett 5 hours ago [-]
Fair point. I thought that had died down, though for some years I've not had reason to keep particularly informed about the state of WP so I could be missing a lot of hot gossip.
ImJamal 5 hours ago [-]
They have hosted instances as well though. Not sure their market share though.
bombcar 5 hours ago [-]
Because the CEO of Wordpress has gone insane, basically.
nicce 5 hours ago [-]
Automattic is on the list, tho.
5 hours ago [-]
12837615 5 hours ago [-]
WordPress is down right now. A bit late for patching though ...
LoganDark 5 hours ago [-]
I agree, WordPress should be like the first thing they point out. I'd imagine most WordPress users don't even know it runs on PHP
luca4 2 hours ago [-]
WizCalif.. dude xD
alper 4 hours ago [-]
Do they consider this an example of a "good" response?
anon83748359 4 hours ago [-]
It’s in-line with the rest of the pho eco system.
consp 5 hours ago [-]
> https://www.php2shell.com/

Boy, do I hate these PR websites masquerading as vulnerability reports. It's slop all the way down with these companies.

bombcar 3 hours ago [-]
I wonder how early the domain was registered and when the first certificate was issued for it, whether you could’ve had advanced notice of this by watching the DNS records
rollulus 3 hours ago [-]
Guess what, there are answers to that question! October 14, 2026 was the date the domain got registered.
croemer 2 hours ago [-]
Domain registration doesn't mean that much. Many similar domains are already registered, eg python2shell.com is 5k aftermarket but js2shell.com is unregistered. Might not be a bad investment to register the .com for all the top PLs.
wildmXranat 5 hours ago [-]
Yet it was leaked and I can't see a single "Here's this piece of code you can run to validate the fix actually works"

It's like slop for infosec markters

Pxtl 5 hours ago [-]
Thank you, Wiz Khalifa.
freebsd_lovefes 5 hours ago [-]
[dead]
smusamashah 2 hours ago [-]
Someone is saying there is a new vulnerability that works on the newest 8.5.12 https://x.com/_annieversary/status/2112933589943742598
nr378 1 hours ago [-]
That partial stack trace linked above seems to match this GitHub issue, which has much more information: https://github.com/php/php-src/issues/24488 (double-free introduced in 8.5.12)

From what I can see, this causes a crash only, and isn't weaponisable. It's a use-after-free, but the reclaim window is zero by construction.

sparklingmango 8 minutes ago [-]
This is why I like to have a minimum age requirement on package releases. Something like at least 2 or 3 days.
jerf 1 hours ago [-]
Is there anywhere good to get some sort of reliable stream of information about this possibility?

It's going to be pretty bad if we all panic to get the latest PHP up, and all confidently roll out our updated websites, just for them to still be vulnerable to something serious anyhow.

rafael-lua 2 hours ago [-]
Mr. President...
1 hours ago [-]
johng 2 hours ago [-]
Anymore on this, I'm upgrading to 8.5.12 now and don't want to still be vulnerable?
artursapek 2 hours ago [-]
Then I recommend you stop using PHP
pelcg 27 minutes ago [-]
Thank you very much.

This needs to be said, and this language cannot be saved.

johng 2 hours ago [-]
Some web apps require it still. So that's not an option.
IshKebab 58 minutes ago [-]
Kind of is though, now that vibe coding actually works and doesn't produce slop. At least if you have $1k or so to burn on Opus 5.5.

Just point Claude at your PHP and ask it to rewrite it in Rust. I know it seemed crazy when Bun did it (and it probably was), but it actually works now. (And please try it before you say "that's what people said 6 months ago" or whatever.)

johng 37 minutes ago [-]
We use Xenforo, a commercial package. We'd have to rewrite it every time they released an update. That would be quite painful.
IshKebab 9 minutes ago [-]
I don't quite follow. You'd replace it with an entirely vibe coded version. It looks like a standard phpbb style forum so that would be trivial for Opus 5.5.
OscarCunningham 4 hours ago [-]
Looks like there might be a second vulnerability: https://fedi.katze.sh/@elise/117479383739450605
modeless 3 hours ago [-]
There is now an iron clad defense against all memory safety bugs leading to RCE that is actually practical to use in production in many cases, and people should start taking it seriously. Any PHP install that has ~2x CPU headroom should be switched to a memory safe Fil-C build immediately. More generally, anyone running network-exposed C/C++ code that is not routinely pegging the CPU should recompile with Fil-C ASAP.
anonymous908213 2 hours ago [-]
"The entire world should use 2x more compute" is not a real answer. You can do that on your own personal computer which has compute to spare. For servers, you're already paying for the relevant amount of compute to serve your thousands or millions of users, and every % of overhead matters at that scale. You are suggesting everyone allocates a 2x budget for server-compute, or I suppose you're only talking about hobby servers where people are running tiny workloads and had so little traffic it doesn't matter?
n2d4 2 hours ago [-]
A tiny minority of applications use a vast majority of compute.

If 97% of programs use 2x more compute, the total amount of compute used in the world will be nearly unaffected.

bombcar 4 minutes ago [-]
Exactly, my fleet of machines is usually idling at 10% CPU or less.
redox99 2 hours ago [-]
2x PHP is still cheaper than Python and many other languages which most people would consider fine for your typical webapp.
Perseids 1 hours ago [-]
In addition to what my sibling comments have said, there is also the advantage of pushing the ecosystem to safe and fast approaches as a whole. Imagine if the default was to run C/C++ software under Fil-C, if no other measures where taken by the developers, e.g. if the consensus interpretation for one of the current security regulations (NIS2 etc.) mandated it. There would then be an enormous incentive for software to provide faster alternatives to Fil-C, as there where 2x-4x speedups for the taking!

Come to think of it, I believe it would actually be a good idea to lobby for exactly that. Memory safety issues have been a plague in IT for far too long.

modeless 2 hours ago [-]
Large, well-optimized services are running at high CPU utilization all the time. But there's a long, long tail of services that are running well below 100% utilization almost all or all of the time, and it's not just hobby stuff. Vulnerabilities in those services are still real and can be very important, and trading some otherwise idle CPU time for an absolute shield against memory safety issues is a good idea. Even for some services that do have high CPU utilization it may be a good trade to pay for more CPU to get that shield in this new world.
square_usual 2 hours ago [-]
Yeah I'd rather they spend 2x on compute than leak my data
captn3m0 59 minutes ago [-]
Running a parallel PHP-filc deployment at such times at even 2x costs would 100% be worth it. Especially that you'd only be focusing on web-facing deployments (and not background processors).
IshKebab 55 minutes ago [-]
> The entire world should use 2x more compute" is not a real answer.

Not in general no, but it is for PHP. If you cared about a 2x overhead why are you using a language with 10x overhead (conservatively)?

dannyw 3 hours ago [-]
The patches are very dirty (thousands of `if (ZEND_HAS_OOM()) { .. return failure`); my first reaction is they've probably missed something.
sharess 2 hours ago [-]
Extremely embarrassing for OpenAI marketing. How did they not catch this?
andix 1 hours ago [-]
For now this is just one person posting about it. Can be real, can be a mistake, can be a hoax. But if it's real, then OpenAI once again fudged up really bad.
preommr 49 minutes ago [-]
"skill check"

*rolls 3"

"Your IPO gets delayed another month"

Maxion 4 hours ago [-]
Meow!
spenvo 5 hours ago [-]
Edit: and it's live now 1hour 43minutes after. Edit 2x: well I spoke too soon. not actually live - the 8.4.27 tag appeared, but it's still an empty shell with no amd64 image to build from. Maybe other architectures can be built from though. Ugh. Now we're at 2hours 24minutes in. I know process steps take time/can't be rushed, and I know people mean well and surely some are unappreciated for what they do. That said: this debacle is making me want to reassess my deployment pipeline choices.

how does Docker not yet have a new, official PHP image ready, given such a big heads up? https://hub.docker.com/_/php Nuts this wasn't ready to flip on at :00 (or even earlier given the PoC exploit and even the official PHP fixes were out well before). Now we are 52 minutes past due. (posting comment again, because the other thread i posted in was marked as dupe.)

andrin 4 hours ago [-]
They even committed the fixed version to the repo, but it seems no images where pushed: https://github.com/docker-library/php/commit/e3eaff845f7a9f7...

Edit: Seems like GitHub has issues with merging PRs: https://github.com/docker-library/official-images/pull/22541

sunaookami 4 hours ago [-]
Ugh these comments on GitHub. Don't people know when it's best to just post nothing? "516 hidden items"
teekert 4 hours ago [-]
Have you ever experienced a "Reply-all storm"?
maaarghk 4 hours ago [-]
It went a few seconds ago. I was also surprised they didn't have advance access but thinking about it, with the whole thing being a public Github pipeline, it's unclear how they could have achieved it whilst simultaneously keeping the patch private. Is there precedent?
4 hours ago [-]
amykhar 3 hours ago [-]
Images are there for docker now, but pecl has decided to have issues . ARGH
adlpz 4 hours ago [-]
I have zero internal info, just guessing, but there's a PR from 5min ago asking to add someone as a reviewer for PHP images:

https://github.com/docker-library/official-images/pull/22544

Maybe the guy that has to click OK is asleep?

asimovDev 4 hours ago [-]
they have a long process with multiple build steps before the images reach the registry.

https://github.com/docker-library/faq#an-images-source-chang...

spenvo 3 hours ago [-]
And now, at 2hrs 55mins past the PHP release, the amd64 image is available. Although it appears that the servers hosting the image are getting hugged to death because I can't actually download it.
yurishimo 2 hours ago [-]
Yepp, we're seeing the Debian images now for 8.4.27
jMyles 5 hours ago [-]
Yeah, I was very surprised to wake up just now and find docker still vulnerable.
adlpz 4 hours ago [-]
Out now!

https://hub.docker.com/_/php/tags

EDIT: 25min later, nope.

bowersbros 4 hours ago [-]
That's placeholders for images, you can't actually pull them yet.

https://hub.docker.com/layers/library/php/8.5.12-fpm/images/...

nuil 3 hours ago [-]
Any eta, when they will be available?
reddalo 3 hours ago [-]
Now they should be actually available and pullable! The only problem is that it took 3 hours with a huge security problem already exploited in the wild.
tmstieff 3 hours ago [-]
They are being backfilled now starting from the 8.0 images it looks like.
snlhuis087 3 hours ago [-]
[dead]
basilgohar 5 hours ago [-]
This is obviously bad, but in my 20 years of hosting with PHP, I've never had to take the steps of taking down servers preemptively. It's not good, but honestly, and I think the way this was handled could leave a lot to be desired, I think this might be the "worst" we've had with PHP, and it took a while to get here.
danso 5 hours ago [-]
FWIW this is the most mainstream vulnerability in the new era where everyone has access to AI agents that have the potential capability to find and widely exploit the vulnerability far faster than the past timeframes for disclosure and patching.
dannyw 4 hours ago [-]
I'm legitimately surprised half the hostnames on the internet isn't serving ClickFix or whatnot payloads already.

The average phpBB or Wordpress, even if it's behind cloudflare, probably has a direct IPv4 that's not disabled.

nicce 4 hours ago [-]
I think some of the issues could have been avoided here, if they would not chase the PR and blog posts.
tokioyoyo 4 hours ago [-]
What's the "other way" that would be better in general?
Avamander 4 hours ago [-]
The release should've been done sooner once it was clear the embargo was broken and people figured out the vulnerability.
nicce 3 hours ago [-]
pamcake 4 hours ago [-]
More proactive outreach and better coordination with key downstreams.
aDyslecticCrow 2 hours ago [-]
Giving me log4j vibes.
Neikius 1 hours ago [-]
Much worse. Log4j was hard to exploit and worked only in specific condions. And it was bad. This is something else.
Lt_Riza_Hawkeye 31 minutes ago [-]
log4j was indeed the last time the internet storm center went to threat level yellow (as it is today again)
segmondy 4 hours ago [-]
Thanks to OpenAI, everything is a PR stunt.
dalvrosa 6 minutes ago [-]
Code example for the exploits https://github.com/david-alvarez-rosa/php-rce
sjs382 3 hours ago [-]
Despite this coordination, WP-Engine (who's major business is hosting WordPress sites) is still on PHP 8.4.26 a full 2.5 hours after the patch is publicly available.

https://wpenginestatus.com/incidents/969801

dizhn 3 hours ago [-]
Could be backported?
cholmon 5 hours ago [-]
Ondrej might appreciate some monetary love on a day like today.

https://www.patreon.com/cw/oerdnj

aftergibson 5 hours ago [-]
Not even $700 a month? Seriously, there must be thousands of highly profitable companies depending on this guy’s maintenance. Once this is all sorted, please hassle your employers to give something back to him!
l5870uoo9y 3 minutes ago [-]
Open source projects are severely undervalued.
bombcar 5 hours ago [-]
Someone tell Ondřej to sell some self-published "guide to PHP" for $200 and we can easily expense that.
sixhobbits 5 hours ago [-]
Yeah this, I always see so much hate towards businesses for finding tax loopholes or not donating etc but people forget that businesses are made of individuals with their own often conflicting subgoals, but overall has to try to maximize profit so they will never voluntarily pay more tax than legal minimum or be philanthropic if they do not have to or do not benefit explicitly.
4 hours ago [-]
mghackerlady 4 hours ago [-]
While we're at it, please hassle employers to donate to OpenBSD so we don't get another heartbleed
basilgohar 4 hours ago [-]
Thank you for calling this out. I absolutely rely on him so I decided to contribute $100/month even though I'm a solo dev with a business yet to see profit. But I absolutely rely on him for my server(s) PHP packages.
geerlingguy 4 hours ago [-]
Similarly Remi for the RedHat-derivative side of things: https://blog.remirepo.net (he's on vacation, but apparently is pushing updates now).
sct202 5 hours ago [-]
There is a one time option on his github as well for those who don't want to do subscriptions.
jdhawk 2 hours ago [-]
Dude even backported the fix to his 5.6->8.0 branches

Newest: 5.6.40-104 which has the CVE fixes.

tux3 6 hours ago [-]
simias 6 hours ago [-]
>PHP uses longjmp()

Well off to a good start here.

wren6991 1 hours ago [-]
Not that uncommon for a language interpreter? Pretty sure MicroPython does some setjmp/longjmp for non-local returns.
mort96 4 hours ago [-]
It's not exactly uncommon, it's basically C's equivalent to exceptions. It lets you avoid having to do an extra error checking branch after every fallible operation and can quite significantly speed up the happy path of a language VM.
simias 4 hours ago [-]
I know but I don't think the risks justify using this, as demonstrated here. "It's fine when it's used correctly" except it's so hard to use correctly. It completely messes up any analysis of codepaths because you have this "time travel" footgun that can bypass everything.

Exceptions aren't great for that either, but languages that feature them at least have the tooling and support features to make them work. C has no destructors or anything to handle exception unwinding cleanly. Scheme has call/cc, but scheme has a big runtime and garbage collector to deal with the fallout.

Let the branch predictor do its job and implement error checking properly, I say. If performance matters so much that you worry about pipeline flushes and icache thrashing, surely you wouldn't be using PHP anyway.

setjmp, longjmp and gets are 3 function I would absolutely ban in any C codebase I would be responsible for. Maybe strncpy too. and strtok. C is fun.

pinevale 2 hours ago [-]
> It's not exactly uncommon, it's basically C's equivalent to exceptions.

longjmp is very uncommon, I don't recall seeing any high-quality C codebase using it, and if you want exceptions, you should pick a different language because longjmp doesn't really give you comparable semantics. It's basically saying "ok, computer, f--k my s--t up".

The fact that OOM conditions are an enduring source of exploitable vulnerabilities in PHP really should give everyone a pause. Like, that's not a thing in any sane project.

wat10000 2 hours ago [-]
It's C's equivalent to exceptions, except without any of the stuff that might actually make exceptions safe and reasonable to use in other languages.

There's no automatic cleanup of anything, no built-in way to even register things for manual cleanup, and it doesn't even consistently save/restore the values of your local variables. A local variable that was mutated between the setjmp and longjmp may end up with the old value or the new value depending on where the compiler decided to store it. The documentation does mention this and says that you need to use the volatile keyword to avoid it, but in typical C fashion there's nothing to enforce this, it's just up to the programmer to remember it.

It is extremely uncommon in C codebases because it is extremely dangerous. It makes hazards like pointer arithmetic and manually-terminated strings look like a walk in the park by comparison.

the_mitsuhiko 4 hours ago [-]
Never use Ruby then.
tuveson 4 hours ago [-]
Lua as well
fock 6 hours ago [-]
did I skim this correctly that with the mitigation shared this does not (yet) impact fpm-usage and classic CGI (vs. mod_php) is not impacted either?
Maxious 5 hours ago [-]
No, every platform affected.

> Who is at risk: all PHP installations serving web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed.

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

CodesInChaos 4 hours ago [-]
I'm surprised by CGI. The vulnerability description talks about a second request being affected by corrupted state from an earlier request. But I thought CGI only processes one request per process?
bombcar 3 hours ago [-]
Iirc one of the main performance tricks for CGI was to get processes to stay alive.

But there were two vulns - only the second required the two requests.

DDerTyp 5 hours ago [-]
[dead]
ytxm 6 hours ago [-]
Click the associated tag:

> This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Glorious. Today of all days it would genuinely give me pause for caution.

edit: yeah, really not feeling that: https://github.com/php/php-src/compare/php-8.2.34..php-8.2.3...

Hopefully just a mistake? But looks like a botched release at the least

OJFord 6 hours ago [-]
Same on the older few. I'm not sure I understand it though, seems strange you can have a tag for a commit that's only present in a fork?

Is it perhaps a bit misleading, and only means that there's no branch containing that commit?

moritzwarhier 1 hours ago [-]
Git doesn't have a concept of "fork".

GitHub uses this metaphor, and, as another commenter already aptly described, it could be nothing more than a fancy name for namespaced branches, on the server side.

On the client side, "forks" are usually different repository clones with different remotes and a "coincidentally" shared history.

But you can also map forked repos to multiple remotes of the same repository for example, instead of folders.

Assuming that forks would live in separate clones/blobs on the server is not really based on anything, so I think the warning is a good middle ground between explaining what forks are and how they handle them, and giving actionable advice.

It's also better suited for PR:

"Fork me on GitHub"

vs

"Branch and push your own clone on GitHub, using our shared blob optimizations".

I think the warning is clear and there's nothing misleading about it, but others have already pointed this out and git can be tricky.

It's so good at providing the right level of abstraction to everyone though, it seems!

Similarly, GitHub invented the term "Pull Request" (aka PR, lol).

Not a git-owned term.

But "merge request" isn't a Git primitive either!

And, with Forks and Pull Requesrs, GitHub made a particular workflow in Git approachable to anyone!

I love GitLab, but people get confused by Merges, myself included, so the GH-enabled workflow of favoring ff-only merges, without merge commits, with quadi-linear history, became the norm and helped Git succceed!

But I also appreciate being able to do all kinds of different workflows.

So PRs were positive-sum PR at the time, I'd say. When they became popular, I was still taught Subversion and CVS at uni, alongside Git as "the new thing". Ar that time, many people considered the older systems simpler, and pondered SVN as the most reasonable middle ground between CVS and the decentralized concept of Git!

CodesInChaos 4 hours ago [-]
There is little difference between a tag and a branch in git. There is just the convention that tags reference the same commit forever, while branches move.

On github forks are part of the same physical repository. You could imagine that each logical repository is just a namespace for branches and tags, backed by the same physical repository.

I do consider the warning a bug if github, it should check both tags and branches for commits which are to be considered part of a logical repository.

cyberclimb 6 hours ago [-]
It can mean either, it's a consequence of how github optimized their backend storage so a 100 forks of a repo initially take up the same space as 0 forks
1 hours ago [-]
drdec 5 hours ago [-]
main (or master) is just another branch to git.
OJFord 2 hours ago [-]
Correct. ..did you mean to reply elsewhere perhaps?
fixkitai 5 hours ago [-]
[flagged]
majewsky 5 hours ago [-]
> 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.

If only we could come up with a way to manage memory automatically. Alas, one can only dream.

4 hours ago [-]
kg 5 hours ago [-]
I'm pretty sure this class of problem would exist in GC'd environments too unless they're configured to abort on OOM, in which case you'd still be dealing with denial-of-service.

In some environments OOM is a trappable exception, so it's possible that incorrectly authored code would trap the OOM and 'recover' with partially initialized data sitting on the heap. Hopefully it's a memory-safe language so that partially initialized data isn't RCE...

andrelaszlo 5 hours ago [-]
Just pulled the new matomo that was published on dockerhub 26 minutes ago, thinking it has the patched PHP version:

  # docker pull matomo:latest
  latest: Pulling from library/matomo
  Digest: sha256:6e63589d31ec653f78e029084d21488640fdbbd9a42c96c872098f42c8678a02
  Status: Image is up to date for matomo:latest
  docker.io/library/matomo:latest
  
  # docker run --rm matomo:latest php --version
  PHP 8.4.26 (cli) (built: Oct 21 2026 00:31:19) (NTS)
  Copyright (c) The PHP Group
  Built by https://github.com/docker-library/php
  Zend Engine v4.4.26, Copyright (c) Zend Technologies
      with Zend OPcache v8.4.26, Copyright (c), by Zend Technologies
The PHP build is from today, which is doubly misleading. 8.4.27 is the patched release, not 8.4.26. I wonder how many people will pull this image thinking they're good to go online again.
andix 2 hours ago [-]
The "official" PHP Docker images turned out to be a shit show tody. Seems like many maintainers fell for it and published updates that aren't really updates.

I'm currently waiting for a new docker image for another project, and their maintainer noticed the old PHP versions in the freshly built images and is still waiting or working on releasing a new container build.

xorcist 49 minutes ago [-]
There is nothing official about these images.

"Let's use this packaging some rando on the Internet built" is a strategy that is exactly as good as it seems, but that's the Docker ecosystem for you.

Packers who actually understand the software put in good work to package that software in small and well maintained packages. Use them!

andix 30 minutes ago [-]
Yeah, took me long enough to learn that. I just trusted the "official" badge.
lol768 2 hours ago [-]
Fully agree. Moved to FrankenPHP's static build (which was ready very quickly) to get away from it. Don't intend to ever use the "official" images again.
andix 2 hours ago [-]
I'm wondering if it's not just better to use plain Debian base images.

  FROM debian:... 
  RUN apt install php ...
This will take longer on a cold build cache, and pins the PHP version to the current Debian version. But Debian once again proved very reliable to patch in time.
reddalo 1 hours ago [-]
Those images are not even official. "Official" is just a misnomer in Docker.
teekert 5 hours ago [-]
Same goes for

    $ docker pull wordpress:fpm && docker image inspect wordpress:fpm --format '{{.Created}}' && docker run --rm wordpress:fpm php --version
    fpm: Pulling from library/wordpress
    Digest: sha256:c6d271a445510a3e08cfcc487750ac014f4464165ad6df6356da04680be8e907
    Status: Image is up to date for wordpress:fpm
    docker.io/library/wordpress:fpm
    2026-10-21T01:27:06.695704995Z
    PHP 8.3.35 (cli) (built: Oct 21 2026 00:33:17) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.3.35, Copyright (c) Zend Technologies
      with Zend OPcache v8.3.35, Copyright (c), by Zend Technologies
I guess they were planning an update for today, for a moment the 8.2.35 threw me, but .35 is patched on 8.2, unpatched on 8.3 :)
trvz 5 hours ago [-]
If you need Docker to run PHP software you're beyond any help already.
teekert 5 hours ago [-]
Yeah, I really enjoyed messing with php.ini back in the day! Setting it juuuust right for every different project on my dear pet.
fullstop 2 hours ago [-]
I barely use PHP these days, but Docker seems like a great place to put it.
bartnp 4 hours ago [-]
If LLM's are going to keep finding vulnerabilities of this magnitude, we'll be sure to face a computer worm event of unprecedented scale soon. Best be ready for the moment the lights turn off
imzadi 5 hours ago [-]
FML. Can't get in to update our servers because of MFA and our director, who gets the codes, isn't in
bartread 5 hours ago [-]
Great example of performative enterprise security practice that contributes to degraded security posture, I suppose. Best of luck.
andix 5 hours ago [-]
What would happen if the director suddenly gets sick or decide not to come to work anymore? A lot of people assume that humans are reliable, they are not.
bartread 5 hours ago [-]
Exactly: limiting access is fine, lack of contingencies is not.

Some systems and services still only allow for one owner though (I'm not going to name names), which can be a big problem when MFA is mandated. From what the poster I responded to said, I'd be very surprised if that were the case for them though - just slightly daft policy.

bombcar 5 hours ago [-]
This is where tooling like 1Password or Apple Keychain that lets you "share" MFA comes into play.
andix 5 hours ago [-]
It doesn't allow sharing SMS, email or proprietary app based MFA.
bombcar 3 hours ago [-]
Email is painfully easy to share. SMS may take some tricks (again, iMessage can be useful here).

Proprietary apps are a pita.

nolok 5 hours ago [-]
One of my first boss called it the bus factor, not sure where the term comes from. What's the minimum number that need to get hit by a bus before it's impossible to keep things running. He used to say "you always have some bus factor, but it should never be one unless you're alone, otherwise you deserve whatever crap is going to rain on you someday".

I've found that to be incredibly true in my career.

bombcar 5 hours ago [-]
If you're optimistic you call it the "vacation or lottery" factor - if Bob wins the lottery tonight, will our shit still work tomorrow?

And if the answer is no, well, then Bob just got Hotel California'd and can check out but can never leave.

Help Bob; help yourself.

epiecs 5 hours ago [-]
We call it the HB3 (Hit By Bus Binder). Aka keep a document containing what to do if someone of your team gets hit by a bus.
5 hours ago [-]
connicpu 5 hours ago [-]
My team rotates 1 sacrificial member every week to be on call with prod k8s access. It limits who can just push things to prod at any given time while making sure everyone on the team has experience. If someone is out sick or on vacation we do time trading, it works out for everyone.
botas 5 hours ago [-]
Have lived this when a seeming healthy mid-30s man dropped dead. Nightmare.

Implemented a lot of “just in case” policies after that, which seemed obvious but oh well.

develoopest 5 hours ago [-]
Use the exploit to gain access, then upgrade
jacquesm 5 hours ago [-]
Let's hope he didn't go skydiving. Seriously, you need to improve your processes.
volkk 5 hours ago [-]
where do you work? >:)
openclawuser 5 hours ago [-]
With AI agents, I've been using sites/services that are bot friendly and don't require MFA.

Not everything needs hyper security. Heck, I've given AI access to spend money on websites and my only restriction is that the websites limit the daily spend(website side... Although I guess a rogue AI could have changed it... )

k1kingy 6 hours ago [-]
Does anyone know how long it takes for the ondrej/php repo to be patched usually?
00deadbeef 6 hours ago [-]
I installed the updates 18 minutes ago, they're live.
gregoriol 5 hours ago [-]
Definitely not available yet, launchpad says last builds are from 2026-10-12
leoprctmp 5 hours ago [-]
use packages.sury.org instead

follow https://packages.sury.org/php/README.txt

gregoriol 3 hours ago [-]
Sury's own website and launchpad description are really misleading as to what to use, thanks for pointing to it
00deadbeef 3 hours ago [-]
They were because I installed them
longwave 6 hours ago [-]
Ondrej has already said "deb.sury.org will carry packages as they are built".

https://codeberg.org/oerdnj/deb.sury.org/issues/145#issuecom...

dstu 5 hours ago [-]
You can see them building here, it looks like most should be ready within the next few minutes:

https://launchpad.net/~ondrej/+archive/ubuntu/php/+builds?bu...

6 hours ago [-]
conradfr 3 hours ago [-]
Hard to deploy if you also install extensions from PECL right now (probably slammed).
smalu 3 hours ago [-]
same here.

`[00:06:03.209] pecl install -f amqp igbinary redis imagick` :sad_face:

conradfr 2 hours ago [-]
Yeah I got repeated error for igbinary (and then find out I didn't use redis in this project and could remove it).
eqmvii 2 hours ago [-]
yeah, not surprising but not great
jdhawk 2 hours ago [-]
switch to PIE
conradfr 2 hours ago [-]
Is Pie (which I learned about it today) a painless migration from PECL?
spenvo 5 hours ago [-]
how does Docker not yet have a new, official PHP image ready, given such a big heads up? https://hub.docker.com/_/php Nuts this wasn't ready to flip on at :00 (or even earlier given the PoC exploit and even the official PHP fixes were out well before). Now we are 27 minutes past due.
reddalo 5 hours ago [-]
Yes, it's embarrassing for Docker. Makes me wish I still had the classic LAMP stack.
geerlingguy 5 hours ago [-]
A PR was posted within a minute or two of PHP's source code update. Then within a minute of the PR's CI job completing, it was merged, and the build took a while but is now complete: https://github.com/docker-library/php/actions/runs/396158697...

It would not be easy (or reasonable) to take a public build like that private to build a 'secret' image version, and I'm not sure GitHub even has the capability to do that. I would not trust a build pushed to Docker Hub separate from the established / public / auditable process they have in place.

Nauxuron 5 hours ago [-]
This is just the first step. See here for the full process: https://github.com/docker-library/faq#an-images-source-chang...

All dependent (official) images need to go through the same process, so that makes it fairly problematic, and I think Docker needs to take a look at it for the future.

geerlingguy 4 hours ago [-]
Ah, indeed... I thought the GA push was the final step but there's another manual process between that and updating the Docker Hub image tags: https://github.com/docker-library/official-images/pull/22541

It should definitely have a 'high impact' workflow that bypasses some of those manual steps.

glacier9147 5 hours ago [-]
It would however be reasonable to expect a maintainer to be available to start the CI faster than 30 minutes after the PR was created.
KaiserPro 5 hours ago [-]
Docker have been carrying a broken python build for months.

they are wanting people to pay for the hardened version.

dstu 6 hours ago [-]
So far Ubuntu LTS isn’t picking up the new packages for me via apt update, and Laravel Forge appears completely unresponsive as a result of being flooded by people trying to update their servers.
trollbridge 5 hours ago [-]
And I'm maintaining a box on 18.04 over here, and lo and behold its Pro subscription isn't showing up as active, so I couldn't get the update even if they do release it.

Going to migrate the box to Debian in-place. (Or Gentoo, the way things are currently going.)

Neil44 5 hours ago [-]
Same, I'm spamming the apt update and so far nothing on 22.04 or 24.04 lts

I realised that my linode and ovh vm's point at local mirrors not direct to ubuntu, I guess that's why the delay

mminer237 2 hours ago [-]
Yeah, Linode still hasn't updated their mirror. Vultr has though.

Edit: Linode just updated its mirror.

janmo 5 hours ago [-]
They had plenty of time to prepare for the release, what a shit show
devtor 1 hours ago [-]
Interview with two of the discoverers: Breaking Down PHP2Shell with Sagi Tzadik (Wiz) & Thai Duong (Calif)

https://www.youtube.com/watch?v=lfEtbrz4-zY

Xyrren 5 hours ago [-]
https://ubuntu.com/security/CVE-2026-109618#status fixes have been back ported in Ubuntu LTS versions just now.
cpncrunch 5 hours ago [-]
Some have, but others are still showing "needs evaluation", and still no update for 20.04. I've just turned off php for now, as we only used it in a couple of places and won't be missed for a day or two.
cpncrunch 4 hours ago [-]
Patches have now landed for 20.04 and other earlier Ubuntu versions.
5 hours ago [-]
andix 6 hours ago [-]
Does anyone know the ETA on the official php:* docker images? I think they only released patched 8.6 RC containers for now.
jhogervorst 6 hours ago [-]
The PR with the update is here: https://github.com/docker-library/php/pull/1694

Looks like we need to be patient:

> Why is this not merged yet?

> I'm not a maintainer and can not merge this. Please wait until a maintainer has come around to look into this.

> This is merged, but I cannot find the image?

> After this PR has been merged, more steps are to be taken, including an upstream merge on docker-library/official-images and subsequent image builds. For a full description of the timeline, please refer to docker-library/faq#an-images-source-changed-in-git-now-what.

dmtroyer 5 hours ago [-]
one of the more entertaining PRs I've seen
andix 5 hours ago [-]
Enough spam comments to create a huge blacklist of misbehaving github users.
mrintegrity 5 hours ago [-]
Might have to wait for the github outage to be resolved first :D https://www.githubstatus.com/
rocky_raccoon 6 hours ago [-]
How about the Ondrej PPA repos for Ubuntu?
nolok 5 hours ago [-]
They're updated for all versions
bstsb 6 hours ago [-]
i just took down all my PHP sites for the last few hours. they’re proxied behind Cloudflare so i know there were mitigations, but infrastructure can’t be breached if it isn’t running!
indemnity83 37 minutes ago [-]
Similar here, except I didn't want to actually shut down the servers, because then I can't patch them! My solution was to just turn off Nginx, which prevents anything from reaching PHP. Then I stuck a caddy server with a temporary config so we get actual 503 maintenance responses.

It seemed to be helpful for others too so I packaged it up, should work on most Nginx / Certbot servers. hopefully its useful: https://github.com/Indemnity83/popcorn

bombcar 5 hours ago [-]
Now I need to get the cute name for a vm vulnerability that attacks offline servers ...

awake2death or something

goryramsy 2 hours ago [-]
CISA published an advisory half an hour ago:

https://www.cisa.gov/news-events/alerts/2026/10/21/critical-...

tikotus 4 hours ago [-]
Has there yet been any signs of any service actually being successfully hacked due to the vulnerability?
redox99 4 hours ago [-]
I'd expect agents to be hacking hundreds of thousands of websites as we speak.

They'll of course install a backdoor and patch the exploit so others can't come in. They won't deface the website, so there won't be signs.

tovve 4 hours ago [-]
Watchtowr reports yes, but doesn't say where exactly right now: https://watchtowr.com/intelligence/php-cve-2026-109618-faq/#...
decidu0us9034 4 hours ago [-]
Well they did specify "successfully." EITW is a pretty broad tag, just means attacker are probing servers. I'm not saying it's good but there are usually some pretty big caveats with remote-remote memory corruption, don't know if all the people dooming are aware of that

> Exploit portability and reliability depend on the PHP build, extensions, frontend behavior and allocator layout.

tommek4077 2 hours ago [-]
This is the real question here. So much panic right now.
janmo 5 hours ago [-]
Still no release for Ubuntu... They are already half an hour late. Debian got the patch almost immediately...
nairboon 5 hours ago [-]
janmo 5 hours ago [-]
even the security.ubuntu.com mirror doesn't have it yet
nairboon 5 hours ago [-]
Now they have finally shipped it.
tomkarho 5 hours ago [-]
Ubuntu probably started working on a rust based replacement instead: rphp.
heatpump5n 5 hours ago [-]
Why are they so slow. My Archlinux is already updated, but I still have to wait because of this.
reddalo 5 hours ago [-]
curl -fsSL https://packages.sury.org/php/README.txt | bash

This adds Ondřej Surý's PPA to your system so you can upgrade the packages.

nairboon 5 hours ago [-]
Just make sure to have the ca-certificates fixes already...
dmtroyer 5 hours ago [-]
if it makes you feel any better, the official dockerhub images aren't ready yet either.
janmo 5 hours ago [-]
They had almost a full day to prepare for this...
bombcar 5 hours ago [-]
I'm starting to suspect that they actually got the notice the same time we did, because if they got the patches there should be no reason it wasn't already built and ready to go (unless they're scared that "our build servers are public and everyone will know" so they literally held everything off until the release which seems so counterproductive as to be ... well, open-source silliness).
b112 5 hours ago [-]
If you mean docker official images, it's just the "community" maintaining it, eg "some dudes". By no means should you consider it a mechanism to get timely security updates, I've seen horrible lag on that before.

Most of docker is like this. Images provided by volunteers, and not related to the project. Using docker images you don't maintain yourself, and at least don't upgrade yourself, is not the best recipe for security.

(It's pretty trivial to build your own)

andix 5 hours ago [-]
I wasn't aware of that. So I guess it's generally better to just use plain debian images and just install the required packages with apt.
vbezhenar 5 hours ago [-]
There are different approaches and it all comes down to who you trust. I don't think there's universal answer. If you have money, find image provider who's serious about security and hopefully they'll provide patches images quickly. Otherwise using Debian packages is a good default I think.

Honestly I don't even understand why so many docker images prefer to build software from sources, rather than just installing them from debian repositories.

andix 5 hours ago [-]
> I don't even understand why so many docker images prefer to build software from sources, rather than just installing them from debian repositories

Because Debian uses older relases and a lot of custom patches. One example: Nodejs still doesn't have Typescript support in the Debian packages.

Distribution packages vs. official build from source has both pros and cons.

bombcar 5 hours ago [-]
And if you're using a docker package it's often JUST BECAUSE the host Debian/Ubuntu server is out of date for things you need, and Docker's the easiest way to "patch" that.
dmtroyer 5 hours ago [-]
welp, I guess I should have done my research into what "docker official images" actually means.
b112 5 hours ago [-]
Debian has had the patch for days, as have other main distros, and tested and prepared the release. That's why it was instant.

Unclear why Ubuntu is lagging.

openclawuser 5 hours ago [-]
Why do people still use Ubuntu?

They gave away CDs 20 years ago for free. Cooool.

Fedora is best for desktop.

Debian for servers that never need updates (but I even use Fedora for server now adays)

compass_copium 4 hours ago [-]
Desktops don't need updates either ;)

Debian on the desktop is the best computer decision I ever made

choilive 41 minutes ago [-]
How does this not have a CVSS of 10?
petecooper 6 hours ago [-]
>Given the severity of these vulnerabilities, the PHP security team provided minimal source-backports for PHP 7.4, PHP 8.0, and PHP 8.1 to help people building from source or without access to an LTS vendor.
blain 2 hours ago [-]
Great that its out but if you depend on pecl for additional extensions and need to rebuild docker container it will probably fail because pecl is having issues for last few hours[1].

[1] https://status.php.net/

It says pecl.php.net recovered but downloading source for extensions ends up with 504 most of the time.

dabinat 1 hours ago [-]
Trying to install this update but it appears that Launchpad doesn’t have the bandwidth for half the world to all update at the same time.
ckbkr10 5 hours ago [-]
Sury released backports for older versions, as always hes incredibly reliable.
Amsozzer 6 hours ago [-]
Since I have to go through a bunch of php repos today at work I ended up releasing a CLI tool that automates that process by listing out the steps you need to take to stay away from the vulnerability. Here's the link incase it helps anyone https://github.com/Amsozzer1/php2shell-repo-audit
trollbridge 5 hours ago [-]
Dude, today of all days is not when I'm going to trust some random CLI tool that was vibed out. I'm not saying your work isn't helpful, but it would probably be a lot better to just release your prompts you used to build this and let others build it on their own.
Trufa 5 hours ago [-]
I really like the idea of sharing details prompts/specs.

It feels like many times PRs could just be that.

trollbridge 2 hours ago [-]
People would be embarrassed of their prompts or they'd be trivially simple.
Amsozzer 5 hours ago [-]
makes sense, will release the docs. thanks!
rob 5 hours ago [-]
I wouldn't listen to him. This is very helpful to people that might be managing dozens or hundreds of servers and need a way to quickly figure out things. It's literally open source and we can point our agent to it and have it examine the source code for anything that looks suspicious first. No need to sit here for a couple hours trying to go back and forth and create something that you already took the time to do. Thanks for the work!
davidgoggins 2 hours ago [-]
The best time to code away from PHP was 20 years ago. The next best time is now.
EGreg 15 minutes ago [-]
For those who can’t patch their PHP for a variety of reasons right now, here is a proxy I developed that can sit between nginx or apache and your PHP-FPM, to sanitize inputs and prevent this (and other) attacks:

https://github.com/Qbix/proxy

jillesvangurp 3 hours ago [-]
My hosting provider just informed me that they took down my website over this to "protect" me. It's a static website that does not use any php. But it's a generic LAMP hosting provider so they just took down all their hosted websites. I had it on my to do list to migrate that to cloudflare anyway. So, I guess I'll be doing that soonish now.
ytxm 2 hours ago [-]
When every neighbour decides to leave their doors unlocked simultaneously,and the entire world knows it, maybe barricading the village is protecting you
joering2 3 hours ago [-]
who is your hosting provider ??
RoshanAmble 1 hours ago [-]
Seems like they finally decided to release it after so many people had access. What happened to security as a priority.
TekMol 6 hours ago [-]
Why is the description of "RCE via OOM corruption" mentioning all these settings like memory_limit, post_max_size, max_input_nesting_level etc under "Mitigation" but not blocking multipart requests? Isn't that a solution?

The description of the vurnurability "Several multipart parsing problems" makes it sound like it is?

mirashii 5 hours ago [-]
No, it’s not a solution, it’s only one example proof of concept on how to exploit the vulnerability, there are more.
kbmr 5 hours ago [-]
I blocked multipart uploads in addition to adjusting post_max_size, etc

blog that was helpful to me: https://www.vincentschmalbach.com/cve-2026-109618-and-cve-20...

bowersbros 4 hours ago [-]
Looks like the docker images are struggling in the Jenkins queue: https://doi-janky.infosiftr.net/
jorisw 5 hours ago [-]
PPA packages on LaunchPad being built here: https://launchpad.net/~ondrej/+archive/ubuntu/php/+builds?bu...
iamcreasy 6 hours ago [-]
Does anybody know when Amazon Linux 2023 will get this release?
alidl 5 hours ago [-]
Capricorn2481 3 hours ago [-]
Is there some reason the biggest company on earth who likely had advanced notice of this cannot put out a patch?
cdmoyer 44 minutes ago [-]
Yeah, really disappointing that they are so slow here, compared to open source maintainers and volunteers.
tuyuri 6 hours ago [-]
Versions: 8.2.35 8.3.36 8.4.27 8.5.12

Now are available in the php-src github

technoknol 6 hours ago [-]
can't find it.
petecooper 6 hours ago [-]
theturtletalks 5 hours ago [-]
If open source has these vulnerabilities, imagine proprietary ones.
a-nych 2 hours ago [-]
I've created patched Dockerfiles for EOL PHP versions. The patch is obtained from official source trees.

I've also published the built images from them to GitHub Registry, but of course it's best to inspect any public repo/docker image before using them blindly.

https://github.com/a-nych/php-eol-backports

kccqzy 2 hours ago [-]
One can inspect a GitHub repo sure but how can one usefully inspect a docker image provided by someone on the internet?
a-nych 2 hours ago [-]
Usually by extracting the layers and looking through them. There's dive (https://github.com/wagoodman/dive) for making that easier.
kccqzy 2 hours ago [-]
I fail to see how that’s useful. Why would I care about the layers inside an image when I could just extract the entire filesystem inside. Even then it is not useful if we don’t have a culture of reproducible builds.
a-nych 1 hours ago [-]
Fair, "inspect the image" was a bad way to put it.

What I meant was: don't trust prebuilt images from a stranger, including mine. I've provided them just as a convenience, the Dockerfiles and patches can be easily looked-through, and building them yourself is the safer option if you need these docker images.

2 hours ago [-]
dhruvagoyal 54 minutes ago [-]
there is clearly some drama w.r.t. who takes credit here, 3 companies credited for a single flaw is super odd.
londons_explore 3 hours ago [-]
I was under the impression that this sort of bug is fairly common in both php and common php frameworks?

I thought the real lesson was "assume your web server is compromised if you use php, and try to make sure php doesn't touch anything too critical"

user43928 2 hours ago [-]
I'm struggling to see any reason to use PHP in the first place if it can run without access to private data.

At that point I would not need a backend.

arm32 3 hours ago [-]
Yes, there have been decades of talk about this already—ensuring you isolate/jail the PHP-related processes and run them with an unprivileged user, etc.
dizhn 3 hours ago [-]
It's usually scripts that can write to /tmp and run unrelated stuff with web user rights. This seems more involved.
janmo 6 hours ago [-]
apt-get update + apt-get upgrade fixes it on Debian, but not on Ubuntu for now
reddalo 5 hours ago [-]
Add Sury's repo and update from there: https://packages.sury.org/php/README.txt
Maxion 5 hours ago [-]
You can on ubuntu change to use ondrej/php and update now
patrickdavey 1 hours ago [-]
I've been trying to update my (noble 24.04) server and an apt update is not showing the 8.5.12. It looks like the binary has been built but not updated in the index http://ppa.launchpad.net/ondrej/php/ubuntu/dists/noble/Relea... (last update 14 yet. https://launchpad.net/~ondrej/+archive/ubuntu/php/+build/338... suggests it finished at ~ 17:00 UTC

Though quite possibly I'm missing something ;)

---------------

edit: as I was typing the index was updated. So, as far as I can tell only just now (18:20 UTC) was it available for updating!

aurareturn 3 hours ago [-]
And there were people who thought Project Glasswing was a stunt.
mrintegrity 5 hours ago [-]
While the patches are being merged for the official docker images, perfect time for a github outage! https://downdetector.com/status/github/
abbbi 6 hours ago [-]
debian trixie just rolled updates.
Pxtl 5 hours ago [-]
Debian always seems to be the grown-ups. I'm a Linux novice so I couldn't get Nvidia drivers working on it but that's the only reason it's not running on my desktops.
Instantnoodl 6 hours ago [-]
Can confirm. Just updated to fixed version
technoknol 6 hours ago [-]
when's bookwarm coming?
abbbi 5 hours ago [-]
kps 5 hours ago [-]
Already, including backports to 7 and 5.
alper 4 hours ago [-]
They have to backport this fix or else leave a large part of the internet broken.
joecool1029 6 hours ago [-]
Gentoo has it updated.
Timshel 5 hours ago [-]
nairboon 5 hours ago [-]
Why is the official source (php.net) marked as [dupe] https://news.ycombinator.com/item?id=50180943

and not the github mirror?

butler14 4 hours ago [-]
I’m not especially technical, but I have clients with WordPress websites. Can anyone perhaps put in a sentence or two what I need to suggest they do?
schleck8 4 hours ago [-]
Tell them to take anything with PHP offline, so that it isn't available from the public internet. That is how Netcup and Contabo are handling Wordpress hosting until they've upgraded all affected packages.

There are already functional exploit scripts on GitHub, you can target any Wordpress site right now.

qwm 3 hours ago [-]
Shut the sites down until you are able to update to the latest PHP patch for your version.
smurf9852 3 hours ago [-]
You need to update the PHP version, which is usually done by the hosting provider.
butler14 3 hours ago [-]
Just a note to say thank you to all of the above commenters, appreciated
charcircuit 6 hours ago [-]
Good4boothee 4 hours ago [-]
Really makes me appreciate using language with exceptions and not that crazy "manually check if error handling is required - and do it everywhere". The fix adds:

    if (ZEND_HAS_OOM()) {
        goto oom_nodeset;
    }
all over the codebase.
dannyw 4 hours ago [-]
Gosh. Let's hope they didn't miss a place.
CodeCompost 6 hours ago [-]
It says "3 days ago". The tag is 2 days old.

I assume it just got pushed?

invokestatic 6 hours ago [-]
Yeah… it was patched in the source 3 days ago. Check the linked GHSA.
5 hours ago [-]
dmtroyer 6 hours ago [-]
Have we ever seen the "get ready for a security release tomorrow" email before?

https://www.php.net/archive/2026.php#2026-10-20-1

bombcar 5 hours ago [-]
Many vendors do it, but on a set schedule "patch Tuesday" and some will release vague "mitigation steps" but honestly those usually come with the patch.
consocio 3 hours ago [-]
https://github.com/consocio/php2shell-audit/ GLM 5.3 just wrote it to audit all my php sites. I hope it is useful to you.
febed 3 hours ago [-]
Any signs of exploits out yet?
ljm 4 hours ago [-]
So this only affects 8.2 are other patches coming?
philipwhiuk 4 hours ago [-]
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.

Earlier versions are not fixed by PHP official and need vendor patching where available

ljm 4 hours ago [-]
exactly why I asked, because those builds for 8.5.12 are not available yet
consocio 3 hours ago [-]
https://github.com/consocio/php2shell-audit/

GLM 5.3 just wrote it to audit all my php sites. I hope it is useful to you

pier25 5 hours ago [-]
Apparently about 40% of PHP apps are still on PHP 7 and 5...
kps 5 hours ago [-]
I see Debian has packages.

5.6.40-104+0~20261021.134+debian12~1.gbp7401dd

7.4.33-31+0~20261021.121+debian12~1.gbpe9c428

abanana 5 hours ago [-]
There are rare occasions when circumstances are more important than preserving an "EOL" designation. This appears to be one of those times where "official" centralized patches really should be made available for at least PHP5.6 and PHP7.4, and perhaps even 5.5 and all of 7.x. They're not covering themselves in glory by refusing.
jacquesm 5 hours ago [-]
That's going to give a lot of people a moment of reflection about whether or not they want to continue using PHP.
nolok 5 hours ago [-]
Yes and no, you have two setup, you're on LTS, it will be backported (done as I write than on Debian), not on LTS and you already have hundreds of unsafe stuff running anyway so it's just one more to the pile.
openclawuser 5 hours ago [-]
Yeah, I have a legacy site that is popular and doesn't make money with some outdated version of PHP that will not update. Maybe I need to install OpenClaw on it.

But yeah, with AI agents, I don't really understand the purpose anymore. Legacy WordPress or laravel sites?

boredtofears 5 hours ago [-]
I would think most people that are stuck on EOL PHP probably don't have a choice
nolok 5 hours ago [-]
If those place at using a LTS release of their OSes they will be patched quickly (Debian already has). If they're not, they're already screwed by a lot more than just PHP I guess.
exceptione 2 hours ago [-]
Those websites can easily run in a php5 container, whilst the host os is up to date.

Websites depending on an older framework like Zend Framework or libraries like Doctrine 1 do not have a clear upgrade path and are stuck at php5 or have to basically start from scratch. php5 to the latest php8 is just a jump too big.

shevy-java 49 minutes ago [-]
I have this slight suspicion this was not the last critical PHP apocalypse ... :(

Some web-services are back up again here in central Europe, but some are not, which is very annoying. Kind of surprising to see how much PHP is actually used. Hate it or love it, PHP really is very important still - lots of the web depends on it.

sourcecodeplz 3 hours ago [-]
PHP 8.3.36 (cli) (built: Oct 21 2026 08:18:34) (NTS)

made it in time hopefully

nairboon 6 hours ago [-]
A bit too early for the announced coordinated release, no?
cholmon 6 hours ago [-]
Their earlier comment said

> We reserve the right to release earlier should details of either vulnerability become public, or should evidence of active exploitation appear in the wild.

https://www.php.net/archive/2026.php#2026-10-20-1

nairboon 5 hours ago [-]
Good point, at least now Debian has shipped the patched packages.
kps 5 hours ago [-]
Two minutes before the announced 1400UTC? Or have I forgotten how to math?
nairboon 5 hours ago [-]
More like >10min early. It's close, but given today’s speed of agents..
DonHopkins 5 hours ago [-]
Time to restart Apache again!

"I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say 'Yeah it works but you're leaking memory everywhere. Perhaps we should fix that.' I’ll just restart Apache every 10 requests." -Rasmus Lerdorf

bombcar 5 hours ago [-]
Amusingly enough restarting php after each request seems to block the issue
SoftTalker 4 hours ago [-]
If true then classic CGI mode should not be vulnerable, but apparently it is.
quotemstr 3 hours ago [-]
Is it? How? Yes, you can get longjmp to do invalid things, but with an ASLR reset each attempt, can you exploit it?
SoftTalker 3 hours ago [-]
Not sure how, but from the announcement: Who is at risk: all PHP installations serving web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed.

Maybe just CYA.

quotemstr 3 hours ago [-]
Also, CGI PHP skips request cleanup on init failure.

I'm 90% sure CGI can't be exploited this way in default configuration with ASLR and 99% sure if PHP is configured with memory_limit=-1

That said, don't be an idiot and switch to CGI instead of patching. I'm like one of three guys running PHP in CGI mode and I'm vaguely satisfied I have the most resistant configuration.

The reason, BTW, I run PHP in CGI mode is so I can (moral equivalent of) suexec to a locked-down sandboxed environment that limits exploit blast radius. I could do the same with fcgi daemon, but the suexec is stateless, and roundcube doesn't need the performance.

In general, anything stateful or long-lived is just one more thing that can go wrong. One reason why the trend of turning everything into a persistent daemon drives me nuts.

alrenai 5 hours ago [-]
Anyone know if Microsoft updates azure web-app built-in php runtimes fairly quickly in this sort of scenario?
torbengee 5 hours ago [-]
Looks like the upgrade instructions for PHP 8.3 for Fedora 39 and earlier are not working ... yikes.
dataflow 6 hours ago [-]
Is PHP 7 essentially going to be dead and unusable for everyone then? Or will it get fixes?
e12e 5 hours ago [-]
> Given the severity of these vulnerabilities, the PHP security team provided minimal source-backports for PHP 7.4, PHP 8.0, and PHP 8.1 to help people building from source or without access to an LTS vendor.
guffins 5 hours ago [-]
PHP 7 hasn’t received an update since 2022 when it went EOL.

EDIT: looks like there are backports though

Operyl 5 hours ago [-]
There are backports already.
kps 5 hours ago [-]
Debian has a new build of 7.4 at least.
cpncrunch 5 hours ago [-]
Not out on Ubuntu 20.04 yet, but sometimes they are a little slower. Hopefully should be posted later today.
mahboi 4 hours ago [-]
Seems like 4chan is down for maintenance as a result.
techteach00 4 hours ago [-]
Is this why Wikipedia isn't working?
vaylian 3 hours ago [-]
en.wikipedia.org works for me
cowlevel 6 hours ago [-]
So they've added malloc fail checks and tests for malloc fail throughout.

Is this even reachable on Linux due to overcommit? Maybe by attempting a single extremely large allocation?

antiloper 5 hours ago [-]
PHP is tracking its own memory usage internally with limits configurable via php.ini.
f311a 5 hours ago [-]
This reminds me of the old days when PHP was such a vulnerable language.

By simply searching for websites that used local includes to load other pages, you could get RCE.

At this point, running webapps in JS workers/sandboxes sounds like a good idea. Vendors take care of patching.

dannyw 5 hours ago [-]
Have a search for V8 RCE/CVEs over the past year.
f311a 4 hours ago [-]
That's why I mentioned vendors. They patch it before announcements.

Also, sandboxing makes automatic exploitation harder. There is no FS persistence, so some checks simply do not pass.

julian9499 5 hours ago [-]
Anyone know when amazon linux 2023 is releasing updates?
lexoj 4 hours ago [-]
While the fix was not published I genuinely thought a quick service rewrite to some other stack (say Go) would make sense as a fix. (Assuming high integration test coverage )
deanc 4 hours ago [-]
I think there's a lot to learn from the last twenty four hour's events. An absolute nuclear bomb of an exploit affecting every version of PHP back to 2012 (which nobody should be using of course, but I've worked in plenty of environments that are not up to date).

The thing that's annoyed me the most is the speculation and misinformation, filling in the gaps. Folks looked into the php-src and figured out one of the vulnerabilities, starting saying you should disable certain php settings and then core PHP developers on obscure mailing lists hinting this isn't enough.

Given how inexpensive it is for agents to scan popular OSS projects, disclosure needs to be more discrete and you cannot publish fixes to OSS before disclosure. People will be and are watching for this kind of thing already.

phplovesong 5 hours ago [-]
This is pure gold. A critical vuln like this is such classic lolphp. Luckily you can port away from PHP pretty easily with AI.
cute_boi 2 hours ago [-]
> 8.1 and earlier Not patched: these versions have reached end of life and will not receive an official fix

I would not recommend using PHP. The PHP team keeps breaking backward compatibility and trying to introduce new features instead of focusing on fixing bugs and hardening the compiler.

ramesh31 6 hours ago [-]
PHP runs literally half the web. Half the web will not apply this patch in any reasonable amount of time (a huge portion will never). This is going to be absolutely catastrophic.
xydone 5 hours ago [-]
The union of hosters which will not update to this patch, and users who have not updated to the past 283762 CVE is literally the same circle. I think that maybe a couple new not infected machines will get infected with a cryptominer - the rest will just get one new miner fighting for resources
jacquesm 5 hours ago [-]
> the rest will just get one new miner fighting for resources

Hehe. That's funny.

I can imagine a truce, either on machines ('ok, you take that one') or on cores ('16/8, deal?')

xydone 5 hours ago [-]
They should probably invent some sort of Crypto Miner Communication Protocol (CMPC) that will make the process easier for all miners out there. Let's hope most are not bad actor crypto miners who ignore the protocol though, we should strive for more good actor crypto miners.
groceryheist 5 hours ago [-]
What should be done? Can beneficent governments race to hack and patch servers?
xyst 5 hours ago [-]
So if I wanted to build a botnet, then it would be very easy ;).

Infiltrate vulnerable PHP sites. Install backdoor(s). Secure root access. Patch PHP to lock out script kiddies. Let it sit dormant until you need to launch attack

ramesh31 5 hours ago [-]
Indeed this is undoubtedly happening as we speak to untold millions of forgotten sites.
Maxion 5 hours ago [-]
So many scanners scan for various wordpress sites, if they save their results then they can more-or-less immediately build huge botnets.
3 hours ago [-]
2OEH8eoCRo0 3 hours ago [-]
Do any home router login pages use PHP?
m4tthumphrey 3 hours ago [-]
Pretty sure they do yes.
joenada 3 hours ago [-]
Log4J4PHP
iLoveOncall 3 hours ago [-]
Sucks to be you if you're not on PHP 8 :|
Capricorn2481 3 hours ago [-]
Every year, several of my clients say "We will upgrade next year"
teekert 5 hours ago [-]
Doing a...

    docker pull wordpress:fpm && docker image inspect wordpress:fpm --format '{{.Created}}' && docker run --rm wordpress:fpm php --version
... every now and then until that 8.3.35 turns into 8.3.36.

So far, no dice.

varispeed 4 hours ago [-]
Why they can't publish an expoit so people can run it against their own servers to check the impact?
4 hours ago [-]
lousken 5 hours ago [-]
where is patch for alpine?
jdw64 5 hours ago [-]
What I've been feeling lately is that security vulnerabilities will inevitably keep being discovered, and I worry whether humans can ever patch all of them.
4 hours ago [-]
baggy_trough 6 hours ago [-]
They bundled the fixes with a regular bugfix release, looks like.
jayknight 5 hours ago [-]
Yeah, there was a new patch release in the works already. They just added this fix and got it out the door. Changelog: https://www.php.net/ChangeLog-8.php#8.5.12
6 hours ago [-]
sourcecodeplz 5 hours ago [-]
apt update

apt upgrade

3 hours ago [-]
Capricorn2481 3 hours ago [-]
This is extremely damning for Cloudflare. I had a bunch of clients telling me Cloudflare is all they need to prevent this, and they want to get that on their site instead of upgrading PHP.

I have not seen confirmation Cloudflare is doing anything except playing whack a mole with certain request patterns. PHP Core Devs have been clear you need to upgrade. If this is true, it's disgustingly opportunistic that Cloudflare is using this critical security time to lie to people that they are safe.

Anyone from Cloudflare want to speak to this?

cr3ative 3 hours ago [-]
I'm not from Cloudflare, or particularly a fan of theirs, but they are doing a few things about this, including a new WAF capability: https://blog.cloudflare.com/full-transaction-waf/ and automatic protection for all customers https://blog.cloudflare.com/php-vulnerabilities-waf-protecti...

These were rolled out before the exploit became public.

I would wouldn't describe that as damning.

Capricorn2481 3 hours ago [-]
It's great they are doing mitigations, but they admit themselves, in fine print, that this will not protect you from the vulnerability

Why is word circulating that you can just sign up for Cloudflare and be 100% protected from this? They are burying the leed and trying to get new customers, and it's working.

3 hours ago [-]
AtNightWeCode 2 hours ago [-]
When log4j came out CF helped a lot. The rules are called stopgap. A TEMPORARY fix. CF added some for this exploit.

The old way of doing things like putting old unpatched stuff behind firewalls is pretty much a dead pattern today.

calvinmorrison 5 hours ago [-]
debian package WHEN
tasuki 5 hours ago [-]
Debian package 20 minutes before your post: https://lists.debian.org/debian-security-announce/2026/msg00...
g147 2 hours ago [-]
[dead]
Maxious 6 hours ago [-]
[dead]
georgestones 3 hours ago [-]
[dead]
holnp 4 hours ago [-]
[dead]
hizlikovboy27 6 hours ago [-]
[dead]
3 hours ago [-]
consocio 3 hours ago [-]
[dead]
holnp 4 hours ago [-]
[flagged]
EGreg 5 hours ago [-]
[flagged]
Shank 5 hours ago [-]
I really do not think anyone should trust a vibe coded repo that launched 1 minute ago as a viable defense for any service.
bombcar 5 hours ago [-]
Yes, you should vibe-code your own instead.

(Not even joking, if you're going to go hog go whole-hog.)

EGreg 5 hours ago [-]
You're right, you should just leave your PHP totally unprotected.

I would recommend running this binary as a user that has no access to any files, it can just proxy traffic through a port. I will put that in the README.

Shank 5 hours ago [-]
You should follow the NSA's advice or the Prime Minister of Japan's advice and take the service offline: https://x.com/NSACyber/status/2112903220209098897
EGreg 5 hours ago [-]
Yes. Take your PHP service offline for the next year, until you can find a way to migrate it off your host and rebuild the PHP yourself on your environment. That'll help.
EGreg 6 hours ago [-]
[flagged]
julkali 6 hours ago [-]
Please stop pushing your slop to profit off the situation.
antiloper 5 hours ago [-]
Surely the "structual fix" for a use-after-free is a pile of unreviewed C code! I don't see any problem here.
EGreg 5 hours ago [-]
It's free, MIT open source. It was the best I could do. Run it under a Linux user with no permissions to access anything. All it's supposed to do is proxy requests. Don't give it access to any files.
mirashii 4 hours ago [-]
> It was the best I could do.

Honestly, and not to be harsh, but doing absolutely nothing is better than what you've done here.

Not only is this proxy unlikely to actually protect against the issues, but this code almost certainly has its own, equally bad security vulnerabilities. A 30 second check with Opus 5.5 found at least one heap overflow, multiple memory leaks, and a number of bugs that shows that it doesn't even succeed at doing what it claims. I appreciate that you're trying to help, but there are better tools for the approach that you're going for here, and injecting noise with AI slop that isn't even reviewed at a basic level is causing noise, confusion, and potential harm in an already urgent, tense situation.

EGreg 4 hours ago [-]
[flagged]
3 hours ago [-]
mirashii 3 hours ago [-]
I'm going to engage only because I do not wish others to come across this project and think it's serious. I did open the project and read the code, and I did throw it into an LLM as I previously said for some very basic security posture checks, and found a number problems immediately, but I don't trust them (and neither should you, which is part of the problem here), so I went digging a bit deeper. I don't have the time to go through all of them, so here's a big one of my own finding: There's a parser differential in how multipart boundaries are handled, your proxy only deals with ;, the PHP interpreter accepts , as well, and the proxy will pass it through unchanged to the upstream. That's a full bypass of what the proxy is trying to do.

https://github.com/Qbix/proxy/blob/main/src/sanitize.c#L41 https://github.com/php/php-src/blob/master/main/SAPI.c#L162

The article linked from your own README (https://sansec.io/research/php2shell) has a better partial mitigation in existing, battle-tested reverse proxies. Even still, as that article says, everything here is a partial mitigation. The description of the issues in your project's README is an inaccurate understatement of the severity of the issues. "CVE-2026-109618 — heap use-after-free in the session.upload_progress handler" is an incomplete understatement of the issue, the session.upload_progress handler is only one of a number of potential exploitation paths. https://github.com/php/php-src/security/advisories/GHSA-w8hw... has some hints at other paths, of which there are many.

From an LLM, and quickly validated by me, a heap overflow, likely an RCE.

> src/http.c:101-116 and src/util.c:9

Attacker supplied value in strtoul, the size-limit checks are unsigned addition that can wrap, and you can follow the chain from there.

> or better yet submit a request.

This project is not deserving of fixing, it should just be deleted and direct people to more serious documentation of fixes and mitigations. This code is clearly AI-generated slop, it is not my responsibility to fix your project.

> I could understand if you actually at least clicked and looked at the repository, and read what it’s about. But you chose to simply write generic text without looking at anything. You want to discourage people from protecting their servers, in order to feel good about yourself. What amount of effort have you put into understanding what you’re even talking about?

Every accusation is an admission.

mirashii 3 hours ago [-]
[dead]
EGreg 3 hours ago [-]
[flagged]
EGreg 5 hours ago [-]
You know, normally I'd be okay with these comments, but in this case you're actively hurting a lot of people by this bullshit. Many people need something other than patching PHP.

It's free and MIT licensed, open source and it is currently the only alternative to patching your PHP. The "profit" is for people who don't get PWNED today!!!

Many people can't patch your PHP. If you can't be bothered to even look at the repo, you may want to sit this one out.

https://github.com/Qbix/proxy

klausa 5 hours ago [-]
In what circumstances would you be unable to patch your PHP, but able to stand this proxy in front of it?
bombcar 5 hours ago [-]
The one we're in right now, where we're waiting for vendors to rebuild the packages (I'm ass-blasted that the delay to 14:00 UTC wasn't for the vendors to build packages but seems to be a PR stunt?).
kalleboo 5 hours ago [-]
Apparently they didn't even use the time to prepare the docker images
EGreg 5 hours ago [-]
[flagged]
import 5 hours ago [-]
Hi, your build is failing my friend.
EGreg 5 hours ago [-]
You're right – need to fix the Cosmopolitan build in GitHub actions. On it!

UPDATE: Just going to ship a Linux binary for now, that's where most hosting is. Almost no one hosts from a MacOS or Windows machine. The Cosmo binary was overkill here.

DJBunnies 5 hours ago [-]
> Just going to ship a Linux binary for now

Nobody should trust this.

EGreg 4 hours ago [-]
Verify it

GitHub actions builds from source

bombcar 6 hours ago [-]
What I did on our WordPress boxes while waiting for distro packages (CVE-2026-109618 / CVE-2026-109619)

1. session.upload_progress.enabled = Off, in php.ini and as php_admin_flag in every FPM pool, so per-directory config can't turn it back on. It's one of the two confirmed consumers in GHSA-6wmf, and the validated FPM path depends on it. Almost nobody uses it, and the advisory suggests leaving it off even after patching.

2. Refuse multipart request bodies at the web server, before PHP parses them. All of the GHSA-w8hw out-of-memory strategies go through multipart parsing. On Apache it's a rewrite rule matching a Content-Type of multipart/form-data that returns 403. On Caddy it's a header matcher that responds 403. The cost: every browser upload breaks (media library, plugin zips, importers). Check your public forms first.

3. Check your SAPI. Both bugs have confirmed RCE against mod_php. FPM is narrower: the validated path needs upload_progress, and the early INI consumer only applies if your front end sends PHP_VALUE/PHP_ADMIN_VALUE. To check, grep your Apache, nginx and Caddy configs for it, and run apache2ctl -M | grep php.

4. pm.max_requests = 1 in the pools. A worker serves one request and exits, which breaks the stale-state chain: the "producer" and "consumer" requests must land on the same worker. It costs a fork per request.

5. Lower max_input_nesting_level and post_max_size, per the advisory.

6. Housekeeping that should already be done: no .php served from uploads directories, and remove any stray phpinfo.php. Scanners request it constantly, and it tells an attacker your exact build.

dwedge 6 hours ago [-]
This is just Claude output. Did you verify anything or just rehash the links?
mistertrotsky 5 hours ago [-]
HN should ban comments that are just Claude output
whycome 5 hours ago [-]
I’d rather just some sort of tag. Because sometimes it can be useful. This is a case where the community here can scrutinize the output and actually pull out useful data or steps or even starting points when information is coming in so fast for a developing story/issue
bombcar 5 hours ago [-]
The (pretty obviously Claude'd) responses with actual steps you could take to mitigate were 1000% more useful to me than the "SHUT EVERYTHING DOWN WE'RE GONNA DIE" and the "stop posting AI slop" posts were, that's for sure.
dwedge 5 hours ago [-]
It was your response. Of course you prefer your response.

The fact is you had no idea how useful or dangerous your advice was. PHP maintainers said to shut it down, how many people followed your advice instead? Did it work or just leave them vulnerable? Do you know?

Because you're heavily implying that the people who knew about the details of the vulnerability were panicking and thank god we had you with an LLM

bombcar 5 hours ago [-]
It's just Claude output of what I've done; the other URL has the basics.
DonHopkins 5 hours ago [-]
Why don't you do something useful and rewrite it so it's not claude output any more, but says the same thing in a way that you're satisfied with?

Then your own comment would not be such low effort and useless human slop.

Do you agree or disagree with the comment's claims? Did YOU verify anything? Let's all hear you fact check and proofread and reword what it said so it matches your standards, instead of just listening to you bitch and complain without offering any useful information.

Or do you not actually know anything about PHP administration, programming, and security, so you're only capable of information-free drive-by anti-ai posts, without any other useful content or corrections?

Ball's in your court.

bombcar 6 hours ago [-]
[flagged]
magar_fos 6 hours ago [-]
C'mon Ondřej..
lousken 5 hours ago [-]
it's out?
dizhn 3 hours ago [-]
yup
rvz 5 hours ago [-]
PHP is done.
rkozik1989 5 hours ago [-]
People have been saying this for the past 16 years, but the reality is once a system is in production over time it becomes increasingly risky to replace it. Because over the life of a piece of software you make tons of small fixes, resolve bugs, adding customer-specific functionality, etc. that you'd completely overlook when planning our requirements for a rewrite. Which is a big problem when other systems are dependent on the software operating a specific way i.e. APIs, web services, and so forth. Not to mention the economics of a rewrite also has to make sense. Nobody is going to spend 2-3 years recreating what they already had and get no additional functionality out of it. Certain software basically has to get so bad that literally anything replacing it is better than what came before for replacing it to be the right approach.
hn_submit 4 hours ago [-]
People shouldn't be using PHP. I was shocked some security focused websites are even using it. I just hope there's nothing of value on their servers and that it's not connected to their internal network in any way. In my experience this is almost always the case because it makes maintenance and development easier but effectively exposes your entire organization to the internet.

That 70% of the internet still uses it is shocking to me. These organizations deserve to get burned badly. Let this incident be a warning to all of them!

preg_match 2 hours ago [-]
PHP is not a particularly insecure language. It’s certainly more secure than something like C or C++. Certain PHP applications are known to have vulnerabilities often, like WordPress.

PHP is a memory-safe language. This vulnerability is a memory safety bug in the VM, which does happen from time to time. It happens with V8 (JS), Java, C#.

antiloper 5 hours ago [-]
Just how debian was done after weak keys, OpenSSL was done after heartbleed, or Windows was done after (rolls dice) the print spooler RCE
AznHisoka 5 hours ago [-]
And how Crowdstrike was done after their fiasco 2 years ago...
chimeracoder 3 hours ago [-]
And Lenovo was done after Superfish
dizhn 3 hours ago [-]
Sony after installing a rootkit. (Although they really are dead to me now after paying two noise cancelling headphones of theirs)
SoftTalker 4 hours ago [-]
Not at all. People will patch and carry on.
myko 5 hours ago [-]
always was
mrits 5 hours ago [-]
always will be
gslepak 5 hours ago [-]
If you're tired of having to upgrade Wordpress, point your agent at this tutorial:

https://blog.okturtles.org/2024/10/convert-wordpress-to-stat...

donohoe 5 hours ago [-]
…or just enable automatic updates.
toast0 5 hours ago [-]
last I looked, automatic updates for wordpress meant letting the web server write to the document root, which may be on the same level of negligence as not updating quickly.

Plus, wordpress updating isn't going to help you upgrade php.

bombcar 5 hours ago [-]
The problem with that is your site might get replaced by a rant by the CEO ...
bitbasher 5 hours ago [-]
So-- if PHP's sourcecode was unavailable (closed source), would this ever have been found? Probably not. Maybe it is safer to be closed source.
kstrauser 4 hours ago [-]
Know how recompilers are porting video games from one platform to another these days? That exact trick works just as well for finding vulnerabilities. Broadly.

1. Hey LLM, turn this binary into source code.

2. Hey LLM, see any glaring security issues with this source code?

bitbasher 4 hours ago [-]
You can only do that if you have access to the binary. Which, in a web service, you shouldn't be able to access!
kstrauser 4 hours ago [-]
But all the people deploying that binary to their webservers would have access to do that.
0x457 3 hours ago [-]
So how is PHP being distributed in your funny world? Because I can tell you, even if you put it behind “register with your work email,” whoever seeks the binary will find it.
anonymous908213 2 hours ago [-]
> Know how recompilers are porting video games from one platform to another these days?

They actually aren't. Most of the claimed cases of "recompilation" are just an emulator packaged into the same binary as the game so you can't tell it's an emulator, or are for projects that already had their source code available (in which case "porting" to WASM is trivial because all of the hard work is done by the people who write your-language-to-WASM compilers, and you just need to do a little bit of work to adjust your toolchain to use it). Everyone just takes slopshit at face value and shares clickbait without actually checking any of the work done. It's infuriating how empowering this software is for liars, honestly.

small_model 5 hours ago [-]
Does anyone use PHP anymore? I assumed it was abandonware
CookieCrisp 5 hours ago [-]
No, the entire world abandoned it when you realized it wasn't the perfect language. The rest of us are just role playing today basically. It's a bit of a lark, kind of like civil war reenactment.
hurfdurf 5 hours ago [-]
"Four diffs and seven lines ago..."
jorisw 5 hours ago [-]
Are you fucking serious?

Ever heard of WordPress?

AdamGibbins 5 hours ago [-]
or Wikipedia.
small_model 5 hours ago [-]
Is WordPress still a thing? Why hasn't it been rewritten in Rust by Claude?
openclawuser 5 hours ago [-]
I see the downvotes and I don't really disagree with you.

This hurts because my resume has laravel and WordPress on it. I built sooo many sites/apps on it.

With AI agents, I just can't imagine using PHP anymore unless I'm patching legacy stuff.

I loved laravel too... WordPress, love hate.

amelius 2 hours ago [-]
Can't we fingerprint the code in github and elsewhere and tell AI labs to not do security reviews on the code unless (A) someone is a legitimate security researcher or (B) someone is the owner of the code.

Yeah it sucks, but the alternative could be worse.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:37:00 GMT+0000 (Coordinated Universal Time) with Vercel.