National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2006-2660 Detail


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.

Source:  MITRE      Last Modified:  06/13/2006

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
2.1 LOW
(AV:L/AC:L/Au:N/C:N/I:P/A:N) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
Not required to exploit
Impact Type:
Allows unauthorized modification

Vendor Statements (disclaimer)

Official Statement from Red Hat (08/30/2006)

This is not an issue that affects users of Red Hat Enterprise Linux.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source FULLDISC 20060611 tempnam() Bypass unique file name PHP 5.1.4 External Source CONFIRM External Source SREASON 1069 External Source SECTRACK 1016271 External Source MANDRIVA MDKSA-2006:122 External Source BUGTRAQ 20060611 tempnam() Bypass unique file name PHP 5.1.4 External Source UBUNTU USN-320-1 External Source XF php-tempnam-bypass(27049)

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes