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 · Servers running LiteSpeed Enterprise or OpenLiteSpeed

LiteSpeed / OpenLiteSpeed / LSAPI

Page last updated: Data verified:

Contents

The PHP project explicitly lists LiteSpeed among the affected environments. The CVE-2026-109618 advisory describes LSAPI as likely susceptible but unvalidated. At the time of our review we did not find an official LiteSpeed statement naming specific fixed lsphp versions.

Where lsphp comes from#

  • LiteSpeed Enterprise on cPanel: uses the ea-phpXX or alt-phpXX packages (MultiPHP Manager or CloudLinux PHP Selector). The fix comes from upgrading those (cPanel guide).
  • LiteSpeed on Plesk / DirectAdmin: uses the panel’s PHP.
  • Standalone OpenLiteSpeed: usually lsphpXX packages from the LiteSpeed repository.

1. Which lsphp processes are running#

Read-only: changes nothing

# lsphp processes and their binary
ps -eo pid,user,lstart,args | grep '[l]sphp' | head -30

# OpenLiteSpeed: installed versions
ls -d /usr/local/lsws/lsphp*/ 2>/dev/null
for b in /usr/local/lsws/lsphp*/bin/php; do echo "$b: $($b -v | head -1)"; done

The lstart column shows when each process started. Anything that started before the upgrade is running old code.

2. Upgrade (OpenLiteSpeed with LiteSpeed packages)#

Changes packages or configuration: back up and test first

# RHEL-based
sudo dnf upgrade 'lsphp*'
# Debian/Ubuntu
sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${db:Status-Abbrev} ${Package}\n' 'lsphp*' | awk '$1=="ii"{print $2}')

Confirm that the new version is fixed (upstream number or a LiteSpeed announcement). If the repository does not yet have a fixed version, apply the temporary mitigations.

3. Restarting lsphp#

Restart: possible brief service interruption

According to the LiteSpeed documentation:

# Immediately, server-wide (subsequent requests start new processes)
sudo pkill lsphp

# Gradually, server-wide (each handler restarts when next needed)
sudo touch /usr/local/lsws/admin/tmp/.lsphp_restart.txt

# For a single user only (on the next request)
touch /home/USER/.lsphp_restart.txt

The gradual method leaves old processes running until the handler is needed again. After a security upgrade, prefer pkill lsphp during a low-traffic period; in-flight requests will be interrupted.

4. Verification#

Read-only: changes nothing

# No lsphp with a deleted binary
for p in $(pgrep lsphp); do ls -l /proc/$p/exe 2>/dev/null; done | grep deleted
# Start time: all after the upgrade
ps -eo pid,lstart,args | grep '[l]sphp'

A note on WAF on LiteSpeed#

CloudLinux reported that the first Imunify360 rule for PHP2Shell (21 October) only logged on LiteSpeed, and that later rules are enforced on all web servers. WAF rules do not replace upgrading.

Main source: PHP project · php-src (GitHub) · GitHub (litespeedtech/openlitespeed) · CloudLinux