What’s Vulnerable › Vulnerabilities
CVE-2006-2660
- Severity: low (CVSS 2.1 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2006-06-13 · updated 2026-06-16
Description
Buffer consumption vulnerability in the tempnam function in PHP 5.1.4 and 4.x before 4.4.3 allows local users to bypass restrictions and create PHP files with fixed names in other directories via a pathname argument longer than MAXPATHLEN, which prevents a unique string from being appended to the filename.
Affected products
- PHP: 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5 (+24)
References
- http://archives.neohapsis.com/archives/fulldisclosure/2006-06/0209.html
- http://cvs.php.net/viewcvs.cgi/php-src/NEWS?view=markup&rev=1.1247.2.920.2.134
- http://secunia.com/advisories/21125
- http://securityreason.com/securityalert/1069
- http://securitytracker.com/id?1016271
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:122
- http://www.securityfocus.com/archive/1/436785/100/0/threaded
- http://www.ubuntu.com/usn/usn-320-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/27049
- http://archives.neohapsis.com/archives/fulldisclosure/2006-06/0209.html
- http://cvs.php.net/viewcvs.cgi/php-src/NEWS?view=markup&rev=1.1247.2.920.2.134
- http://secunia.com/advisories/21125
Get alerted when CVE-2006-2660 or the next vulnerability affects your stack