logoalt Hacker News

PHP 8.2.35

879 points • by tuyuri • today at 1:45 PM • 493 comments • view on HN

Related ongoing thread: Today's PHP security release, and how we're strengthening security - https://news.ycombinator.com/item?id=50182987


Comments

joecool1029 • today at 2:03 PM

Gentoo has it updated.

nairboon • today at 3:02 PM

Why is the official source (php.net) marked as [dupe] https://news.ycombinator.com/item?id=50180943

and not the github mirror?

butler14 • today at 3:51 PM

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?

➕ show 3 replies
charcircuit • today at 1:51 PM

https://github.com/php/php-src/commit/01a40e89fbfc499936e3b0...

What everyone is looking for.

➕ show 3 replies
dmtroyer • today at 2:00 PM

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

➕ show 1 reply
consocio • today at 4:40 PM

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 • today at 4:53 PM

Any signs of exploits out yet?

ljm • today at 3:29 PM

So this only affects 8.2 are other patches coming?

➕ show 1 reply
consocio • today at 4:38 PM

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 • today at 2:13 PM

Apparently about 40% of PHP apps are still on PHP 7 and 5...

➕ show 2 replies
nairboon • today at 2:00 PM

A bit too early for the announced coordinated release, no?

➕ show 2 replies
sourcecodeplz • today at 4:47 PM

PHP 8.3.36 (cli) (built: Oct 21 2026 08:18:34) (NTS)

made it in time hopefully

DonHopkins • today at 2:10 PM

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

➕ show 1 reply
alrenai • today at 2:42 PM

Anyone know if Microsoft updates azure web-app built-in php runtimes fairly quickly in this sort of scenario?

shevy-java • today at 6:47 PM

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.

torbengee • today at 2:43 PM

Looks like the upgrade instructions for PHP 8.3 for Fedora 39 and earlier are not working ... yikes.

dataflow • today at 2:02 PM

Is PHP 7 essentially going to be dead and unusable for everyone then? Or will it get fixes?

➕ show 4 replies
mahboi • today at 3:30 PM

Seems like 4chan is down for maintenance as a result.

techteach00 • today at 4:04 PM

Is this why Wikipedia isn't working?

➕ show 1 reply
cowlevel • today at 1:57 PM

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?

➕ show 1 reply
f311a • today at 2:18 PM

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.

➕ show 1 reply
julian9499 • today at 2:45 PM

Anyone know when amazon linux 2023 is releasing updates?

lexoj • today at 3:17 PM

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 • today at 3:10 PM

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 • today at 2:59 PM

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 • today at 5:15 PM

> 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 • today at 2:05 PM

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.

➕ show 3 replies
2OEH8eoCRo0 • today at 4:38 PM

Do any home router login pages use PHP?

➕ show 1 reply
joenada • today at 4:15 PM

Log4J4PHP

iLoveOncall • today at 4:08 PM

Sucks to be you if you're not on PHP 8 :|

➕ show 1 reply
teekert • today at 2:28 PM

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 • today at 3:30 PM

Why they can't publish an expoit so people can run it against their own servers to check the impact?

➕ show 1 reply
lousken • today at 2:48 PM

where is patch for alpine?

jdw64 • today at 2:34 PM

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.

baggy_trough • today at 1:59 PM

They bundled the fixes with a regular bugfix release, looks like.

➕ show 1 reply
sourcecodeplz • today at 2:45 PM

apt update

apt upgrade

Capricorn2481 • today at 4:17 PM

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?

➕ show 3 replies
calvinmorrison • today at 2:09 PM

debian package WHEN

➕ show 1 reply
g147 • today at 5:38 PM

[dead]

Maxious • today at 1:48 PM

[dead]

georgestones • today at 4:42 PM

[dead]

holnp • today at 3:50 PM

[dead]

hizlikovboy27 • today at 1:56 PM

[dead]

🔗 View 11 more comments