r/linuxquestions • • 11h ago

Support Linux Repos For PHP Vulnerabilities

Well, another fun day for us dealing with PHP vulnerabilities eh?

Anyways, I'm looking for some reliable, albeit temporary fixes to today's CVE-2026-126714 issue. Scripts exist to help mitigate, but I've been looking for more permanent solutions in the form of patches and backports.

8.2 and up on current Linux OS looks straight forward, remi repos.

However, I've found that the repos that are published by clouding.io have backport fixes going back to PHP 5.6, as well as coverage for most Linux operating systems of the past 10 years.

Has anyone used these repositories before, and do you consider them trustworthy?

(Obviously the best answer is upgrade PHP, get it to the latest version here. These are cases where that's not possible right now)

NOTE: As others have said, not new today but as of a few days ago. We'll call this the most recent critical CVE.

1 Upvotes

11 comments sorted by

3

u/C0rn3j 11h ago

Well, another fun day for us dealing with PHP vulnerabilities eh?

Eh? There doesn't seem to be anything new today/yesterday?

I've been looking for more permanent solutions in the form of patches and backports

Use Debian/Ubuntu and use https://sury.org/ repos for PHP.

If you use EOL Debian/Ubuntu (why ffs), use his paid offering https://www.freexian.com/lts/php/

Both go back to 5.6, the free one just only deals with non-EOL OSs.

1

u/sav2880 11h ago

The majority of what I am looking for us is CentOS 7 as opposed to Debian/Ubuntu systems. Thus, starting with the Remi repos, but these are on EOL systems.

(Again, not happy about that, but this is where are are.)

The clouding.io ones do cover those backports across the board. Old OS, old PHP versions. Just want opinions from others on trustworthiness.

3

u/C0rn3j 10h ago

What's stopping you from running your PHP app on a supported OS?

1

u/cereal7802 8h ago

willingness to start fresh most likely.

2

u/jaymef 11h ago

CVE-2026-126714 was fixed a week ago. Just need to update PHP package

1

u/sav2880 11h ago

You are right there. It's on us that we're looking to do the mitigations now, of course.

2

u/m15f1t 10h ago

Boy are you late to the party!

1

u/rarsamx 11h ago

Have you checked the real likelihood in your scenario and analyzed your current practices so future vulnerabilities don't become critical for you?

Explicitly disable (session.upload_progress.enabled = 0)

Have your server behind a WAF

1

u/cjcox4 10h ago edited 10h ago

I know that if you want a RHEL-like, that Almalinux publishes what they'll support along with commands to enter to "switch" to a supported version. For example, if you're way back on 8, you could update to backports made into supported PHP 7.4, but you'll still have to do the commands to update to that level. For example, see: https://almalinux.org/blog/2026-10-21-php2shell-cve-2026-109618-cve-2026-109619/#retired-streams What I like about Almalinux is their speed, their usage of "test repos" for those what need things quicker, and their backporting and support of things deprecated by RHEL. Very nice.

Edit: I see you're interested on very very very very very very very ancient RHEL 7 style support. IMHO, the number of security vulns there is "too much" to make it something "to fix". Even 8, is really on the edge. But 7? No. It's time to upgrade. Just for non-RHEL folks, we're talking kernel 3.10 era when it comes to 7.

1

u/cereal7802 3h ago

Edit: I see you're interested on very very very very very very very ancient RHEL 7 style support. IMHO, the number of security vulns there is "too much" to make it something "to fix". Even 8, is really on the edge. But 7? No. It's time to upgrade. Just for non-RHEL folks, we're talking kernel 3.10 era when it comes to 7.

Yep. the fix is not 3rd party repos. it is getting off the no longer supported OS. I don't know that I have ever fixed an issue on a RHEL based distro by adding repos. merely traded the issues for different ones.

1

u/cjcox4 2h ago

Don't get me wrong, I have some "old cruft" (7) that was customized using those very unofficial "remi" repos to try to get "newer" php. It was a mistake from the start. Anyway, at least in my world, they are considered "headaches" and are destined for the bin, hopefully soon.