Fix PHP2Shell on Fedora

Fedora builds its own PHP packages. A fixed package can keep an older version number with the patch added, so look for the package version below rather than for 8.4.27.

Release by release

ReleaseStatusFixed packageAdvisory
46Fixed packageStable 15:31Z.php-8.5.12-1.fc46FEDORA-2026-9312bb744f2026-10-21
45No fix yetIn testing at check time, not stable.php-8.5.12-1.fc45FEDORA-2026-a9354b8a1e
44Fixed packageSecurity update, stable 16:43Z.php-8.5.12-1.fc44FEDORA-2026-a9eba4bbc32026-10-21
43No fix yetIn testing at check time, not stable.php-8.4.27-2.fc43FEDORA-2026-d5f8446449

Confirm the fix is installed

rpm -q --changelog php-fpm | grep -m1 -E 'CVE-2026-10961[89]'

Restart PHP

Installing the package replaces the files on disk. PHP processes that are already running keep the old code.

sudo systemctl restart php-fpm && sudo systemctl restart httpd

If your release has no fix yet

Watch the advisory feed for your release and install the update the day it lands. Until then, the triage page lists the official temporary measures. If your release is past its end of life, read options for old versions.

Pages we read