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.
Published: 2009-11-27
Score: 7.5 High
EPSS: 22.3% Moderate
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
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:45:50.944Z

Reserved: 2009-11-20T00:00:00.000Z

Link: CVE-2009-4018

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2009-11-29T13:07:32.017

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

Link: CVE-2009-4018

cve-icon Redhat

Severity :

Publid Date: 2009-07-23T00:00:00Z

Links: CVE-2009-4018 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses