Update PHP (the real fix)

CVE-2026-109618CVE-2026-109619

This is the only thing that actually fixes CVE-2026-109618 and CVE-2026-109619.

Fixed versions

You haveUpdate to
PHP 8.58.5.12 or newer
PHP 8.48.4.27 or newer
PHP 8.38.3.36 or newer
PHP 8.28.2.35 or newer (8.2 stops getting fixes on 31 Dec 2026)
PHP 8.1 or olderNo official fix. Upgrade to 8.2+, or get a patched package from your OS vendor.

How

Then restart PHP. After that, undo the temporary settings: php php2shell.php --undo. In particular, you want memory_limit back to a normal value.

Source: php.net