Security advisory, 21 October 2026
PHP 8.5.12, 8.4.27 and 8.3.36 fix two critical vulnerabilities that allow unauthenticated remote code execution (CVE-2026-109618, CVE-2026-109619). Update all PHP servers and restart php-fpm. php.net advisory
Available versions
One repository per Rocky Linux release. Each PHP branch is a module stream of php: a server only receives updates for the stream it has enabled, never an unplanned upgrade to another branch.
| Branch | Module stream | Rocky Linux 8 | Rocky Linux 9 | Rocky Linux 10 | Security support until |
|---|---|---|---|---|---|
| PHP 8.3 | php:swissmakers-8.3 | 8.3.36-1 | 8.3.36-1 | 8.3.36-1 | 31 Dec 2027 |
| PHP 8.4 | php:swissmakers-8.4 | 8.4.27-2 | 8.4.27-2 | 8.4.27-2 | 31 Dec 2028 |
| PHP 8.5 | php:swissmakers-8.5 | 8.5.12-1 | 8.5.12-1 | 8.5.12-1 | 31 Dec 2029 |
Installation
Run as root. The commands are identical on Rocky Linux 8, 9 and 10.
-
Add the repository and trust the signing key
curl -fsSL -o /etc/yum.repos.d/swissmakers.repo https://rpm.swissmakers.ch/repos/swissmakers.repo rpm --import https://rpm.swissmakers.ch/repos/RPM-GPG-KEY-swissmakers
-
Enable the PHP stream
dnf module reset php -y dnf module enable php:swissmakers-8.4 -y -
Install PHP
dnf install php-fpm php-cli php-opcache php-mysqlnd php-xml php-mbstring php-intl php-gd systemctl enable --now php-fpm
Existing installations
After step 2, run dnf distro-sync 'php*' and restart php-fpm. This replaces packages from AppStream or other repositories.
Changing the branch
Repeat step 2 with the new stream, then dnf distro-sync 'php*'. Test the application first: minor PHP releases contain incompatible changes.
Web server
PHP runs as PHP-FPM. Apache uses proxy_fcgi via /etc/httpd/conf.d/php.conf, nginx configuration is in /etc/nginx/. mod_php is not provided.
Verification
Every release passes the same chain of checks before it is published.
- Source
- The release tarball must match the SHA-256 checksum published by php.net and carry a valid OpenPGP signature of the PHP release manager.
- Build
- Clean Rocky Linux container per OS release, based on the Fedora packaging. The upstream test suite runs on every build.
- Dependencies
- Every package must install with BaseOS and AppStream alone. No EPEL or other third-party repositories are required.
- Signature
- Packages and repository metadata are signed with an RSA 4096 key. The repository file enables
gpgcheckandrepo_gpgcheck. - Release test
- A fresh Rocky Linux container installs each stream from this repository and runs
phpandphp-fpm. - Key fingerprint
4478 A842 F7D6 A2C6 F64A 4540 38FD B5C7 242F 3A8C
RPM-GPG-KEY-swissmakers