{"cve":"CVE-2009-4018","nvd":{"published":"2009-11-29T13:07:32.017","modified":"2026-06-16T23:12:50.420","status":"Modified","description":"The proc_open function in ext/standard/proc_open.c in PHP before 5.2.11 and 5.3.x before 5.3.1 does not enforce the (1) safe_mode_allowed_env_vars and (2) safe_mode_protected_env_vars directives, which allows context-dependent attackers to execute programs with an arbitrary environment via the env parameter, as demonstrated by a crafted value of the LD_LIBRARY_PATH environment variable.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-264"],"references":["http://bugs.php.net/bug.php?id=49026","http://marc.info/?l=bugtraq&m=127680701405735&w=2","http://marc.info/?l=oss-security&m=125886770008678&w=2","http://marc.info/?l=oss-security&m=125897935330618&w=2","http://secunia.com/advisories/40262"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T19:54:26.868835795+00:00"},"epss":{"cve":"CVE-2009-4018","score":0.11341,"percentile":0.95985,"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."]}