How two PHP vulnerabilities allow attackers to hijack server memory

PHP2Shell explained in 10 minutes (A technical analysis) · 10:00 · Video: Aikido Security · Watch at the source

In short: This technical breakdown explores the mechanics of PHP2Shell, a pair of critical vulnerabilities (CVE-2026-109618 and CVE-2026-109619). It explains how attackers can move from simple memory reads to remote code execution on popular platforms like WordPress and Drupal.

The analysis examines how PHP workers manage and reuse memory across different HTTP requests. By exploiting the way unfinished data structures persist, attackers can create memory corruption. The video details a specific 'multipart upload trick' that leverages configuration limits—specifically memory_limit, post_max_size, and max_file_uploads—to reliably trigger out-of-memory errors.

Key technical concepts covered include heap grooming, where attackers manipulate memory layout, and the use of PHP zvals as memory-disclosure primitives. The breakdown shows how these flaws allow for the bypass of ASLR (Address Space Layout Randomization), ultimately enabling a reliable remote code execution (RCE) exploit.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/science-php2shell-explained-in-10-minutes-a-technical-analysis.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…