All vulnerabilities

Servers and applications

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 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.

Severity
Low 2.1
Published
13 Jun 2006
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
0.4% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Needs local access · No login needed
Attacker can
Change some data
CVSS vector
AV:L/AC:L/Au:N/C:N/I:P/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.1.4
  • Version 4.4.3
  • Version 4.4.2
  • Version 4.4.1
All 30 release lines
  • Version 4.0.0
  • Version 4.0.1
  • Version 4.0.2
  • Version 4.0.3
  • Version 4.0.4
  • Version 4.0.5
  • Version 4.1.0
  • Version 4.1.1
  • Version 4.1.2
  • Version 4.2.0
  • Version 4.2.1
  • Version 4.2.2
  • Version 4.2.3
  • Version 4.3.0
  • Version 4.3.1
  • Version 4.3.2
  • Version 4.3.3
  • Version 4.3.4
  • Version 4.3.5
  • Version 4.3.6
  • Version 4.3.7
  • Version 4.3.8
  • Version 4.3.9
  • Version 4.3.10
  • Version 4.3.11
  • Version 4.4.0
  • Version 4.4.1
  • Version 4.4.2
  • Version 4.4.3
  • Version 5.1.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2006-2660
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2006-2660