CVE-2006-0097 EXPLOIT
7.5
HIGH · CVSS 2.0 · EPSS 12.2% (pctl 96)
Patch early
A public exploit exists.
Description
Stack-based buffer overflow in the create_named_pipe function in libmysql.c in PHP 4.3.10 and 4.4.x before 4.4.3 for Windows allows attackers to execute arbitrary code via 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.
Scoring
| CVSS | 7.5 (HIGH, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| EPSS | 12.25% — more likely to be exploited than 96% of all CVEs |
| Weakness | CWE-119 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2006-01-06 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 4.4.0 - 'mysql_connect function' Local Buffer Overflow | 2006-01-05 |
References
- 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
- 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
→ the Explorer · watch your stack · NVD