Exploiting PHP Foundational Vulnerabilities
CVE-2026-109618 enables remote code execution in PHP (affecting Apache mod_php and WordPress) through an out-of-memory condition during HTTP multipart form parsing. When OOM is triggered while the Zend HashTable is partially initialized, the C longjmp() error handler transfers execution unsafely, leaving stale session files on disk. The article demonstrates a practical HTTP POST exploitation chain leveraging PHP’s default-enabled session.upload_progress feature to trigger OOM, then exploiting session fixation to write attacker-controlled data (including PHP code) into persistent session state files. Combined with a local file inclusion vulnerability, this leads to arbitrary code execution without authentication. The article includes lab setup procedures, probing methodology, and proof-of-concept injection examples.