Buffer overflow in PHP - CVE-2022-4900
Published: March 30, 2023
PHP
PHP Group
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a boundary error within the php_cli_server_startup_workers() function in sapi/cli/php_cli_server.c when processing PHP_CLI_SERVER_WORKERS environment variable. A local user can trigger memory corruption and execute arbitrary code on the target system.