Critical PHP update (21 Oct 2026) First fixed upstream releases: 8.6.0, 8.5.13, 8.4.28, 8.3.37, 8.2.36. What to do now New (23 Oct): CVE-2026-115560

Guide · Debian and Ubuntu administrators

Debian / Ubuntu

Page last updated: Data verified:

Contents

Known fixed packages (checked 23 October 2026)#

  • Debian 12 (bookworm): php8.2 8.2.35-1~deb12u1 (DLA-4848-1).
  • Debian 13 (trixie): php8.4 8.4.27-1~deb13u1 (DSA-6574-1).
  • Ubuntu 26.04 LTS: php8.5 8.5.4-0ubuntu1.5 · 24.04 LTS: php8.3 8.3.6-0ubuntu0.24.04.13 · 22.04 LTS: php8.1 8.1.2-1ubuntu2.28 (USN-8948-1/-2).
  • Older Ubuntu releases (20.04, 18.04, 16.04, 14.04): fixes only through Ubuntu Pro.

19 November 2026 fixes (CVE-2026-115560, CVE-2026-126714; checked 24 November 2026)#

  • Debian 12 (bookworm): php8.2 8.2.36-1~deb12u1 (DLA-4916-1) · Debian 13 (trixie): php8.4 8.4.28-1~deb13u1 (DSA-6641-1) · forky: php8.4 8.4.28-3.
  • Ubuntu 26.10: php8.5 8.5.9-0ubuntu2.2 · 26.04 LTS: php8.5 8.5.4-0ubuntu1.6 · 24.04 LTS: php8.3 8.3.6-0ubuntu0.24.04.14 · 22.04 LTS: php8.1 8.1.2-1ubuntu2.29 (CVE-2026-126714; for CVE-2026-115560 Ubuntu marks 22.04 and older “Not affected”). Official notice: USN-9185-1 (23 Nov). Via Ubuntu Pro: 20.04 php7.4 7.4.3-4ubuntu2.29+esm6 · 18.04 php7.2 7.2.24-0ubuntu0.18.04.17+esm15 · 16.04 php7.0 7.0.33-0ubuntu0.16.04.16+esm23 · 14.04 php5 5.5.9+dfsg-1ubuntu4.29+esm19.

If you use a third-party repository (e.g. Ondřej Surý’s packages), the status depends on that repository. We have not verified it; check its announcements.

1. What is installed#

Read-only: changes nothing

# PHP packages with full version
dpkg -l | grep -E '^ii\s+(php|libapache2-mod-php)' | awk '{print $2, $3}'

# Which repository it comes from and what is available
apt-cache policy php8.3-fpm

# Mention of the CVEs in the installed package's changelog
zgrep -E 'CVE-2026-(109618|109619)' /usr/share/doc/php8.3-common/changelog.Debian.gz

2. Upgrade#

Changes packages or configuration: back up and test first

sudo apt update
apt list --upgradable 2>/dev/null | grep -E '^(php|libapache2-mod-php)'

# Upgrade only the installed packages of one branch (e.g. 8.3)
sudo apt install --only-upgrade $(dpkg-query -W -f='${db:Status-Abbrev} ${Package}\n' 'php8.3*' | awk '$1=="ii"{print $2}')

# or a full system upgrade
# sudo apt upgrade

3. Restart#

Read-only: changes nothing

# If needrestart is installed: which services are running old libraries/binaries
sudo needrestart -r l

Restart: possible brief service interruption

sudo systemctl restart php8.3-fpm     # for each FPM version in use
sudo systemctl restart apache2        # required if mod_php (libapache2-mod-php) is used

4. Verify#

Read-only: changes nothing

dpkg -l php8.3-fpm php8.3-common | awk '/^ii/{print $2, $3}'
for p in $(pgrep -f 'php-fpm|apache2'); do ls -l /proc/$p/exe 2>/dev/null; done | grep deleted

Confirm via the web: step 5.

Main source: Debian · Canonical