Skip to content
Memory corruption Write-up Advanced

PHP2Shell: Exploitation Attempts and Remediation Trends

The text describes exploitation attempts against two PHP vulnerabilities (PHP2Shell) using public exploit kits, but none of the captured attempts completed the full chain. Attackers could potentially achieve remote code execution if they overcome memory layout and worker pinning challenges.

Yaara Shriki Follow

Published on wiz.io

Last week, we published a reportdescribing two major vulnerabilities in PHP (CVE-2026-109618, CVE-2026-109619). Since then, alongside much of the security industry, the Wiz Research team has been monitoring for related activity in the wild and reviewing publicly available exploit code.

Yaara Shriki, on wiz.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a memory corruption issue in PHP's session handling that can be triggered by crafted multipart requests, leading to use-after-free and potential code execution.

What the attacker needed

Internet-exposed PHP server; Vulnerable PHP version; Attacker can send crafted requests

The fix

Apply the PHP security updates or remediate through other means.

How it was found

  1. Send a large multipart request with many parts to exhaust PHP memory during session handling.
  2. Send a follow-up request to leak memory addresses from a session cookie.
  3. Use leaked addresses to craft a final exploit stage for code execution.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a report about attempts to exploit two newly disclosed bugs in PHP, a programming language used by many websites. The bugs could let an attacker run their own code on a server, but the public exploit tools are not yet reliable and failed in the observed attacks.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Yaara Shriki

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.