Find every PHP runtime
The flaws are in PHP, so the inventory is of PHP runtimes, not of websites. One server can run several PHP versions side by side, and the command-line version is often not the one serving web requests.
- List every host, container image and hosting account that serves PHP, including staging, intranet portals and forgotten microsites, and mark which are internet-facing.
- On each, record the version the web server uses:
php-fpm -v, the Apache module, or a temporary phpinfo() page that you delete afterwards. - Note how PHP is served (Apache mod_php, PHP-FPM, php-cgi, FrankenPHP, LiteSpeed): it decides your exposure and how to restart.
- Ask every hosting provider and agency that runs PHP for you to confirm, in writing, the version and patch date.
- Do not trust a scanner that reads the CVE records literally: the records list only the 8.2 to 8.5 branches and mark everything else unaffected. PHP 8.1 and older are affected too.
- Include appliances and vendor products that embed PHP, such as management interfaces and network devices, and ask those vendors for their fix.
php -v
php-fpm -v # or php-fpm8.3 -v, php-fpm83 -v
apachectl -M | grep -i php
dpkg -l 'php*' | grep ^ii # Debian, Ubuntu
rpm -qa 'php*' # RHEL, Alma, Rocky, Fedora