PHP 7.4 Security Updates for Debian 11
Everpatch PHP keeps PHP 7.4, the stock PHP of Debian 11, security-patched after Debian LTS, with fixes Debian only ships through paid Extended LTS.
Signed amd64 DEB packages, drop-in compatible with Debian's and Surý's builds. Package names stay the same; apt upgrade replaces them in place.
PHP2Shell fixed from 7.4.33-31+gps1. How to apply it · Check your server · Scan it with CVEfox
phpAfterShell fixed from 7.4.33-31+gps1+deb11+stable.8. Check your server
The gap
Debian 11 left LTS in August 2026. Its stock PHP 7.4 security fixes since then ship only through paid Extended LTS, and Surý's repository no longer builds for Debian 11.
PHP 7.4 itself has been end of life upstream since November 2022. Everpatch PHP 7.4 for Debian 11 carries the security fixes released since then, built and tested on Debian 11, signed, and served from extras.getpagespeed.com.
Install
Upgrade the installed PHP 7.4 in place
wget https://extras.getpagespeed.com/release-latest.deb sudo apt install ./release-latest.deb sudo apt update sudo apt upgrade 'php7.4-*' sudo systemctl restart php7.4-fpm
Package names stay the same (php7.4-*), so the upgrade replaces the installed stock or Surý PPA packages in place and keeps your configuration in /etc/php/7.4/. On a fresh host, swap upgrade for install php7.4-fpm plus the extensions you need.
Running Apache mod_php? Upgrade libapache2-mod-php7.4 as well and restart apache2 instead of PHP-FPM. Afterwards php -v prints Built by GetPageSpeed LLC.
Packages are amd64 and are tested on the target release itself: fresh installs, in-place upgrades from the original packages, and real requests through both PHP-FPM and mod_php.
Free for personal use. Running it for a business?
Patching EOL PHP is ongoing work: every new PHP CVE has to be ported to branches upstream abandoned years ago, then built and tested on Debian 11. Commercial production use requires GetPageSpeed Ultra or GetPageSpeed Fleet: either one funds that work and keeps your production servers covered for the next one, together with the full GetPageSpeed repository. When a new fix is ready for the PHP your servers run, we email you the exact command. Ultra covers up to 10 servers running your own services; Fleet is the plan for servers that host client websites, or for more than 10 servers. 250+ employees or $10M+ revenue, or need a contractual SLA? That is Enterprise.
Ultra, $500/year Fleet, from $800/year Contact us about Enterprise
Security fixes in this package
The last free PHP 7.4 build for Debian 11 was
7.4.33-31. Everpatch ships
1:7.4.33-31+gps1, and its changelog names
12 CVE fixes since then.
| Fixed advisory | Issue | Severity | CVSS |
|---|---|---|---|
| CVE-2026-129496 | Timezone cache use-after-free can lead to remote code execution | critical | 9.2 |
| CVE-2026-129474 | Use-after-free in magic method backtraces can lead to remote code execution | critical | 9.2 |
| CVE-2026-129289 | PHP-FPM request smuggling through an unread HTTP request body | critical | 9.2 |
| CVE-2026-126714 | phpAfterShell Partially overwritten session files can lead to remote code execution | critical | 9.2 |
| CVE-2026-129291 | PHP-FPM epoll use-after-free can lead to local privilege escalation | high | 8.8 |
| CVE-2026-127960 | Denial of service through folded HTTP response headers | high | 8.7 |
| CVE-2026-128064 | Mixed-case HTTPS and FTPS URLs can expose data in plaintext | high | 8.2 |
| CVE-2026-128090 | PHAR OpenSSL signature bypass via algorithm downgrade | high | 7.7 |
| CVE-2026-129538 | PHP-CGI out-of-bounds read and write during PATH_INFO correction | medium | 6.9 |
| CVE-2026-15353 | SOAP information disclosure through malformed array dimensions | medium | 6.3 |
| CVE-2026-129506 | SOAP use-after-free when processing DTD entity references | medium | 6.3 |
| CVE-2026-129292 | PHP-FPM status endpoint XSS via unescaped user and script fields | medium | 5.3 |
Packages are drop-in compatible with Surý's PPA builds and are signed and served from
extras.getpagespeed.com. The full story, with version checks for every supported release, is in
Everpatch PHP for Ubuntu and Debian.
Frequently asked questions
Is PHP 7.4 on Debian 11 patched for PHP2Shell?
Yes. Everpatch PHP 7.4 carries the backported PHP2Shell fix from 7.4.33-31+gps1 onward. The PHP version number does not change, so check the package release rather than php -v, or paste your package list into the PHP2Shell checker. The full walkthrough is in our PHP2Shell guide.
Is PHP 7.4 still safe to run on Debian 11?
With this package, the publicly known PHP CVEs listed below are fixed. Upstream still calls PHP 7.4 end of life, and so do we: plan your upgrade on your own schedule. Everpatch exists so a CVE disclosure does not set that schedule for you.
Will this replace my existing PHP packages?
Yes, in place. The packages keep the php7.4-* names used by Debian 11 and Surý's repository, with higher version numbers, so apt upgrade swaps them and keeps your configuration. Check the result with dpkg -l php7.4-cli.
Does this cover the rest of Debian 11?
No. Everpatch covers the PHP layer only: the php7.4-* packages. The rest of Debian 11 stays with your distribution, so plan the OS upgrade separately. Everpatch keeps PHP from being the reason it has to happen this week.
Do I need a subscription?
Not for personal, development or evaluation use: the PHP packages install from the public GetPageSpeed repository with no signup. Commercial production use requires a subscription under the repository terms: GetPageSpeed Ultra ($500/year) for up to 10 servers running your own services, or GetPageSpeed Fleet (from $800/year) for servers that host client websites or fleets larger than 10. Either one funds these backports and keeps your servers covered for the next EOL PHP CVE. Organizations with 250+ employees or $10M+ revenue, or anyone needing a contractual SLA, should contact us about Enterprise. To license servers without registering IP addresses, place your license file at /etc/getpagespeed/license.jwt.