Skip to main content

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

Ultra, $500/year Fleet, from $800/year

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 in Everpatch PHP 7.4 for Debian 11: 12 issues (4 critical, 4 high, 4 medium)
Fixed advisoryIssueSeverityCVSS
CVE-2026-129496Timezone cache use-after-free can lead to remote code executioncritical9.2
CVE-2026-129474Use-after-free in magic method backtraces can lead to remote code executioncritical9.2
CVE-2026-129289PHP-FPM request smuggling through an unread HTTP request bodycritical9.2
CVE-2026-126714phpAfterShell Partially overwritten session files can lead to remote code executioncritical9.2
CVE-2026-129291PHP-FPM epoll use-after-free can lead to local privilege escalationhigh8.8
CVE-2026-127960Denial of service through folded HTTP response headershigh8.7
CVE-2026-128064Mixed-case HTTPS and FTPS URLs can expose data in plaintexthigh8.2
CVE-2026-128090PHAR OpenSSL signature bypass via algorithm downgradehigh7.7
CVE-2026-129538PHP-CGI out-of-bounds read and write during PATH_INFO correctionmedium6.9
CVE-2026-15353SOAP information disclosure through malformed array dimensionsmedium6.3
CVE-2026-129506SOAP use-after-free when processing DTD entity referencesmedium6.3
CVE-2026-129292PHP-FPM status endpoint XSS via unescaped user and script fieldsmedium5.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.