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…
- 2.1LowCVSS base score
- 0.35%Exploitation in 30 daysEPSS · top 71% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 14 days later
· 14 days later
Published
- 18 years later
· 18 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 (11 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.
Affected products
n/a
- affected n/a
References
References9
- 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)
- EUVD EUVD-2006-2659 (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://cveledger.app/cve/CVE-2006-2660)Record last updated .