PHP 5.1.6 is known vulnerabilities confirmed: 114 confirmed known vulnerabilities (1 critical, 48 high, 60 medium, 5 low, 21 RCE-related). Support status: End of life. This is a version-based check, not a full application audit. Recommended upgrade: PHP 8.6.0.
Security status
Known vulnerabilities confirmed
At least one CVE has a structured PHP runtime range that contains this version, and trusted sources do not disagree. Red means confirmed issues in the data, not that every deployment can be exploited.
Risk: Confirmed issues in the checked data
114 confirmed findings (1 critical, 48 high, 60 medium, 5 low). A match does not prove every deployment can be exploited.
This is a version-based check of published PHP runtime records. It is not a full application audit. Extensions, configuration, application code, and the SAPI can change the real risk.
Confirmed by severity: 1 critical, 48 high, 60 medium, 5 low. 3 still need verification.
Sources: NIST NVD API 2.0, php.net supported versions, end-of-life list, and releases, PHP ChangeLog, GitHub Security Advisories for php/php-src. Data last updated 24 Nov 2026, 03:47 UTC.
Data last updated: 24 Nov 2026, 03:47 UTC
Current version
5.1.6
Official support
End of life
PHP 5.1
Known vulnerabilities
114
3 need verification
Critical / high
1 / 48
Confirmed findings only
RCE-related CVEs
21
Confirmed, with a stated basis
Minimum security fix
Not verified
Recommended upgrade
8.6.0
Last data update
24 Nov 2026, 03:47 UTC
Fresh cache
Upgrade recommendation
Minimum security fix on PHP 5.1
At least one confirmed issue does not have a single verified fixed release on this branch. The minimum security fix is not verified. Use the advisory links instead of assuming a patch level.
Recommended long-term release
8.6.0 is the latest patch on PHP 8.6, which php.net lists as active support. It is the long-term upgrade, chosen because the branch is still supported. This check does not claim that release is vulnerability-free.
No PHP release should be treated as vulnerability-free. New issues are published after this dataset was synced, and some bugs depend on how PHP is installed.
PHP 5.1 no longer receives upstream fixes. Running its last patch still leaves the installation unsupported.
Moving from 5.1 to 8.6 can change language behavior, removed extensions, and default settings. Review each migration guide before upgrading: https://www.php.net/manual/en/migration52.php, https://www.php.net/manual/en/migration53.php, https://www.php.net/manual/en/migration54.php, https://www.php.net/manual/en/migration55.php, https://www.php.net/manual/en/migration56.php, https://www.php.net/manual/en/migration70.php, https://www.php.net/manual/en/migration71.php, https://www.php.net/manual/en/migration72.php, https://www.php.net/manual/en/migration73.php, https://www.php.net/manual/en/migration74.php, https://www.php.net/manual/en/migration80.php, https://www.php.net/manual/en/migration81.php, https://www.php.net/manual/en/migration82.php, https://www.php.net/manual/en/migration83.php, https://www.php.net/manual/en/migration84.php, https://www.php.net/manual/en/migration85.php, https://www.php.net/manual/en/migration86.php.
If this PHP build comes from a Linux distribution (Debian, Ubuntu, RHEL, Alpine, and others), the package may include backported security fixes that do not change the MAJOR.MINOR.PATCH string. This check cannot see those patches. A match is not proof the distro package is still vulnerable, and a clean result is not proof every fix was included. Check the distribution's own security tracker for the package you installed.
Upgrade commands
Examples use the versions already named in this report. They do not claim a CVE is fixed, and they are not run here.
Confirm the installed version
php -v
Read the MAJOR.MINOR.PATCH line. This site never runs that command for you.
Homebrew (macOS or Linux)
brew install php@8.6
php -v
Installs the php@8.6 formula. Homebrew does not pin the patch 8.6.0. Confirm php -v after install.
Docker official PHP image
FROM php:8.6.0-fpm-bookworm
# Rebuild the image after you change the tag.
Example pin for the recommended patch 8.6.0. Confirm the tag exists in the official php image before you deploy. A floating tag such as php:8.6-fpm is not a patch pin. See the Docker tool for the library's current mapping.
ondrej/php is a community archive, not a php.net or Debian project. Review it before you use it. Distro packages can lag or carry backports this checker cannot see.
Composer platform (does not upgrade PHP)
composer config platform.php 8.6.0
This only tells Composer which PHP version to resolve dependencies for. It does not change the runtime and does not fix vulnerabilities.
Support timeline
Initial release
24 Nov 2005
Active support end
24 Nov 2007
Security support end
24 Aug 2006
Latest patch on branch
5.1.6
Remote Code Execution & Shell Execution Risk
This section lists matched records whose CWE or description indicates remote code execution, command injection, shell execution, CGI argument injection, code execution, or unsafe runtime behavior. The basis is shown for each one. A matching version does not prove the bug is exploitable: the SAPI, operating system, web server, and extensions decide whether the vulnerable code path exists.
CVE-2006-4812Confirmed vulnerableHIGH
Integer overflow in PHP 5 up to 5.1.6 and 4 before 4.3.0 allows remote attackers to execute arbitrary code via an argument to the unserialize PHP function with a large value for the number of array elements, which triggers the overflow in the Zend Engine ecalloc function (Zend/zend_alloc.c).
Affected versions: PHP 5.1 only, 5.1.6 exactly
Fixed version: Not verified
CVSS: 10 (v2.0)
Classification basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0 through 5.2.6 allows context-dependent attackers to execute arbitrary code via a crafted string containing an HTML entity, which is not properly handled during Unicode conversion, related to the (1) mb_convert_encoding, (2) mb_check_encoding, (3) mb_convert_variables, and (4) mb_parse_str functions.
Buffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows allows remote attackers to execute arbitrary code via crafted arguments that trigger incorrect handling of COM object VARIANT types, as exploited in the wild in May 2012.
Affected versions: PHP 5.1 only, 5.1.6 exactly
Fixed version: Not verified
CVSS: 10 (v2.0)
Documented prerequisites: NVD configuration also requires cpe:2.3:o:microsoft:windows:*:*:*:*:*:*:*:*
The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting the hash_update_file function via a userspace (1) error or (2) stream handler, which can then be used to destroy and modify internal resources. NOTE: it was later reported that PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 are also affected.
Affected versions: PHP 5.1 only, 5.1.6 exactly
Fixed version: Not verified
CVSS: 9.3 (v2.0)
Classification basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
An issue was discovered in SDCMS 1.6 with PHP 5.x. app/admin/controller/themecontroller.php uses a check_bad function in an attempt to block certain PHP functions such as eval, but does not prevent use of preg_replace 'e' calls, allowing users to execute arbitrary code by leveraging access to admin template management.
Affected versions: 5.0.0 (including) to 5.6.38 (including)
Fixed version: Not verified
CVSS: 8.8 (v3.0)
Classification basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
Buffer overflow in PHP before 5.2.0 allows remote attackers to execute arbitrary code via crafted UTF-8 inputs to the (1) htmlentities or (2) htmlspecialchars functions.
Affected versions: PHP 5.1 only, before 5.1.6 (including that release)
Multiple buffer overflows in PHP before 5.2.1 allow attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors in the (1) session, (2) zip, (3) imap, and (4) sqlite extensions; (5) stream filters; and the (6) str_replace, (7) mail, (8) ibase_delete_user, (9) ibase_add_user, and (10) ibase_modify_user functions. NOTE: vector 6 might actually be an integer overflow (CVE-2007-1885). NOTE: as of 20070411, vector (3) might involve the imap_mail_compose function (CVE-2007-1825).
Multiple format string vulnerabilities in PHP before 5.2.1 might allow attackers to execute arbitrary code via format string specifiers to (1) all of the *print functions on 64-bit systems, and (2) the odbc_result_all function.
The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference count for the session variables without considering the internal pointer from the session globals, which allows context-dependent attackers to execute arbitrary code via a crafted string in the session_register after unsetting HTTP_SESSION_VARS and _SESSION, which destroys the session data Hashtable.
Buffer overflow in the imap_mail_compose function in PHP 5 before 5.2.1, and PHP 4 before 4.4.5, allows remote attackers to execute arbitrary code via a long boundary string in a type.parameters field. NOTE: as of 20070411, it appears that this issue might be subsumed by CVE-2007-0906.3.
Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via a single character search string in conjunction with a long replacement string, which overflows a 32 bit length counter. NOTE: this is probably the same issue as CVE-2007-0906.6.
Buffer overflow in the sqlite_decode_binary function in the bundled sqlite library in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter, as demonstrated by calling the sqlite_udf_decode_binary function with a 0x01 character.
Affected versions: 5.0.0 (including) to 5.2.3 (excluding)
Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter. NOTE: some PHP installations use a bundled version of sqlite without this vulnerability. The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.
Integer overflow in the msg_receive function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1, on FreeBSD and possibly other platforms, allows context-dependent attackers to execute arbitrary code via certain maxsize values, as demonstrated by 0xffffffff.
Multiple format string vulnerabilities in phar_object.c in the phar extension in PHP 5.3.5 and earlier allow context-dependent attackers to obtain sensitive information from process memory, cause a denial of service (memory corruption), or possibly execute arbitrary code via format string specifiers in an argument to a class method, leading to an incorrect zend_throw_exception_ex call.
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that contain a %3D sequence but no = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD library (libgd) in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allow context-dependent attackers to execute arbitrary code via Wireless Bitmap (WBMP) images with large width or height values.
The resource system in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting certain functions in the GD (ext/gd) extension and unspecified other extensions via a userspace error handler, which can be used to destroy and modify internal resources.
PHP 4 before 4.4.5, and PHP 5 before 5.2.1, when register_globals is enabled, allows context-dependent attackers to execute arbitrary code via deserialization of session data, which overwrites arbitrary global variables, as demonstrated by calling session_decode on a string beginning with "_SESSION|s:39:".
Affected versions: 5.0.0 (including) to 5.2.1 (excluding)
Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the php_formatted_print function because of 64 to 32 bit truncation, and bypass a check for the maximum allowable value; and (2) a width and precision of -1, which make it possible for the php_sprintf_appendstring function to place an internal buffer at an arbitrary memory location.
Affected versions: PHP 5.1 only, 5.1.6 exactly
Fixed version: Not verified
CVSS: 6.8 (v2.0)
Documented prerequisites: NVD configuration also requires cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:apple:mac_os_x_server:10.4.9:*:*:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:linux:linux_kernel:*:*:ia32_64-bit:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:microsoft:windows_vista:*:*:64_bit:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:microsoft:windows_xp:*:*:64-bit:*:*:*:*:*
Multiple integer overflows in the chunk_split function in PHP 5 before 5.2.3 and PHP 4 before 4.4.8 allow remote attackers to cause a denial of service (crash) or execute arbitrary code via the (1) chunks, (2) srclen, and (3) chunklen arguments.
The array_user_key_compare function in PHP 4.4.6 and earlier, and 5.x up to 5.2.1, makes erroneous calls to zval_dtor, which triggers memory corruption and allows local users to bypass safe_mode and execute arbitrary code via a certain unset operation after array_user_key_compare has been called.
Affected versions: 5.0.0 (including) to 5.2.1 (including)
PHP 5.1 only, before 5.1.6 (including that release)
Not verified
CVE-2007-0905
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-0906
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-0909
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1285
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.2.2 (excluding)
Not verified
CVE-2007-1376
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1700
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1825
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1864
Confirmed vulnerable
HIGH
7.5
5.1.0 (including) to 5.1.6 (including)
Not verified
CVE-2007-1885
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1887
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.2.3 (excluding)
Not verified
CVE-2007-1888
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1890
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-3997
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.2.4 (excluding)
Not verified
CVE-2007-4657
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.2.4 (excluding)
Not verified
CVE-2007-4658
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2008-2107
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2008-5624
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2008-5625
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2008-5658
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2009-3291
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2009-3292
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2009-3293
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2009-4018
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2010-4657
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.4.4 (excluding)
Not verified
CVE-2011-1092
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-1153
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2012-2311
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2013-1635
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2014-9427
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2015-8994
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.6.29 (including)
Not verified
CVE-2016-7478
Confirmed vulnerable
HIGH
7.5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2018-19395
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 7.1.24 (including)
Not verified
CVE-2018-19396
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 7.1.24 (including)
Not verified
CVE-2006-5706
Potentially affected — verification required
HIGH
7.2
PHP 5.1 only, before 5.1.6 (including that release)
Not verified
CVE-2007-1001
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1396
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1582
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1583
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1701
Confirmed vulnerable
MEDIUM
6.8
5.0.0 (including) to 5.2.1 (excluding)
Not verified
CVE-2007-1884
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-2872
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-3378
Confirmed vulnerable
MEDIUM
6.8
5.0.0 (including) to 5.2.3 (including)
Not verified
CVE-2009-5016
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2010-4697
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-4718
Confirmed vulnerable
MEDIUM
6.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2009-2626
Confirmed vulnerable
MEDIUM
6.4
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2012-0057
Confirmed vulnerable
MEDIUM
6.4
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2006-5178
Potentially affected — verification required
MEDIUM
6.2
PHP 5.1 only, before 5.1.6 (including that release)
Not verified
CVE-2012-1172
Confirmed vulnerable
MEDIUM
5.8
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1824
Confirmed vulnerable
MEDIUM
5.1
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-2510
Confirmed vulnerable
MEDIUM
5.1
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2008-4107
Confirmed vulnerable
MEDIUM
5.1
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2006-7243
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-0907
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-0908
Confirmed vulnerable
MEDIUM
5
5.0.0 (including) to 5.2.1 (excluding)
Not verified
CVE-2007-1380
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1452
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1717
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-3007
Confirmed vulnerable
MEDIUM
5
5.0.0 (including) to 5.2.3 (excluding)
Not verified
CVE-2007-3998
Confirmed vulnerable
MEDIUM
5
5.0.0 (including) to 5.2.4 (excluding)
Not verified
CVE-2008-2666
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2008-5498
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2009-4418
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2010-1130
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2010-4699
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-0752
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-0755
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-1466
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-1467
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-3182
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-3267
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-4885
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2012-0788
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2012-0789
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2012-1171
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2012-2336
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2012-3365
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2013-1643
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2013-2110
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2013-4635
Confirmed vulnerable
MEDIUM
5
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2006-3011
Confirmed vulnerable
MEDIUM
4.6
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-1484
Confirmed vulnerable
MEDIUM
4.6
5.0.0 (including) to 5.2.1 (including)
Not verified
CVE-2007-1835
Confirmed vulnerable
MEDIUM
4.6
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-4652
Confirmed vulnerable
MEDIUM
4.4
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-0988
Confirmed vulnerable
MEDIUM
4.3
5.0.0 (including) to 5.2.1 (excluding)
Not verified
CVE-2007-1710
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-3799
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2009-4142
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-0421
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-0708
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-1464
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-1468
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-1469
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2011-1470
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2013-4248
Confirmed vulnerable
MEDIUM
4.3
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2006-4625
Confirmed vulnerable
LOW
3.6
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-2509
Confirmed vulnerable
LOW
2.6
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2007-2727
Confirmed vulnerable
LOW
2.6
5.0.0 (including) to 5.2.2 (excluding)
Not verified
CVE-2008-5814
Confirmed vulnerable
LOW
2.6
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2009-0754
Confirmed vulnerable
LOW
2.1
PHP 5.1 only, 5.1.6 exactly
Not verified
CVE-2006-4812
HIGH
CVSS 10
PHP 5.1 only, 5.1.6 exactly
Fixed: Not verified
Integer overflow in PHP 5 up to 5.1.6 and 4 before 4.3.0 allows remote attackers to execute arbitrary code via an argument to the unserialize PHP function with a large value for the number of array elements, which triggers the overflow in the Zend Engine ecalloc function (Zend/zend_alloc.c).
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
RCE basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0 through 5.2.6 allows context-dependent attackers to execute arbitrary code via a crafted string containing an HTML entity, which is not properly handled during Unicode conversion, related to the (1) mb_convert_encoding, (2) mb_check_encoding, (3) mb_convert_variables, and (4) mb_parse_str functions.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP before 5.2.12 does not properly handle session data, which has unspecified impact and attack vectors related to (1) interrupt corruption of the SESSION superglobal array and (2) the session.save_path directive.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Buffer overflow in the crypt function in PHP before 5.3.7 allows context-dependent attackers to have an unspecified impact via a long salt argument, a different vulnerability than CVE-2011-2483.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Buffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows allows remote attackers to execute arbitrary code via crafted arguments that trigger incorrect handling of COM object VARIANT types, as exploited in the wild in May 2012.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Prerequisites: NVD configuration also requires cpe:2.3:o:microsoft:windows:*:*:*:*:*:*:*:*
Unspecified vulnerability in the _php_stream_scandir function in the stream implementation in PHP before 5.3.15 and 5.4.x before 5.4.5 has unknown impact and remote attack vectors, related to an "overflow."
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting the hash_update_file function via a userspace (1) error or (2) stream handler, which can then be used to destroy and modify internal resources. NOTE: it was later reported that PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 are also affected.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
RCE basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
PHP 4.x and 5.x before 5.2.1, when running on multi-threaded systems, does not ensure thread safety for libc crypt function calls using protection schemes such as a mutex, which creates race conditions that allow remote attackers to overwrite internal program memory and gain system access.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
An issue was discovered in SDCMS 1.6 with PHP 5.x. app/admin/controller/themecontroller.php uses a check_bad function in an attempt to block certain PHP functions such as eval, but does not prevent use of preg_replace 'e' calls, allowing users to execute arbitrary code by leveraging access to admin template management.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
RCE basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
The compress.bzip2:// URL wrapper provided by the bz2 extension in PHP before 4.4.7, and 5.x before 5.2.2, does not implement safemode or open_basedir checks, which allows remote attackers to read bzip2 archives located outside of the intended directories.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
CRLF injection vulnerability in the mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows remote attackers to inject arbitrary e-mail headers and possibly conduct spam attacks via a control character immediately following folding of the (1) Subject or (2) To parameter, as demonstrated by a parameter containing a "\r\n\t\n" sequence, related to an increment bug in the SKIP_LONG_HEADER_SEP macro.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows context-dependent attackers to read arbitrary memory locations via an interruption that triggers a user space error handler that changes a parameter to an arbitrary pointer, as demonstrated via the iptcembed function, which calls certain convert_to_* functions with its input parameters.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 5.1 only, before 5.1.6 (including that release)
Fixed: Not verified
Buffer overflow in PHP before 5.2.0 allows remote attackers to execute arbitrary code via crafted UTF-8 inputs to the (1) htmlentities or (2) htmlspecialchars functions.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP before 5.2.1 allows attackers to bypass safe_mode and open_basedir restrictions via unspecified vectors in the session extension. NOTE: it is possible that this issue is a duplicate of CVE-2006-6383.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Multiple buffer overflows in PHP before 5.2.1 allow attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors in the (1) session, (2) zip, (3) imap, and (4) sqlite extensions; (5) stream filters; and the (6) str_replace, (7) mail, (8) ibase_delete_user, (9) ibase_add_user, and (10) ibase_modify_user functions. NOTE: vector 6 might actually be an integer overflow (CVE-2007-1885). NOTE: as of 20070411, vector (3) might involve the imap_mail_compose function (CVE-2007-1825).
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Multiple format string vulnerabilities in PHP before 5.2.1 might allow attackers to execute arbitrary code via format string specifiers to (1) all of the *print functions on 64-bit systems, and (2) the odbc_result_all function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The Zend Engine in PHP 4.x before 4.4.7, and 5.x before 5.2.2, allows remote attackers to cause a denial of service (stack exhaustion and PHP crash) via deeply nested arrays, which trigger deep recursion in the variable destruction routines.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The shmop functions in PHP before 4.4.5, and before 5.2.1 in the 5.x series, do not verify that their arguments correspond to a shmop resource, which allows context-dependent attackers to read and write arbitrary memory locations via arguments associated with an inappropriate resource, as demonstrated by a GD Image resource.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference count for the session variables without considering the internal pointer from the session globals, which allows context-dependent attackers to execute arbitrary code via a crafted string in the session_register after unsetting HTTP_SESSION_VARS and _SESSION, which destroys the session data Hashtable.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Buffer overflow in the imap_mail_compose function in PHP 5 before 5.2.1, and PHP 4 before 4.4.5, allows remote attackers to execute arbitrary code via a long boundary string in a type.parameters field. NOTE: as of 20070411, it appears that this issue might be subsumed by CVE-2007-0906.3.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via a single character search string in conjunction with a long replacement string, which overflows a 32 bit length counter. NOTE: this is probably the same issue as CVE-2007-0906.6.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Buffer overflow in the sqlite_decode_binary function in the bundled sqlite library in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter, as demonstrated by calling the sqlite_udf_decode_binary function with a 0x01 character.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter. NOTE: some PHP installations use a bundled version of sqlite without this vulnerability. The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Integer overflow in the msg_receive function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1, on FreeBSD and possibly other platforms, allows context-dependent attackers to execute arbitrary code via certain maxsize values, as demonstrated by 0xffffffff.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Multiple integer overflows in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to obtain sensitive information (memory contents) or cause a denial of service (thread crash) via a large len value to the (1) strspn or (2) strcspn function, which triggers an out-of-bounds read. NOTE: this affects different product versions than CVE-2007-3996.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The money_format function in PHP 5 before 5.2.4, and PHP 4 before 4.4.8, permits multiple (1) %i and (2) %n tokens, which has unknown impact and attack vectors, possibly related to a format string vulnerability.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 5 before 5.2.7 does not properly initialize the page_uid and page_gid global variables for use by the SAPI php_getuid function, which allows context-dependent attackers to bypass safe_mode restrictions via variable settings that are intended to be restricted to root, as demonstrated by a setting of /etc for the error_log variable.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 5 before 5.2.7 does not enforce the error_log safe_mode restrictions when safe_mode is enabled through a php_admin_flag setting in httpd.conf, which allows context-dependent attackers to write to arbitrary files by placing a "php_value error_log" entry in a .htaccess file.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Directory traversal vulnerability in the ZipArchive::extractTo function in PHP 5.2.6 and earlier allows context-dependent attackers to write arbitrary files via a ZIP file with a file whose name contains .. (dot dot) sequences.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The php_openssl_apply_verification_policy function in PHP before 5.2.11 does not properly perform certificate validation, which has unknown impact and attack vectors, probably related to an ability to spoof certificates.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Unspecified vulnerability in PHP before 5.2.11, and 5.3.x before 5.3.1, has unknown impact and attack vectors related to "missing sanity checks around exif processing."
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Unspecified vulnerability in the imagecolortransparent function in PHP before 5.2.11 has unknown impact and attack vectors related to an incorrect "sanity check for the color index."
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
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.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP5 before 5.4.4 allows passing invalid utf-8 strings via the xmlTextWriterWriteAttribute, which are then misparsed by libxml2. This results in memory leak into the resulting output.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Integer overflow in ext/shmop/shmop.c in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (crash) and possibly read sensitive memory via a large third argument to the shmop_read function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Multiple format string vulnerabilities in phar_object.c in the phar extension in PHP 5.3.5 and earlier allow context-dependent attackers to obtain sensitive information from process memory, cause a denial of service (memory corruption), or possibly execute arbitrary code via format string specifiers in an argument to a class method, leading to an incorrect zend_throw_exception_ex call.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that contain a %3D sequence but no = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
ext/soap/soap.c in PHP before 5.3.22 and 5.4.x before 5.4.13 does not validate the relationship between the soap.wsdl_cache_dir directive and the open_basedir directive, which allows remote attackers to bypass intended access restrictions by triggering the creation of cached SOAP WSDL files in an arbitrary directory.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
sapi/cgi/cgi_main.c in the CGI component in PHP through 5.4.36, 5.5.x through 5.5.20, and 5.6.x through 5.6.4, when mmap is used to read a .php file, does not properly consider the mapping's length during processing of an invalid file that begins with a # character and lacks a newline character, which causes an out-of-bounds read and might (1) allow remote attackers to obtain sensitive information from php-cgi process memory by leveraging the ability to upload a .php file or (2) trigger unexpected code execution if a valid PHP script is present in memory locations adjacent to the mapping.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
An issue was discovered in PHP 5.x and 7.x, when the configuration uses apache2handler/mod_php or php-fpm with OpCache enabled. With 5.x after 5.6.28 or 7.x after 7.0.13, the issue is resolved in a non-default configuration with the opcache.validate_permission=1 setting. The vulnerability details are as follows. In PHP SAPIs where PHP interpreters share a common parent process, Zend OpCache creates a shared memory object owned by the common parent during initialization. Child PHP processes inherit the SHM descriptor, using it to cache and retrieve compiled script bytecode ("opcode" in PHP jargon). Cache keys vary depending on configuration, but filename is a central key component, and compiled opcode can generally be run if a script's filename is known or can be guessed. Many common shared-hosting configurations change EUID in child processes to enforce privilege separation among hosted users (for example using mod_ruid2 for the Apache HTTP Server, or php-fpm user settings). In these scenarios, the default Zend OpCache behavior defeats script file permissions by sharing a single SHM cache among all child PHP processes. PHP scripts often contain sensitive information: Think of CMS configurations where reading or running another user's script usually means gaining privileges to the CMS database.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Zend/zend_exceptions.c in PHP, possibly 5.x before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (infinite loop) via a crafted Exception object in serialized data, a related issue to CVE-2015-8876.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
ext/standard/var.c in PHP 5.x through 7.1.24 on Windows allows attackers to cause a denial of service (NULL pointer dereference and application crash) because com and com_safearray_proxy return NULL in com_properties_get in ext/com_dotnet/com_handlers.c, as demonstrated by a serialize call on COM("WScript.Shell").
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
ext/standard/var_unserializer.c in PHP 5.x through 7.1.24 allows attackers to cause a denial of service (application crash) via an unserialize call for the com, dotnet, or variant class.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 5.1 only, before 5.1.6 (including that release)
Fixed: Not verified
Unspecified vulnerabilities in PHP, probably before 5.2.0, allow local users to bypass open_basedir restrictions and perform unspecified actions via unspecified vectors involving the (1) chdir and (2) tempnam functions. NOTE: the tempnam vector might overlap CVE-2006-1494.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD library (libgd) in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allow context-dependent attackers to execute arbitrary code via Wireless Bitmap (WBMP) images with large width or height values.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The import_request_variables function in PHP 4.0.7 through 4.4.6, and 5.x before 5.2.2, when called without a prefix, does not prevent the (1) GET, (2) POST, (3) COOKIE, (4) FILES, (5) SERVER, (6) SESSION, and other superglobals from being overwritten, which allows remote attackers to spoof source IP address and Referer data, and have other unspecified impact. NOTE: it could be argued that this is a design limitation of PHP and that only the misuse of this feature, i.e. implementation bugs in applications, should be included in CVE. However, it has been fixed by the vendor.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The resource system in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting certain functions in the GD (ext/gd) extension and unspecified other extensions via a userspace error handler, which can be used to destroy and modify internal resources.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The mb_parse_str function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 sets the internal register_globals flag and does not disable it in certain cases when a script terminates, which allows remote attackers to invoke available PHP scripts with register_globals functionality that is not detectable by these scripts, as demonstrated by forcing a memory_limit violation.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 4 before 4.4.5, and PHP 5 before 5.2.1, when register_globals is enabled, allows context-dependent attackers to execute arbitrary code via deserialization of session data, which overwrites arbitrary global variables, as demonstrated by calling session_decode on a string beginning with "_SESSION|s:39:".
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the php_formatted_print function because of 64 to 32 bit truncation, and bypass a check for the maximum allowable value; and (2) a width and precision of -1, which make it possible for the php_sprintf_appendstring function to place an internal buffer at an arbitrary memory location.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Prerequisites: NVD configuration also requires cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:apple:mac_os_x_server:10.4.9:*:*:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:linux:linux_kernel:*:*:ia32_64-bit:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:microsoft:windows_vista:*:*:64_bit:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:microsoft:windows_xp:*:*:64-bit:*:*:*:*:*
Multiple integer overflows in the chunk_split function in PHP 5 before 5.2.3 and PHP 4 before 4.4.8 allow remote attackers to cause a denial of service (crash) or execute arbitrary code via the (1) chunks, (2) srclen, and (3) chunklen arguments.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Integer overflow in the xml_utf8_decode function in ext/xml/xml.c in PHP before 5.2.11 makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string that uses overlong UTF-8 encoding, a different vulnerability than CVE-2010-3870.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Use-after-free vulnerability in the Zend engine in PHP before 5.2.15 and 5.3.x before 5.3.4 might allow context-dependent attackers to cause a denial of service (heap memory corruption) or have unspecified other impact via vectors related to use of __set, __get, __isset, and __unset methods on objects accessed by a reference.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Session fixation vulnerability in the Sessions subsystem in PHP before 5.5.2 allows remote attackers to hijack web sessions by specifying a session ID.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions allows context-specific attackers to obtain sensitive information (memory contents) and cause a PHP crash by using the ini_set function to declare a variable, then using the ini_restore function to restore the variable.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP before 5.3.9 has improper libxslt security settings, which allows remote attackers to create arbitrary files via a crafted XSLT stylesheet that uses the libxslt output extension.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 5.1 only, before 5.1.6 (including that release)
Fixed: Not verified
Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name values, which makes it easier for remote attackers to cause a denial of service (malformed $_FILES indexes) or conduct directory traversal attacks during multi-file uploads by leveraging a script that lacks its own filename restrictions.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Buffer overflow in the php_stream_filter_create function in PHP 5 before 5.2.1 allows remote attackers to cause a denial of service (application crash) via a php://filter/ URL that has a name ending in the '.' character.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Buffer overflow in the make_http_soap_request function in PHP before 5.2.2 has unknown impact and remote attack vectors, possibly related to "/" (slash) characters.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The (1) rand and (2) mt_rand functions in PHP 5.2.6 do not produce cryptographically strong random numbers, which allows attackers to leverage exposures in products that rely on these functions for security-relevant functionality, as demonstrated by the password-reset functionality in Joomla! 1.5.x and WordPress before 2.6.2, a different vulnerability than CVE-2008-2107, CVE-2008-2108, and CVE-2008-4102.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP before 5.3.4 accepts the \0 character in a pathname, which might allow context-dependent attackers to bypass intended access restrictions by placing a safe file extension after this character, as demonstrated by .php\0.jpg at the end of the argument to the file_exists function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The WDDX deserializer in the wddx extension in PHP 5 before 5.2.1 and PHP 4 before 4.4.5 does not properly initialize the key_length variable for a numerical key, which allows context-dependent attackers to read stack memory via a wddxPacket element that contains a variable with a string name before a numerical variable.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The php_binary serialization handler in the session extension in PHP before 4.4.5, and 5.x before 5.2.1, allows context-dependent attackers to obtain sensitive information (memory contents) via a serialized variable entry with a large length value, which triggers a buffer over-read.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The FDF support (ext/fdf) in PHP 5.2.0 and earlier does not implement the input filtering hooks for ext/filter, which allows remote attackers to bypass web site filters via an application/vnd.fdf formatted POST.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 truncates e-mail messages at the first ASCIIZ ('\0') byte, which might allow context-dependent attackers to prevent intended information from being delivered in e-mail messages. NOTE: this issue might be security-relevant in cases when the trailing contents of e-mail messages are important, such as logging information or if the message is expected to be well-formed.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The wordwrap function in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, does not properly use the breakcharlen variable, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash, or infinite loop) via certain arguments, as demonstrated by a 'chr(0), 0, ""' argument set.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions by creating a subdirectory named http: and then placing ../ (dot dot slash) sequences in an http URL argument to the (1) chdir or (2) ftok function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Array index error in the imageRotate function in PHP 5.2.8 and earlier allows context-dependent attackers to read the contents of arbitrary memory locations via a crafted value of the third argument (aka the bgd_color or clrBack argument) for an indexed image.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The unserialize function in PHP 5.3.0 and earlier allows context-dependent attackers to cause a denial of service (resource consumption) via a deeply nested serialized variable, as demonstrated by a string beginning with a:1: followed by many {a:1: sequences.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
session.c in the session extension in PHP before 5.2.13, and 5.3.1, does not properly interpret ; (semicolon) characters in the argument to the session_save_path function, which allows context-dependent attackers to bypass open_basedir and safe_mode restrictions via an argument that contains multiple ; characters in conjunction with a .. (dot dot).
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The iconv_mime_decode_headers function in the Iconv extension in PHP before 5.3.4 does not properly handle encodings that are unrecognized by the iconv and mbstring (aka Multibyte String) implementations, which allows remote attackers to trigger an incomplete output array, and possibly bypass spam detection or have unspecified other impact, via a crafted Subject header in an e-mail message, as demonstrated by the ks_c_5601-1987 character set.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The extract function in PHP before 5.2.15 does not prevent use of the EXTR_OVERWRITE parameter to overwrite (1) the GLOBALS superglobal array and (2) the this variable, which allows context-dependent attackers to bypass intended access restrictions by modifying data structures that were not intended to depend on external input, a related issue to CVE-2005-2691 and CVE-2006-3758.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Integer overflow in the mt_rand function in PHP before 5.3.4 might make it easier for context-dependent attackers to predict the return values by leveraging a script's use of a large max parameter, as demonstrated by a value that exceeds mt_getrandmax.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Integer overflow in the SdnToJulian function in the Calendar extension in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (application crash) via a large integer in the first argument to the cal_from_jd function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Unspecified vulnerability in the NumberFormatter::setSymbol (aka numfmt_set_symbol) function in the Intl extension in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (application crash) via an invalid argument, a related issue to CVE-2010-4409.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP before 5.3.7 does not properly check the return values of the malloc, calloc, and realloc library functions, which allows context-dependent attackers to cause a denial of service (NULL pointer dereference and application crash) or trigger a buffer overflow by leveraging the ability to provide an arbitrary value for a function argument, related to (1) ext/curl/interface.c, (2) ext/date/lib/parse_date.c, (3) ext/date/lib/parse_iso_intervals.c, (4) ext/date/lib/parse_tz.c, (5) ext/date/lib/timelib.c, (6) ext/pdo_odbc/pdo_odbc.c, (7) ext/reflection/php_reflection.c, (8) ext/soap/php_sdl.c, (9) ext/xmlrpc/libxmlrpc/base64.c, (10) TSRM/tsrm_win32.c, and (11) the strtotime function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP before 5.3.7 does not properly implement the error_log function, which allows context-dependent attackers to cause a denial of service (application crash) via unspecified vectors.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP before 5.3.9 computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted parameters.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The PDORow implementation in PHP before 5.3.9 does not properly interact with the session feature, which allows remote attackers to cause a denial of service (application crash) via a crafted application that uses a PDO driver for a fetch and then calls the session_start function, as demonstrated by a crash of the Apache HTTP Server.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Memory leak in the timezone functionality in PHP before 5.3.9 allows remote attackers to cause a denial of service (memory consumption) by triggering many strtotime function calls, which are not properly handled by the php_date_parse_tzfile cache.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The libxml RSHUTDOWN function in PHP 5.x allows remote attackers to bypass the open_basedir protection mechanism and read arbitrary files via vectors involving a stream_close method call during use of a custom stream wrapper.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The SOAP parser in PHP before 5.3.23 and 5.4.x before 5.4.13 allows remote attackers to read arbitrary files via a SOAP WSDL file containing an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue in the soap_xmlParseFile and soap_xmlParseMemory functions. NOTE: this vulnerability exists because of an incorrect fix for CVE-2013-1824.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Heap-based buffer overflow in the php_quot_print_encode function in ext/standard/quot_print.c in PHP before 5.3.26 and 5.4.x before 5.4.16 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted argument to the quoted_printable_encode function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Integer overflow in the SdnToJewish function in jewish.c in the Calendar component in PHP before 5.3.26 and 5.4.x before 5.4.16 allows context-dependent attackers to cause a denial of service (application hang) via a large argument to the jdtojewish function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The error_log function in basic_functions.c in PHP before 4.4.4 and 5.x before 5.1.5 allows local users to bypass safe mode and open_basedir restrictions via a "php://" or other scheme in the third argument, which disables safe mode.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The array_user_key_compare function in PHP 4.4.6 and earlier, and 5.x up to 5.2.1, makes erroneous calls to zval_dtor, which triggers memory corruption and allows local users to bypass safe_mode and execute arbitrary code via a certain unset operation after array_user_key_compare has been called.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The zend_hash_init function in PHP 5 before 5.2.1 and PHP 4 before 4.4.5, when running on a 64-bit platform, allows context-dependent attackers to cause a denial of service (infinite loop) by unserializing certain integer expressions, which only cause 32-bit arguments to be used after the check for a negative value, as demonstrated by an "a:2147483649:{" argument.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a "php://../../" sequence.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The session_start function in ext/session in PHP 4.x up to 4.4.7 and 5.x up to 5.2.3 allows remote attackers to insert arbitrary attributes into the session cookie via special characters in a cookie that is obtained from (1) PATH_INFO, (2) the session_id function, and (3) the session_start function, which are not encoded or filtered when the new session cookie is generated, a related issue to CVE-2006-0207.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The htmlspecialchars function in PHP before 5.2.12 does not properly handle (1) overlong UTF-8 sequences, (2) invalid Shift_JIS sequences, and (3) invalid EUC-JP sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks by placing a crafted byte sequence before a special character.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
exif.c in the Exif extension in PHP before 5.3.6 on 64-bit platforms performs an incorrect cast, which allows remote attackers to cause a denial of service (application crash) via an image with a crafted Image File Directory (IFD) that triggers a buffer over-read.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Buffer overflow in the strval function in PHP before 5.3.6, when the precision configuration option has a large value, might allow context-dependent attackers to cause a denial of service (application crash) via a small numerical value in the argument.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Multiple memory leaks in the OpenSSL extension in PHP before 5.3.6 might allow remote attackers to cause a denial of service (memory consumption) via (1) plaintext data to the openssl_encrypt function or (2) ciphertext data to the openssl_decrypt function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Unspecified vulnerability in the Streams component in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (application crash) by accessing an ftp:// URL during use of an HTTP proxy with the FTP wrapper.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The Zip extension in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (application crash) via a ziparchive stream that is not properly handled by the stream_get_contents function.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 4.x up to 4.4.4 and PHP 5 up to 5.1.6 allows local users to bypass certain Apache HTTP Server httpd.conf options, such as safe_mode and open_basedir, via the ini_restore function, which resets the values to their php.ini (Master Value) defaults.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
CRLF injection vulnerability in the ftp_putcmd function in PHP before 4.4.7, and 5.x before 5.2.2 allows remote attackers to inject arbitrary FTP commands via CRLF sequences in the parameters to earlier FTP commands.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
The mcrypt_create_iv function in ext/mcrypt/mcrypt.c in PHP before 4.4.7, 5.2.1, and possibly 5.0.x and other PHP 5 versions, calls php_rand_r with an uninitialized seed variable and therefore always generates the same initialization vector (IV), which might allow context-dependent attackers to decrypt certain data more easily because of the guessable encryption keys.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Cross-site scripting (XSS) vulnerability in PHP, possibly 5.2.7 and earlier, when display_errors is enabled, allows remote attackers to inject arbitrary web script or HTML via unspecified vectors. NOTE: because of the lack of details, it is unclear whether this is related to CVE-2006-0208.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
PHP 4.4.4, 5.1.6, and other versions, when running on Apache, allows local users to modify behavior of other sites hosted on the same web server by modifying the mbstring.func_overload setting within .htaccess, which causes this setting to be applied to other virtual hosts on the same server.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Prerequisites: NVD configuration also requires cpe:2.3:a:apache:apache:*:*:*:*:*:*:*:*
3 records matched only loosely, or trusted sources disagree. Those are marked potentially affected and need verification.
Records that name the PHP runtime but publish no usable version range were excluded instead of guessed.
GREEN means no matching CVE was confirmed in the data that could be checked, and the branch is still supported. It does not mean the installation is secure.