r/webdev • • Oct 22 '26

Question PHP Apocalypse question on version numbers.

This is what my host's chat bot 'explained' to me - anyone here can confirm?

Your websites run on the separate web-facing PHP packages (EasyApache and CloudLinux Alt-PHP), where our infrastructure team applied direct server-level security hotfixes to protect all versions while upstream package builds complete.

Web-facing PHP packages have not had an upstream version number increment yet, but the underlying vulnerabilities outlined in CVE-2026-109618 and CVE-2026-109619 are actively patched and protected at the server level across all versions.

21 Upvotes

34 comments sorted by

View all comments

Show parent comment

2

u/fiskfisk Oct 23 '26

Yes, but Ubuntu backporting security fixes to PHP 8.3.6 does not suddenly make it PHP 8.3.7, which is a completely different release from PHP.

It's still PHP 8.3.6, just with backported fixes on top. Misrepresenting version numbers would be even more confusing.

Instead they're identified as "8.3.6-0ubuntu0.24.04.13" in the most recent package version.

I'm unsure where we're getting confused here; Ubuntu is effectively running their own branches of 8.5.4, 8.3.6, and other versions used in the LTS distros, backporting security fixes as needed. They can't bump the PHP version number, since the actual version of PHP they're distributing is the same as when the LTS was released.

0

u/Blue_Moon_Lake Oct 23 '26 edited Oct 23 '26

It break semver as 8.3.6 has priority over 8.3.6-0ubuntu0.24.04.13.

And it is a version 8.3.7 (pre-release) since it's literally fixes added to 8.3.6

1

u/fiskfisk Oct 23 '26

But it's not 8.3.7.

In either case, Ubuntu does not follow strict semver for their released packages. And you can't have PHP report that it's 8.3.7 when it is in fact 8.3.6 with security patches on top, and in this case, "8.3.7" would still be vulnerable if you just look at the version numbers.

So a) it wouldn't solve anything b) package names for Ubuntu packages isn't semver to begin with.

1

u/Blue_Moon_Lake Oct 23 '26

Yes, that's how semver work.
It's "8.3.7 pre-release" so it's "not yet 8.3.7" indeed.

And PHP/Ubuntu not using semver is the original sin.

1

u/fiskfisk Oct 23 '26

PHP does use semver.

But seeing "8.3.7" as the version inside PHP means you actually don't know which version you're running, and your 8.3.7 is not the he same version as PHP's 8.3.7. It's just 8.3.6 with an additional patch applied.

I'm still not sure how what you're suggesting would help in this case. How can you know that the "8.3.7" you're seeing if you look at PHP's version has the backported fix from 8.3.36? And since it's not actually 8.3.7, any bugfixes or changes, etc. that made it into 8.3.7 isn't present, but your installation says you're on 8.3.7.

This just gets more confusing for anyone administrating a server.

1

u/Blue_Moon_Lake Oct 23 '26

Well, semver only have pre-release tags, not "post-release unofficial fixes" tags.

The internally reported version can still be 8.3.6 since it's still not the 8.3.7 release.