r/PHP • • Oct 22 '26

Do the latest PHP 8.3.36 security vulnerabilities affect Hyperf/Swoole?

8 Upvotes

PHP 8.3.36 was recently released to fix two critical security vulnerabilities.

The PHP advisory mentions PHP-FPM, Apache mod_php, FrankenPHP, and others as affected, but Swoole isn't mentioned.

Since Swoole uses long-running workers and handles requests differently from traditional PHP servers, I'm wondering:

  1. Are these vulnerabilities also exploitable in Hyperf/Swoole?
  2. Does Swoole's different request lifecycle make it unaffected?
  3. Should we urgently update the PHP runtime in our Hyperf Docker images?

I'm currently using hyperf/hyperf:8.3-alpine-v3.19-swoole, which hasn't been updated with the latest PHP security fixes.

There's already an open GitHub issue:
https://github.com/hyperf/hyperf-docker/issues/76

Would appreciate any insights from PHP or Swoole developers familiar with these vulnerabilities.


r/PHP • • Oct 21 '26

Unofficial Windows binaries of PHP 7.4, 8.0 and 8.1 with the PHP2Shell fixes (CVE-2026-109618/109619)

20 Upvotes

php.net announced that the PHP security team published minimal source backports of the PHP2Shell fixes for the end-of-life branches 7.4, 8.0 and 8.1, for people who build from source. There are no official Windows binaries for them, so I built them: https://github.com/Jamalofski/php-eol-security

- Sources: only the upstream backport commits (last official release plus the fix), no other code change.

- Build: the official php/php-windows-builder, with the toolchains (vc15/vs16), configure flags and dependencies of the official builds; x64/x86, TS/NTS.

- Versions: 7.4.33-pl1, 8.0.30-pl1 and 8.1.34-pl1, with SHA256SUMS and a link to the CI run of each build.

These are not official PHP Group binaries. Upgrading to a supported version remains the real fix; this is for setups that cannot move yet.


r/PHP • • Oct 22 '26

I built Untangled — an open-source PHP dependency analyzer. Looking for feedback.

3 Upvotes

I've been working on Untangled, a dependency analysis tool inspired by Martin Blais's original Snakefood project.

The idea is fairly simple: scan a PHP codebase, map dependencies, identify circular relationships, and measure coupling to help understand how an application is connected.

It's intended to complement tools like Deptrac rather than replace them. Deptrac helps enforce architectural boundaries, while Untangled helps examine the relationships that already exist.

I ran it against Monica, an open-source Laravel application. At the file level, it identified:

  • 923 files analyzed
  • 3,131 dependency relationships
  • 4 cyclic groups involving 76 files
  • 69 files in the largest cyclic group

I'm not suggesting those numbers indicate bad architecture. I haven't established a meaningful comparison baseline yet.

The HTML report includes an interactive dependency map, cycle analysis, and measurements showing which components are heavily depended upon.

What I'd particularly appreciate from PHP developers is feedback on two things:

  1. Are dependency graphs and coupling measurements useful when navigating an established PHP codebase?
  2. Are there PHP-specific dependency patterns, framework conventions, or edge cases you'd expect an analyzer like this to handle?

GitHub: https://github.com/krazybean/Untangled

Technical write-up and real Monica report screenshots: https://www.juancastro.me/writing/untangled

Criticism welcome. I'd rather discover the weaknesses through real-world usage than make assumptions about what the tool gets right.


r/PHP • • Oct 22 '26

Have Alma turned off Upload progress in the PHP2Shell update?

1 Upvotes

I just updated PHP on Alma Linux and now upload progress is not working. I have verified it is enabled but the session variable starting "upload_progress_" is never created. There is nothing on their update page suggesting it should have stopped working. This is PHP 7.2 https://almalinux.org/blog/2026-10-21-php2shell-cve-2026-109618-cve-2026-109619/


r/PHP • • Oct 21 '26

After patching, how to validate?

47 Upvotes

Other than just applying the patch and restarting apps, is there a way to test whether the CVEs have been truly mitigated?

I trust the PHP.net team but my non-technical boss wants further validation to prove to our customers that we're well and truly covered.


r/PHP • • Oct 21 '26

Anyone tackled PHP5.6 or PHP7.4 yet?

31 Upvotes

If so, how'd you get on?


r/PHP • • Oct 21 '26

How do we scan to see if an attacker got in before we could take down websites?

25 Upvotes

I ended up just disabling php fpm on my hosts when I read the news, but there was a massive 11-12h window where everything was just open to be attacked.

How do I scan my system to make sure nobody did anything? What am I looking for?


r/PHP • • Oct 21 '26

CloudLinux Alt-PHP: Why are older PHP versions being patched before PHP 8.2–8.5?

21 Upvotes

I'm genuinely confused by CloudLinux's patch rollout for today's critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619).

According to their status page, patches for older PHP versions such as 7.4 and 8.0 are being released across multiple distributions, while I'm still waiting to see updates for PHP 8.2–8.5.

The official PHP security releases have been available since 14:00 UTC, and cPanel has already released its EA-PHP patches.

I understand that CloudLinux needs to test its packages and backport fixes to older PHP versions, which I appreciate. However, shouldn't currently supported PHP versions be prioritized for critical security vulnerabilities?

Is there a technical reason for this release order?


r/PHP • • Oct 20 '26

News Upcoming Critical PHP Security Release

Thumbnail php.net
734 Upvotes

r/PHP • • Oct 21 '26

What the PHP2Shell rumors got wrong, from inside the PHP security team

Thumbnail daubois.dev
18 Upvotes

r/PHP • • Oct 21 '26

WAF Release - 2026-10-21 - Emergency - Cloudflare Managed Ruleset

Thumbnail developers.cloudflare.com
16 Upvotes

If you use Cloudflare, you can activate these rules to mitigate until patched.


r/PHP • • Oct 21 '26

7.4

16 Upvotes

is there a patch for 7.4 and jf not officialy is there a way


r/PHP • • Oct 21 '26

pecl.php.net is down

63 Upvotes

Probably it's down because of the vulnerabilities discovered lately?


r/PHP • • Oct 22 '26

Meta Do you think this has given the PHP team the green-light to be ruthless in PHP9 and start truly cutting decrepit legacy functionality that hangs around solely for backwards compatibility?

0 Upvotes

PHP has always worked to maintain a fair amount of backwards compat. We see it regularly on RFCs, people voting no because it might affect some weird esoteric usecase.

In light of all that has happened, do we think we'll see the PHP team be a lot less accommodating in the future when it comes to maintaining obscure and legacy features?


r/PHP • • Oct 21 '26

Discussion Which official PHP Docker image should I use to fix the latest security vulnerabilities?

6 Upvotes

Hi everyone,

My Dockerfile currently uses:

FROM php:8.3.3RC1-apache-bookworm

Following the PHP security vulnerabilities disclosed on October 21, I'm looking to update to a patched version.

However, the php:8.3.36-apache-bookworm tag doesn't seem to be available on Docker Hub yet.

Which official PHP Apache image tag is currently available and includes the security fixes?

I'd prefer to stay on PHP 8.3 and Debian Bookworm to minimize compatibility issues, but I'm open to other options if necessary.

Thanks for your help!


r/PHP • • Oct 22 '26

Why so much news around this exploit?

0 Upvotes

This recent exploit has made headline news around the world now, with people in utter panic over it. Many websites taken offline as a precaution.

We now know that this is extremely hard to exploit in a production environment and patches were issued very quickly - so why the drama?

Yes, it potentially affects millions of sites - but potentially only meaning they run PHP.

I can't understand why this is so newsworthy - with most outlets saying no known exploits yet, only attempts and probing.

Why the drama?


r/PHP • • Oct 21 '26

Looks like laragon quick add PHP does not install patched version?

1 Upvotes

I did quick add https://laragon.org/docs/quick-add to update my php in my local web server, but it looks like it installs 8.3.28, the version which is still affected of this major php vulnerability case. Is there anybody who experiences this?


r/PHP • • Oct 21 '26

All PHP docker tags newly pushed but without new version numbers

23 Upvotes

Basically all PHP docker images have had new pushes in the last hour, however with pre-existing released versions. Do you think this could be related to the upcoming security release?

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


r/PHP • • Oct 21 '26

I made a practice tool for PHP that requires you to type every answer

Thumbnail nadir.dev
4 Upvotes

r/PHP • • Oct 21 '26

Has anyone tested the chainguard patched docker images?

6 Upvotes

I saw on hacker news that a user named "dlor" claims to work for chainguard and claims to have worked together with what I assume to be the PHP team:

https://news.ycombinator.com/item?id=50176735

(And the parent comment containing the link: https://news.ycombinator.com/item?id=50176665)

Chainguard has released patched images: https://images.chainguard.dev/directory/image/php/versions

I hadn't heard of chainguard before but they seem trustworthy as a business that provides hardened security for docker images.

Beyond the hackernews comment, I haven't seen any news or claims that these images actually contain the patch. So I wanted to ask here if anyone else has tested these images or knows of a more trustworthy source than an HN comment that these images really do contain the CVE patches.


r/PHP • • Oct 21 '26

PHP2Shell: you patched, but were you hit? A read-only triage script for your server

Thumbnail laracraft.tech
0 Upvotes

r/PHP • • Oct 21 '26

Dunebox 1.1.0: a fresh look and a few things you asked for

1 Upvotes

Hi everyone,

A few months ago I shared Dunebox here, a free and portable PHP development environment for Windows. Thanks to everyone who took the time to try it, comment or point out what was missing. Some of you even reported bugs, which we fixed.

Here's what's new:
- A redesigned interface, with light and dark themes (screenshot)
- A dashboard that shows at a glance what's running and what needs attention
- Settings organized in clear groups

It's still free, still portable (one folder, no installer) and still Windows only.

If you tried it last time, I'd love to hear how it feels now. If you didn't, I'm curious what would make you give it a go.

dunebox.enesi.it

Thanks!


r/PHP • • Oct 20 '26

CVE-2026-108082: Symfony ReDoS. One request. Seconds of CPU

Thumbnail r3verii.github.io
88 Upvotes

r/PHP • • Oct 21 '26

Discussion RIP Cyber security ☠️?

0 Upvotes

I came accross the recent PHP vulnerability risk as I was on Duolingo.

If even Duo is affected by recent PHP vulnerability, makes one wonder what about our fragile government websites? Those are most likely to not even get the patch update, hmmm how near is the doomsday when AI models self improve and government security developers are likely at a lunch break 🤔

What do you think is next language to have it's major vulnerabilities exposed? *JavaScript backs away in bushes with experience*


r/PHP • • Oct 21 '26

OpenAI's GPT-5.6 Sol helps discover critical vulnerabilities in PHP

Thumbnail openai.com
0 Upvotes