• Vulnerability/
  • https://reddit.com/r/sysadmin/comments/1xd7683/php2shell_the_useful_question_isnt_are_we_patched/

https://reddit.com/r/sysadmin/comments/1xd7683/php2shell_the_useful_question_isnt_are_we_patched/: PHP2Shell: the useful question isn't "are we patched", it's "where is PHP actually running in our environment"

Published Oct 23, 2026
·
Updated

Affected Software

1 affected component
PHP PHP<8.2.35, <8.3.36, <8.4.27, <8.5.12, >=5.4<=7.3

Frequently Asked Questions

1

Which PHP branches do not have an upstream fixed release?

PHP 5.4 through 7.3 have no upstream fix. PHP 7.4, 8.0, and 8.1 have source backports only, so organizations must build them or wait for their distribution to provide a package.

2

What operational step is required after updating PHP packages?

Restart PHP-FPM and Apache workers, then verify that running processes use the updated build. Existing workers can continue serving requests with the old runtime after a package update.

3

What can be done if an immediate patch is not available?

Lowering memory_limit, post_max_size, or max_input_nesting_level may reduce opportunity but does not remove the vulnerability. For branches with source backports, building the backport or obtaining a distribution package is the stated path; older unsupported branches have no upstream fix.

4

Where should teams look for PHP runtimes outside normal web-team ownership?

Review hosting control panels, appliance management consoles, legacy applications, and forgotten campaign microsites. These may include their own PHP runtime even where the primary web environment is believed not to run PHP.

5

Is there evidence of exploitation before fixes were released?

AWS MadPot honeypots observed an attempt on 17 October, while fixes shipped on 21 October. The provided reporting documents attempts rather than a confirmed scale of compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203