Back
CVE-2006-2660
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…
Low2.1EPSS 0.35%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Low2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 0.35% · top 71% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.1.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (9)
- php-tempnam-bypass(27049) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- http://cvs.php.net/viewcvs.cgi/php-src/NEWS?view=markup&rev=1.1247.2.920.2.134 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20060611 tempnam() Bypass unique file name PHP 5.1.4 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 1016271 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 20060611 tempnam() Bypass unique file name PHP 5.1.4 (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- USN-320-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- MDKSA-2006:122 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 21125 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1069 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2006-2660)Record last updated .