{"cve":"CVE-2009-3557","nvd":{"published":"2009-11-23T17:30:00.467","modified":"2026-06-16T23:11:51.543","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-264"],"references":["http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","http://marc.info/?l=bugtraq&m=127680701405735&w=2","http://news.php.net/php.announce/79","http://secunia.com/advisories/37412","http://secunia.com/advisories/37821"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T19:54:26.868835795+00:00"},"epss":{"cve":"CVE-2009-3557","score":0.02096,"percentile":0.81672,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}