PHP2Shell Flaws Affect PHP 8.2–8.5; Exploitation Attempts Reported

· Original article ↗

Summary

Two critical PHP2Shell RCE flaws affect PHP 8.2–8.5. Exploitation attempts were reported before and after disclosure, with successful shell execution reported on three honeypots. Fixed PHP releases are available; patching and compromise investigation are advised.

Key points

  • CVE-2026-109618 involves memory corruption during request initialization; CVE-2026-109619 involves access to released memory. Both could enable remote code execution.
  • The article reports confirmed exploitability against Apache mod_php for both flaws and PHP-FPM for CVE-2026-109619.
  • Amazon Threat Intelligence and Cloudflare reported pre-disclosure exploitation activity; SecurityWeek reported successful shell execution on three honeypots.
  • Fixed upstream releases are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Older unsupported branches should be upgraded or receive a verified vendor backport.
  • The article recommends identifying PHP deployments, installing patches, restarting affected services, and reviewing logs and systems for compromise.
  • WAF rules alone are not a full remediation; the cited Zeek and Suricata detections are described as incomplete and may match benign traffic.

Article Details

Vulnerability Types
  • Memory corruption during request initialization when PHP runs out of memory
  • Use-after-free involving stale references to released memory
Severity
Critical
Affected Versions
  • PHP 8.2
  • PHP 8.3
  • PHP 8.4
  • PHP 8.5
Exploitation Status
active
Exploit Availability
unknown
Patch Status
available
Workarounds
  • Take affected systems offline until they can be fully mitigated if immediate patching is not feasible.

MITRE ATT&CK

CVE

Products

Tools

Related Articles