Description
The tempnam function in ext/standard/file.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass safe_mode restrictions, and create files in group-writable or world-writable directories, via the dir and prefix arguments.
Published: 2009-11-23
Score: 5.0 Medium
EPSS: 3.5% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2009-3538 The tempnam function in ext/standard/file.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass safe_mode restrictions, and create files in group-writable or world-writable directories, via the dir and prefix arguments.
Ubuntu USN Ubuntu USN USN-862-1 PHP vulnerabilities
History

Wed, 28 May 2025 14:45:00 +0000

Type Values Removed Values Added
References

Thu, 22 May 2025 04:30:00 +0000


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-07T06:31:10.549Z

Reserved: 2009-10-05T00:00:00.000Z

Link: CVE-2009-3557

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2009-11-23T17:30:00.467

Modified: 2026-04-23T00:35:47.467

Link: CVE-2009-3557

cve-icon Redhat

Severity :

Publid Date: 2009-09-30T00:00:00Z

Links: CVE-2009-3557 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses