#VU110497 Stack-based buffer overflow in PHP - CVE-2006-0097
Published: October 19, 2018 / Updated: June 12, 2025
PHP
PHP Group
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the create_named_pipe function in libmysql.c when processing a long (1) arg_host or (2) arg_unix_socket argument, as demonstrated by a long named pipe variable in the host argument to the mysql_connect function. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
External links
- http://archives.neohapsis.com/archives/fulldisclosure/2006-01/0274.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-January/041013.html
- http://secunia.com/advisories/18275
- http://www.osvdb.org/22232
- http://www.php.net/ChangeLog-4.php#4.4.3
- http://www.securityfocus.com/archive/1/420986/100/0/threaded
- http://www.securityfocus.com/bid/16145
- http://www.vupen.com/english/advisories/2006/0046