CVE-2009-3559 json
main/streams/plain_wrapper.c in PHP 5.3.x before 5.3.1 does not recognize the safe_mode_include_dir directive, which allows context-depende…
published 2009-11-23 16 y ago modified 2026-06-16 4 mo ago also EUVD-2009-3540
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
main/streams/plain_wrapper.c in PHP 5.3.x before 5.3.1 does not recognize the safe_mode_include_dir directive, which allows context-dependent attackers to have an unknown impact by triggering the failure of PHP scripts that perform include or require operations, as demonstrated by a script that attempts to perform a require_once on a file in a standard library directory. NOTE: a reliable third party reports that this is not a vulnerability, because it results in a more restrictive security policy.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-3559 updated
php: safe_mode / open_basedir security fixes in 5.3.1
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.70% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
openwall.com
/lists/oss-security/2009/11/20/3
mailing-list, patch
-
openwall.com
/lists/oss-security/2009/11/20/2
mailing-list, patch
-
openwall.com
/lists/oss-security/2009/11/20/5
mailing-list, patch
-
php.net
/ChangeLog-5.php
patch, vendor-advisory
-
php.net
/releases/5_3_1.php
patch, vendor-advisory
-
lists.apple.com
/archives/security-announce/2010//Mar/msg00001.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:302
vendor-advisory
-
news.php.net
/php.announce/79
mailing-list
- bugs.php.net /bug.php?id=50063
- support.apple.com /kb/HT4077
Sources
- CVE List CVE-2009-3559
- NVD CVE-2009-3559
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.