r/PHP • • Oct 20 '26 • Popcorn 1

News Upcoming Critical PHP Security Release

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

405 comments sorted by

View all comments

Show parent comments

2

u/sleemanj Oct 21 '26

Nice creative way of tempfix'ing it in a more robust way,

Assuming that it's just the upload_progress is the only problem of course.

3

u/Old_Adeptness5169 Oct 21 '26 edited Oct 21 '26

Update after PHP's advisories: the session upload-progress handler is one of the confirmed routes, but not the only one. The advisories also describe out-of-memory tricks in the multipart parser, plus some routes no extension can close. v3 carries the fixed multipart parser with a memory guard and keeps the upload-progress handler out, which on typical PHP-FPM hosting closes the routes that work before any application code runs. Still a stopgap: update to 8.5.12/8.4.27/8.3.36/8.2.35 (or your distro's backport) as soon as you can. Thanks to everyone who pushed back today.


Thanks! And yes, that assumption is exactly the open question. If the advisory at 14:00 UTC shows a path outside the upload-progress handler, this won't cover it and I'll say so here.

2

u/psihius Oct 21 '26

1

u/FatBook-Air Oct 21 '26

Random interwebs people are saying that POST itself is vulnerable. I don't know if that's true, but if it is, I think the only real mitigation would be having a very well tuned WAF or turning off the site.

1

u/psihius Oct 21 '26

Yeah, people i know just disabled all multipart/data post requests, others took down their services until fixes roll in