LiveActive security incident?Get immediate response
CVE Record

CVE-2009-3557: The tempnam function in ext/standard/file.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-depe...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysis

Security readout for executives and security teams

CVE-2009-3557 is an old PHP flaw where the tempnam function could let an attacker bypass PHP safe_mode limits and create files in writable directories. It affects PHP before 5.2.12 and PHP 5.3.x before 5.3.1. Business urgency is mainly for legacy systems still running these versions. Exposure is likely limited to legacy PHP deployments using versions earlier than 5.2.12 or 5.3.1, especially applications relying on safe_mode as a security boundary. Modern PHP installations are unlikely to be affected by this specific safe_mode issue. Treat this as a legacy-risk cleanup item unless affected PHP versions are internet-facing or business-critical. Prioritize replacement or upgrade of unsupported PHP stacks, because their broader security exposure likely exceeds this single CVE. Mitigation focus: Upgrade affected PHP to 5.2.12, 5.3.1, or a supported later version.; Identify and retire applications depending on PHP safe_mode for isolation.; Review vendor or operating-system advisories for packaged PHP backports..

Prepared

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2009-3557 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.