php2shell: Is the vulnerability already being exploited?

In our article on the php2shell security vulnerabilities we introduced the two critical vulnerabilities in the PHP core. The situation has developed since then: Amazon reported the first exploitation attempt as early as 17 October 2026 from its own honeypot network, and Cloudflare also confirms active attacks with changing payloads.

In addition, the first proof-of-concept exploits have been published, and automated scanners are already searching on a large scale for vulnerable systems. Because the risk of targeted attacks remains high, we will support you with the fast implementation of the necessary security measures. Contact us directly via our contact form.

How do you recognise whether your web server has been exploited?

Both vulnerabilities work on the same principle: An attacker uses a multipart request to trigger a memory error. During cleanup, corrupted memory remains in the PHP worker, which is then exploited through a follow-up request for unauthenticated Remote Code Execution.

You can primarily recognise the attack by the typical patterns in HTTP requests:

  • POST requests that contain the string PHP_SESSION_UPLOAD_PROGRESS.
  • Unusually large uploads, some without a Content-Length.

In addition, you can check the PHP and Apache logs for the following log entries: 'Allowed memory size exhausted', segmentation faults or documented crashes of the PHP workers. If you also notice unexpected files, new cron jobs or unknown outgoing connections, this can point to successful exploitation. We support you both with patching your systems and with investigating signs of exploitation of the vulnerabilities.

Recommended actions

If your system runs a PHP version before 8.2.35, 8.3.36, 8.4.27 or 8.5.12, your system is vulnerable and we recommend that you update it. Check the currently used PHP version directly via the web server to prevent your application from using an alternative, outdated PHP version.

  • Patch all PHP installations to the latest version and restart your system.
  • If your system cannot be updated to the latest version, we recommend disconnecting it from the internet immediately in order to drastically reduce the possible entry path.
  • Watch out for unexpected process execution or file changes on the web servers.

You are unsure whether your systems are affected? We check the PHP version you use, run a vulnerability check and support you with patching. In case of suspicion, we carry out forensics and clean up compromised systems.

Patch your systems and protect yourself against an attack.

Valerie Erhard

On 22.10.2026 published.


Valerie Erhard

Published on 21.10.2026 in the category Security Advisories published.

Security Advisory: Critical PHP Vulnerabilities php2shell

php2shell are two critical remote code execution vulnerabilities in PHP affecting versions 5.4 to 8.x. We explain the background and next steps. (read more)


Valerie Erhard

Published on 10.09.2026 in the category aramido published.

Information Security and AI: Opportunity and Risk for Companies

On October 1, we will demonstrate live at a DGQ network event in Karlsruhe how AI tools can be used for attacks and how companies can protect themselves. (read more)


Andreas Sperber

Published on 01.08.2026 in the category Network Security published.

Hacking AI: Loss of Control Instead of Controlled Tests

During an evaluation, OpenAI models autonomously broke out of their test environment and successfully infiltrated Hugging Face's infrastructure. (read more)


Valerie Erhard

Published on 31.07.2026 in the category Network Security published.

Agentic AI Changes the Rules of Cybersecurity

From helpful advisor to autonomous actor: The evolution of agentic AI forces a paradigm shift in our IT security. (read more)