PHP 5.2.0 is known vulnerabilities confirmed: 151 confirmed known vulnerabilities (2 critical, 54 high, 92 medium, 3 low, 31 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
151 confirmed findings (2 critical, 54 high, 92 medium, 3 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: 2 critical, 54 high, 92 medium, 3 low. 33 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.2.0
Official support
End of life
PHP 5.2
Known vulnerabilities
151
33 need verification
Critical / high
2 / 54
Confirmed findings only
RCE-related CVEs
31
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.2
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.2 no longer receives upstream fixes. Running its last patch still leaves the installation unsupported.
Moving from 5.2 to 8.6 can change language behavior, removed extensions, and default settings. Review each migration guide before upgrading: 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
2 Nov 2006
Active support end
2 Nov 2008
Security support end
6 Jan 2011
Latest patch on branch
5.2.17
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-2008-5557Confirmed vulnerableHIGH
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.2 only, 5.2.0 exactly
Fixed version: 5.2.1
CVSS: 10 (v2.0)
Documented prerequisites: NVD configuration also requires cpe:2.3:o:microsoft:windows:*:*:*:*:*:*:*:*
Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute arbitrary code via a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback.
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.
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.2 only, 5.2.0 exactly
Fixed version: 5.2.1
CVSS: 9.3 (v2.0)
Classification basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.
Affected versions: PHP 5.2 only, before 5.2.4 (including that release)
Fixed version: Not verified
CVSS: 9.3 (v2.0)
Classification basis: CWE-78 (OS Command Injection) is listed on the record
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
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.
Buffer overflow in the snmpget function in the snmp extension in PHP 5.2.3 and earlier, including PHP 4.4.6 and probably other PHP 4 versions, allows context-dependent attackers to execute arbitrary code via a long value in the third argument (object id).
Affected versions: PHP 5.2 only, before 5.2.3 (including that release)
Buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro in the filtering extension (ext/filter) in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by calling filter_var with certain modes such as FILTER_VALIDATE_INT, which causes filter to write a null byte in whitespace that precedes the buffer.
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.
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 signedness error in the _zend_mm_alloc_int function in the Zend Memory Manager in PHP 5.2.0 allows remote attackers to execute arbitrary code via a large emalloc request, related to an incorrect signed long cast, as demonstrated via the HTTP SOAP client in PHP, and via a call to msg_receive with the largest positive integer value of maxsize.
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 buffer overflows in php_iisfunc.dll in the iisfunc extension for PHP 5.2.0 and earlier allow context-dependent attackers to execute arbitrary code, probably during Unicode conversion, as demonstrated by a long string in the first argument to the iis_getservicestate function, related to the ServiceId argument to the (1) fnStartService, (2) fnGetServiceState, (3) fnStopService, and possibly other functions.
Affected versions: PHP 5.2 only, before 5.2.0 (including that release)
Directory traversal vulnerability in PHP 5.2.4 and earlier allows attackers to bypass open_basedir restrictions and possibly execute arbitrary code via a .. (dot dot) in the dl function.
Affected versions: PHP 5.2 only, before 5.2.3 (including that release)
Heap-based buffer overflow in pcre_compile.c in the Perl-Compatible Regular Expression (PCRE) library 7.7 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a regular expression that begins with an option and contains multiple branches.
Affected versions: 5.2.0 (including) to 5.2.7 (including)
Buffer overflow in the imageloadfont function in ext/gd/gd.c in PHP 4.4.x before 4.4.9 and PHP 5.2 before 5.2.6-r6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted font file.
The (1) sqlite_single_query and (2) sqlite_array_query functions in ext/sqlite/sqlite.c in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to execute arbitrary code by calling these functions with an empty SQL query, which triggers access of uninitialized memory.
Affected versions: PHP 5.2 only, 5.2.0 exactly
Fixed version: 5.2.1
CVSS: 7.5 (v2.0)
Classification basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
Use-after-free vulnerability in the SplObjectStorage unserializer in PHP 5.2.x and 5.3.x through 5.3.2 allows remote attackers to execute arbitrary code or obtain sensitive information via serialized data, related to the PHP unserialize function.
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.
Stack-based buffer overflow in the date_from_ISO8601 function in ext/xmlrpc/libxmlrpc/xmlrpc.c in PHP before 5.2.7 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code by including a timezone field in a date, leading to improper XML-RPC encoding.
Affected versions: PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
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.
Double free vulnerability in PHP before 4.4.7, and 5.x before 5.2.2, allows context-dependent attackers to execute arbitrary code by interrupting the session_regenerate_id function, as demonstrated by calling a userspace error handler or triggering a memory limit violation.
Affected versions: PHP 5.2 only, before 5.2.1 (including that release)
Double free vulnerability in the session extension in PHP 5.2.0 and 5.2.1 allows context-dependent attackers to execute arbitrary code via illegal characters in a session identifier, which is rejected by an internal session storage module, which calls the session identifier generator with an improper environment, leading to code execution when the generator is interrupted, as demonstrated by triggering a memory limit violation or certain PHP errors.
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.
Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by passing an all-whitespace string to this function, which causes it to write '\0' characters in whitespace that precedes the string.
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.2 only, 5.2.0 exactly
Fixed version: 5.2.1
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.
Multiple integer overflows in libgd in PHP before 5.2.4 allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large (1) srcW or (2) srcH value to the (a) gdImageCopyResized function, or a large (3) sy (height) or (4) sx (width) value to the (b) gdImageCreate or the (c) gdImageCreateTrueColor function.
Affected versions: PHP 5.2 only, before 5.2.3 (including that release)
Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function. NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible.
PHP before 5.2.3 allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the pattern parameter to the glob function; or (2) a long string in the string parameter to the fnmatch function, accompanied by a pattern parameter value with undefined characteristics, as demonstrated by a "*[1]e" value. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.
Affected versions: PHP 5.2 only, before 5.2.3 (including that release)
Fixed version: Not verified
CVSS: 5 (v2.0)
Classification basis: CWE-94 (Code Injection) is listed on the record
Double free vulnerability in the imap_do_open function in the IMAP extension (ext/imap/php_imap.c) in PHP 5.2 before 5.2.15 and 5.3 before 5.3.4 allows attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via unspecified vectors.
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)
Buffer overflow in php_win32std.dll in the win32std extension for PHP 5.2.0 and earlier allows context-dependent attackers to execute arbitrary code via a long string in the filename argument to the win_browse_file function.
Affected versions: PHP 5.2 only, before 5.2.0 (including that release)
PHP 5.2 only, before 5.2.0 (including that release)
Not verified
CVE-2008-2050
Confirmed vulnerable
HIGH
10
PHP 5.2 only, before 5.2.5 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.6
CVE-2008-2051
Confirmed vulnerable
HIGH
10
PHP 5.2 only, before 5.2.5 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.6
CVE-2008-5557
Confirmed vulnerable
HIGH
10
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2009-4143
Confirmed vulnerable
HIGH
10
PHP 5.2 only, before 5.2.11 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.12
CVE-2011-3268
Confirmed vulnerable
HIGH
10
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-2376
Confirmed vulnerable
HIGH
10
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-2688
Confirmed vulnerable
HIGH
10
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1399
Confirmed vulnerable
CRITICAL
9.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2008-0599
Potentially affected — verification required
CRITICAL
9.8
PHP 5.2 only, before 5.2.6
Not verified
CVE-2008-2108
Confirmed vulnerable
CRITICAL
9.8
5.0.0 (including) to 5.2.5 (excluding)
5.2.5
CVE-2007-1581
Confirmed vulnerable
HIGH
9.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-2844
Confirmed vulnerable
HIGH
9.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-5653
Potentially affected — verification required
HIGH
9.3
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2018-19520
Confirmed vulnerable
HIGH
8.8
5.0.0 (including) to 5.6.38 (including)
Not verified
CVE-2007-1461
Confirmed vulnerable
HIGH
7.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1718
Confirmed vulnerable
HIGH
7.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1883
Confirmed vulnerable
HIGH
7.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-0905
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-0906
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-0909
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1285
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.2.2 (excluding)
5.2.2
CVE-2007-1376
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1413
Potentially affected — verification required
HIGH
7.5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-1453
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1700
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1864
Confirmed vulnerable
HIGH
7.5
5.2.0 (including) to 5.2.2 (excluding)
5.2.2
CVE-2007-1885
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1887
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.2.3 (excluding)
5.2.3
CVE-2007-1888
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1889
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1890
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-3997
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.2.4 (excluding)
5.2.4
CVE-2007-4586
Potentially affected — verification required
HIGH
7.5
PHP 5.2 only, before 5.2.0 (including that release)
Not verified
CVE-2007-4657
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.2.4 (excluding)
5.2.4
CVE-2007-4658
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-4659
Potentially affected — verification required
HIGH
7.5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-4660
Potentially affected — verification required
HIGH
7.5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-4662
Potentially affected — verification required
HIGH
7.5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-4663
Potentially affected — verification required
HIGH
7.5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-4825
Potentially affected — verification required
HIGH
7.5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2008-2107
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2008-2371
Confirmed vulnerable
HIGH
7.5
5.2.0 (including) to 5.2.7 (including)
5.2.8
CVE-2008-3658
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2008-5624
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2008-5625
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.8
CVE-2008-5658
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.8
CVE-2009-3291
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.11
CVE-2009-3292
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.11
CVE-2009-3293
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.11
CVE-2009-4018
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.11
CVE-2010-1129
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-1868
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-2225
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
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.2 only, 5.2.0 exactly
5.2.1
CVE-2011-1153
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-2311
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2013-1635
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2014-8626
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.8
CVE-2014-9427
Confirmed vulnerable
HIGH
7.5
PHP 5.2 only, 5.2.0 exactly
5.2.1
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.2 only, 5.2.0 exactly
5.2.1
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-2007-5900
Potentially affected — verification required
MEDIUM
6.9
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2007-1001
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1396
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1521
Potentially affected — verification required
MEDIUM
6.8
PHP 5.2 only, before 5.2.1 (including that release)
Not verified
CVE-2007-1522
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1582
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1583
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1584
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1701
Confirmed vulnerable
MEDIUM
6.8
5.0.0 (including) to 5.2.1 (excluding)
5.2.1
CVE-2007-1884
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-2872
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-3378
Confirmed vulnerable
MEDIUM
6.8
5.0.0 (including) to 5.2.3 (including)
5.2.4
CVE-2007-3996
Potentially affected — verification required
MEDIUM
6.8
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-4889
Potentially affected — verification required
MEDIUM
6.8
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2009-3558
Potentially affected — verification required
MEDIUM
6.8
PHP 5.2 only, before 5.2.10 (including that release)
Not verified
CVE-2009-5016
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.11
CVE-2010-3870
Potentially affected — verification required
MEDIUM
6.8
PHP 5.2 only, before 5.2.14
Not verified
CVE-2010-4697
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, before 5.2.14 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.15
CVE-2011-4718
Confirmed vulnerable
MEDIUM
6.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-5898
Potentially affected — verification required
MEDIUM
6.4
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2008-3659
Confirmed vulnerable
MEDIUM
6.4
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2009-2626
Confirmed vulnerable
MEDIUM
6.4
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.11
CVE-2010-1128
Confirmed vulnerable
MEDIUM
6.4
PHP 5.2 only, before 5.2.12 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.13
CVE-2010-1861
Confirmed vulnerable
MEDIUM
6.4
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-2191
Confirmed vulnerable
MEDIUM
6.4
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-0057
Confirmed vulnerable
MEDIUM
6.4
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-1172
Confirmed vulnerable
MEDIUM
5.8
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1824
Confirmed vulnerable
MEDIUM
5.1
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-2510
Confirmed vulnerable
MEDIUM
5.1
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2008-4107
Confirmed vulnerable
MEDIUM
5.1
PHP 5.2 only, before 5.2.5 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.6
CVE-2006-7243
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-0907
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-0908
Confirmed vulnerable
MEDIUM
5
5.0.0 (including) to 5.2.1 (excluding)
5.2.1
CVE-2007-1375
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.1 (including that release)
Not verified
CVE-2007-1380
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1452
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1460
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1717
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1900
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-3007
Confirmed vulnerable
MEDIUM
5
5.0.0 (including) to 5.2.3 (excluding)
5.2.3
CVE-2007-3998
Confirmed vulnerable
MEDIUM
5
5.0.0 (including) to 5.2.4 (excluding)
5.2.4
CVE-2007-4670
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-4782
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-4783
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2007-4784
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.3 (including that release)
Not verified
CVE-2007-4840
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2008-1384
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.5 (including that release)
Not verified
CVE-2008-2666
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.8
CVE-2008-3660
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2008-5498
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, before 5.2.8 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.9
CVE-2009-1271
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2009-1272
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2009-3294
Confirmed vulnerable
MEDIUM
5
5.2.0 (including) to 5.2.11 (excluding)
5.2.11
CVE-2009-3557
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.11 (including that release)
Not verified
CVE-2009-4017
Potentially affected — verification required
MEDIUM
5
PHP 5.2 only, before 5.2.12
Not verified
CVE-2009-4418
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-1130
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, before 5.2.12 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.13
CVE-2010-1860
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-1862
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-1864
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-1914
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-1915
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-1917
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-2093
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-2097
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-2100
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-2101
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-2190
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-2484
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-3065
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-3436
Confirmed vulnerable
MEDIUM
5
5.2.0 (including) to 5.2.15 (excluding)
5.2.15
CVE-2010-4150
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-4645
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-4698
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2010-4699
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-0752
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, before 5.2.14 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.15
CVE-2011-0755
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-1466
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-1467
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-3182
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-3267
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-4885
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-0788
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-0789
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-1171
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-2336
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2012-3365
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2013-1643
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2013-2110
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2013-4635
Confirmed vulnerable
MEDIUM
5
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2006-6383
Confirmed vulnerable
MEDIUM
4.6
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-1484
Confirmed vulnerable
MEDIUM
4.6
5.0.0 (including) to 5.2.1 (including)
5.2.2
CVE-2007-1835
Confirmed vulnerable
MEDIUM
4.6
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-4441
Potentially affected — verification required
MEDIUM
4.6
PHP 5.2 only, before 5.2.0 (including that release)
Not verified
CVE-2007-4652
Confirmed vulnerable
MEDIUM
4.4
PHP 5.2 only, before 5.2.3 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.4
CVE-2007-0988
Confirmed vulnerable
MEDIUM
4.3
5.0.0 (including) to 5.2.1 (excluding)
5.2.1
CVE-2007-1454
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-2748
Potentially affected — verification required
MEDIUM
4.3
PHP 5.2 only, before 5.2.1 (including that release)
Not verified
CVE-2007-3799
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-4887
Potentially affected — verification required
MEDIUM
4.3
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2007-5899
Potentially affected — verification required
MEDIUM
4.3
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2009-2687
Potentially affected — verification required
MEDIUM
4.3
PHP 5.2 only, before 5.2.10
Not verified
CVE-2009-4142
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, before 5.2.11 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.12
CVE-2010-2531
Confirmed vulnerable
MEDIUM
4.3
5.2.0 (including) to 5.2.14 (excluding)
5.2.14
CVE-2010-3709
Confirmed vulnerable
MEDIUM
4.3
5.2.0 (including) to 5.2.15 (excluding)
5.2.15
CVE-2010-3710
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-0421
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-0708
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-1464
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-1468
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-1469
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-1470
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2011-1471
Potentially affected — verification required
MEDIUM
4.3
PHP 5.2 only, before 5.2.11
Not verified
CVE-2013-4248
Confirmed vulnerable
MEDIUM
4.3
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-2509
Confirmed vulnerable
LOW
2.6
PHP 5.2 only, 5.2.0 exactly
5.2.1
CVE-2007-2727
Confirmed vulnerable
LOW
2.6
5.0.0 (including) to 5.2.2 (excluding)
5.2.2
CVE-2008-5814
Confirmed vulnerable
LOW
2.6
PHP 5.2 only, before 5.2.7 (including that release); PHP 5.2 only, 5.2.0 exactly
5.2.8
CVE-2007-6039
Potentially affected — verification required
LOW
2.1
PHP 5.2 only, before 5.2.4 (including that release)
Not verified
CVE-2007-0448
HIGH
CVSS 10
PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.1
The fopen function in PHP 5.2.0 does not properly handle invalid URI handlers, which allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files via a file path specified with an invalid URI, as demonstrated via the srpath URI.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.11 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.12
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.
Sources name 5.2.1, 5.2.12. 5.2.12 is the later bound, so it covers every stated fix, and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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."
5.2.1 is the fixed release named by the matching range and it is published on php.net.
Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute arbitrary code via a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.
Sources name 5.2.6, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.5 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.4 (including that release)
Fixed: Not verified
The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
RCE basis: CWE-78 (OS Command Injection) is listed on the record
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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).
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.2 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
Buffer overflow in the snmpget function in the snmp extension in PHP 5.2.3 and earlier, including PHP 4.4.6 and probably other PHP 4 versions, allows context-dependent attackers to execute arbitrary code via a long value in the third argument (object id).
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
Buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro in the filtering extension (ext/filter) in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by calling filter_var with certain modes such as FILTER_VALIDATE_INT, which causes filter to write a null byte in whitespace that precedes the buffer.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.3 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
Integer signedness error in the _zend_mm_alloc_int function in the Zend Memory Manager in PHP 5.2.0 allows remote attackers to execute arbitrary code via a large emalloc request, related to an incorrect signed long cast, as demonstrated via the HTTP SOAP client in PHP, and via a call to msg_receive with the largest positive integer value of maxsize.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.4 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.0 (including that release)
Fixed: Not verified
Multiple buffer overflows in php_iisfunc.dll in the iisfunc extension for PHP 5.2.0 and earlier allow context-dependent attackers to execute arbitrary code, probably during Unicode conversion, as demonstrated by a long string in the first argument to the iis_getservicestate function, related to the ServiceId argument to the (1) fnStartService, (2) fnGetServiceState, (3) fnStopService, and possibly other functions.
Sources name 5.2.1, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.4 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
The zend_alter_ini_entry function in PHP before 5.2.4 does not properly handle an interruption to the flow of execution triggered by a memory_limit violation, which has unknown impact and attack vectors.
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
Unspecified vulnerability in the chunk_split function in PHP before 5.2.4 has unknown impact and attack vectors, related to an incorrect size calculation.
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
Directory traversal vulnerability in PHP before 5.2.4 allows attackers to bypass open_basedir restrictions via unspecified vectors involving the glob function.
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
Directory traversal vulnerability in PHP 5.2.4 and earlier allows attackers to bypass open_basedir restrictions and possibly execute arbitrary code via a .. (dot dot) in the dl function.
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
Heap-based buffer overflow in pcre_compile.c in the Perl-Compatible Regular Expression (PCRE) library 7.7 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a regular expression that begins with an option and contains multiple branches.
5.2.8 is the fixed release named by the matching range and it is published on php.net.
Buffer overflow in the imageloadfont function in ext/gd/gd.c in PHP 4.4.x before 4.4.9 and PHP 5.2 before 5.2.6-r6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted font file.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.8
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.
Sources name 5.2.1, 5.2.8. 5.2.8 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.8
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.
Sources name 5.2.1, 5.2.8. 5.2.8 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.11
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.
Sources name 5.2.1, 5.2.11. 5.2.11 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.11
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."
Sources name 5.2.1, 5.2.11. 5.2.11 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.11
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."
Sources name 5.2.1, 5.2.11. 5.2.11 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.11
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.
Sources name 5.2.1, 5.2.11. 5.2.11 is the later bound, so it covers every stated fix, and it is published on php.net.
The safe_mode implementation in PHP before 5.2.13 does not properly handle directory pathnames that lack a trailing / (slash) character, which allows context-dependent attackers to bypass intended access restrictions via vectors related to use of the tempnam function.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The (1) sqlite_single_query and (2) sqlite_array_query functions in ext/sqlite/sqlite.c in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to execute arbitrary code by calling these functions with an empty SQL query, which triggers access of uninitialized memory.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
RCE basis: CWE-94 (Code Injection) is listed on the record; Description says arbitrary code execution
Use-after-free vulnerability in the SplObjectStorage unserializer in PHP 5.2.x and 5.3.x through 5.3.2 allows remote attackers to execute arbitrary code or obtain sensitive information via serialized data, related to the PHP unserialize function.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.8
Stack-based buffer overflow in the date_from_ISO8601 function in ext/xmlrpc/libxmlrpc/xmlrpc.c in PHP before 5.2.7 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code by including a timezone field in a date, leading to improper XML-RPC encoding.
Sources name 5.2.1, 5.2.8. 5.2.8 is the later bound, so it covers every stated fix, and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.2 only, before 5.2.4 (including that release)
Fixed: Not verified
PHP before 5.2.5 allows local users to bypass protection mechanisms configured through php_admin_value or php_admin_flag in httpd.conf by using ini_set to modify arbitrary configuration variables, a different issue than CVE-2006-4625.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.1 (including that release)
Fixed: Not verified
Double free vulnerability in PHP before 4.4.7, and 5.x before 5.2.2, allows context-dependent attackers to execute arbitrary code by interrupting the session_regenerate_id function, as demonstrated by calling a userspace error handler or triggering a memory limit violation.
Sources name 5.2.2, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
Double free vulnerability in the session extension in PHP 5.2.0 and 5.2.1 allows context-dependent attackers to execute arbitrary code via illegal characters in a session identifier, which is rejected by an internal session storage module, which calls the session identifier generator with an improper environment, leading to code execution when the generator is interrupted, as demonstrated by triggering a memory limit violation or certain PHP errors.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by passing an all-whitespace string to this function, which causes it to write '\0' characters in whitespace that precedes the string.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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:".
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.4 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
Multiple integer overflows in libgd in PHP before 5.2.4 allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large (1) srcW or (2) srcH value to the (a) gdImageCopyResized function, or a large (3) sy (height) or (4) sx (width) value to the (b) gdImageCreate or the (c) gdImageCreateTrueColor function.
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.4 (including that release)
Fixed: Not verified
The MySQL extension in PHP 5.2.4 and earlier allows remote attackers to bypass safe_mode and open_basedir restrictions via the MySQL (1) LOAD_FILE, (2) INTO DUMPFILE, and (3) INTO OUTFILE functions, a different issue than CVE-2007-3997.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.10 (including that release)
Fixed: Not verified
The posix_mkfifo function in ext/posix/posix.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass open_basedir restrictions, and create FIFO files, via the pathname and mode arguments, as demonstrated by creating a .htaccess file.
Sources name 5.2.11, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.11
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.
Sources name 5.2.1, 5.2.11. 5.2.11 is the later bound, so it covers every stated fix, and it is published on php.net.
The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string.
Sources name 5.2.14, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.14 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.15
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.
Sources name 5.2.1, 5.2.15. 5.2.15 is the later bound, so it covers every stated fix, and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.4 (including that release)
Fixed: Not verified
The (1) htmlentities and (2) htmlspecialchars functions in PHP before 5.2.5 accept partial multibyte sequences, which has unknown impact and attack vectors, a different issue than CVE-2006-5465.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function. NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.10 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.11
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.
Sources name 5.2.1, 5.2.11. 5.2.11 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 5.2 only, before 5.2.12 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.13
The Linear Congruential Generator (LCG) in PHP before 5.2.13 does not provide the expected entropy, which makes it easier for context-dependent attackers to guess values that were intended to be unpredictable, as demonstrated by session cookies generated by using the uniqid function.
Sources name 5.2.1, 5.2.13. 5.2.13 is the later bound, so it covers every stated fix, and it is published on php.net.
The sysvshm extension for PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to write to arbitrary memory addresses by using an object's __sleep function to interrupt an internal call to the shm_put_var function, which triggers access of a freed resource.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The (1) parse_str, (2) preg_match, (3) unpack, and (4) pack functions; the (5) ZEND_FETCH_RW, (6) ZEND_CONCAT, and (7) ZEND_ASSIGN_CONCAT opcodes; and the (8) ArrayObject::uasort method in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to obtain sensitive information (memory contents) or trigger memory corruption by causing a userspace interruption of an internal function or handler. NOTE: vectors 2 through 4 are related to the call time pass by reference feature.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.5 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.6
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.
Sources name 5.2.1, 5.2.6. 5.2.6 is the later bound, so it covers every stated fix, and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.1 (including that release)
Fixed: Not verified
Integer overflow in the substr_compare function in PHP 5.2.1 and earlier allows context-dependent attackers to read sensitive memory via a large value in the length argument, a different vulnerability than CVE-2006-1991.
Sources name 5.2.2, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The zip:// URL wrapper provided by the PECL zip extension in PHP before 4.4.7, and 5.2.0 and 5.2.1, does not implement safemode or open_basedir checks, which allows remote attackers to read ZIP archives located outside of the intended directories.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
CRLF injection vulnerability in the FILTER_VALIDATE_EMAIL filter in ext/filter in PHP 5.2.0 and 5.2.1 allows context-dependent attackers to inject arbitrary e-mail headers via an e-mail address with a '\n' character, which causes a regular expression to ignore the subsequent part of the address string.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.3 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.4 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
Unspecified vulnerability in PHP before 5.2.4 has unknown impact and attack vectors, related to an "Improved fix for MOPB-03-2007," probably a variant of CVE-2007-1285.
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
PHP before 5.2.3 allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the pattern parameter to the glob function; or (2) a long string in the string parameter to the fnmatch function, accompanied by a pattern parameter value with undefined characteristics, as demonstrated by a "*[1]e" value. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
RCE basis: CWE-94 (Code Injection) is listed on the record
PHP 5.2 only, before 5.2.4 (including that release)
Fixed: Not verified
The iconv_substr function in PHP 5.2.4 and earlier allows context-dependent attackers to cause (1) a denial of service (application crash) via a long string in the charset parameter, probably also requiring a long string in the str parameter; or (2) a denial of service (temporary application hang) via a long string in the str parameter. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.3 (including that release)
Fixed: Not verified
The setlocale function in PHP before 5.2.4 allows context-dependent attackers to cause a denial of service (application crash) via a long string in the locale parameter. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution.
Sources name 5.2.4, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.4 (including that release)
Fixed: Not verified
PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the out_charset parameter to the iconv function; or a long string in the charset parameter to the (2) iconv_mime_decode_headers, (3) iconv_mime_decode, or (4) iconv_strlen function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.5 (including that release)
Fixed: Not verified
Integer overflow in PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service and possibly have unspecified other impact via a printf format parameter with a large width specifier, related to the php_sprintf_appendstring function in formatted_print.c and probably other functions for formatted strings (aka *printf functions).
Sources name 5.2.6, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.6 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.8
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.
Sources name 5.2.1, 5.2.8. 5.2.8 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 4.4.x before 4.4.9, and 5.x through 5.2.6, when used as a FastCGI module, allows remote attackers to cause a denial of service (crash) via a request with multiple dots preceding the extension, as demonstrated using foo..php.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.8 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.9
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.
Sources name 5.2.1, 5.2.9. 5.2.9 is the later bound, so it covers every stated fix, and it is published on php.net.
The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before 5.2.9 allows remote attackers to cause a denial of service (segmentation fault) via a malformed string to the json_decode API function.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The php_zip_make_relative_path function in php_zip.c in PHP 5.2.x before 5.2.9 allows context-dependent attackers to cause a denial of service (crash) via a ZIP file that contains filenames with relative paths, which is not properly handled during extraction.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The popen API function in TSRM/tsrm_win32.c in PHP before 5.2.11 and 5.3.x before 5.3.1, when running on certain Windows operating systems, allows context-dependent attackers to cause a denial of service (crash) via a crafted (1) "e" or (2) "er" string in the second argument (aka mode), possibly related to the _fdopen function in the Microsoft C runtime library. NOTE: this might not cross privilege boundaries except in rare cases in which the mode argument is accessible to an attacker outside of an application that uses the popen function.
5.2.11 is the fixed release named by the matching range and it is published on php.net.
Prerequisites: NVD configuration also requires cpe:2.3:o:microsoft:windows_7:*:*:*:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:microsoft:windows_server_2008:*:*:*:*:*:*:*:*; NVD configuration also requires cpe:2.3:o:microsoft:windows_xp:*:*:*:*:*:*:*:*
PHP 5.2 only, before 5.2.11 (including that release)
Fixed: Not verified
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.
Sources name 5.2.12, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP before 5.2.12 and 5.3.x before 5.3.1 does not restrict the number of temporary files created when handling a multipart/form-data POST request, which allows remote attackers to cause a denial of service (resource exhaustion), and makes it easier for remote attackers to exploit local file inclusion vulnerabilities, via multiple requests, related to lack of support for the max_file_uploads directive.
Sources name 5.2.12, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.12 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.13
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).
Sources name 5.2.1, 5.2.13. 5.2.13 is the later bound, so it covers every stated fix, and it is published on php.net.
The html_entity_decode function in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to obtain sensitive information (memory contents) or trigger memory corruption by causing a userspace interruption of an internal call, related to the call time pass by reference feature.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The chunk_split function in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The addcslashes function in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The Zend Engine in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to obtain sensitive information by interrupting the handler for the (1) ZEND_BW_XOR opcode (shift_left_function), (2) ZEND_SL opcode (bitwise_xor_function), or (3) ZEND_SR opcode (shift_right_function), related to the convert_to_long_base function.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The preg_quote function in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature, modification of ZVALs whose values are not updated in the associated local variables, and access of previously-freed memory.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
Stack consumption vulnerability in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to cause a denial of service (PHP crash) via a crafted first argument to the fnmatch function, as demonstrated using a long string.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
Use-after-free vulnerability in the request shutdown functionality in PHP 5.2 before 5.2.13 and 5.3 before 5.3.2 allows context-dependent attackers to cause a denial of service (crash) via a stream context structure that is freed before destruction occurs.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The (1) iconv_mime_decode, (2) iconv_substr, and (3) iconv_mime_encode functions in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The (1) htmlentities, (2) htmlspecialchars, (3) str_getcsv, (4) http_build_query, (5) strpbrk, and (6) strtr functions in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The (1) strip_tags, (2) setcookie, (3) strtok, (4) wordwrap, (5) str_word_count, and (6) str_pad functions in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The (1) trim, (2) ltrim, (3) rtrim, and (4) substr_replace functions in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The strrchr function in PHP 5.2 before 5.2.14 allows context-dependent attackers to obtain sensitive information (memory contents) or trigger memory corruption by causing a userspace interruption of an internal function or handler.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
The default session serializer in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 does not properly handle the PS_UNDEF_MARKER marker, which allows context-dependent attackers to modify arbitrary session variables via a crafted session variable name.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
fopen_wrappers.c in PHP 5.3.x through 5.3.3 might allow remote attackers to bypass open_basedir restrictions via vectors related to the length of a filename.
5.2.15 is the fixed release named by the matching range and it is published on php.net.
Double free vulnerability in the imap_do_open function in the IMAP extension (ext/imap/php_imap.c) in PHP 5.2 before 5.2.15 and 5.3 before 5.3.4 allows attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via unspecified vectors.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
strtod.c, as used in the zend_strtod function in PHP 5.2 before 5.2.17 and 5.3 before 5.3.5, and other products, allows context-dependent attackers to cause a denial of service (infinite loop) via a certain floating-point value in scientific notation, which is not properly handled in x87 FPU registers, as demonstrated using 2.2250738585072011e-308.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
Stack-based buffer overflow in the GD extension in PHP before 5.2.15 and 5.3.x before 5.3.4 allows context-dependent attackers to cause a denial of service (application crash) via a large number of anti-aliasing steps in an argument to the imagepstext function.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.14 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.15
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.
Sources name 5.2.1, 5.2.15. 5.2.15 is the later bound, so it covers every stated fix, and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2.0 and 4.4 allows local users to bypass safe_mode and open_basedir restrictions via a malicious path and a null byte before a ";" in a session_save_path argument, followed by an allowed path, which causes a parsing inconsistency in which PHP validates the allowed path but sets session.save_path to the malicious path.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.2 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.0 (including that release)
Fixed: Not verified
Buffer overflow in php_win32std.dll in the win32std extension for PHP 5.2.0 and earlier allows context-dependent attackers to execute arbitrary code via a long string in the filename argument to the win_browse_file function.
Sources name 5.2.1, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
ext/filter in PHP 5.2.0, when FILTER_SANITIZE_STRING is used with the FILTER_FLAG_STRIP_LOW flag, does not properly strip HTML tags, which allows remote attackers to conduct cross-site scripting (XSS) attacks via HTML with a '<' character followed by certain whitespace characters, which passes one filter but is collapsed into a valid tag, as demonstrated using %0b.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.1 (including that release)
Fixed: Not verified
The substr_count function in PHP 5.2.1 and earlier allows context-dependent attackers to obtain sensitive information via unspecified vectors, a different affected function than CVE-2007-1375.
Sources name 5.2.2, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.4 (including that release)
Fixed: Not verified
The dl function in PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long string in the library parameter. NOTE: there are limited usage scenarios under which this would be a vulnerability.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.4 (including that release)
Fixed: Not verified
The output_add_rewrite_var function in PHP before 5.2.5 rewrites local forms in which the ACTION attribute references a non-local URL, which allows remote attackers to obtain potentially sensitive information by reading the requests for this URL, as demonstrated by a rewritten form containing a local session ID.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
The exif_read_data function in the Exif module in PHP before 5.2.10 allows remote attackers to cause a denial of service (crash) via a malformed JPEG image with invalid offset fields, a different issue than CVE-2005-3353.
Sources name 5.2.10, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
PHP 5.2 only, before 5.2.11 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.12
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.
Sources name 5.2.1, 5.2.12. 5.2.12 is the later bound, so it covers every stated fix, and it is published on php.net.
The var_export function in PHP 5.2 before 5.2.14 and 5.3 before 5.3.3 flushes the output buffer to the user when certain fatal errors occur, even if display_errors is off, which allows remote attackers to obtain sensitive information by causing the application to exceed limits for memory, execution time, or recursion.
5.2.14 is the fixed release named by the matching range and it is published on php.net.
The ZipArchive::getArchiveComment function in PHP 5.2.x through 5.2.14 and 5.3.x through 5.3.3 allows context-dependent attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted ZIP archive.
5.2.15 is the fixed release named by the matching range and it is published on php.net.
Stack consumption vulnerability in the filter_var function in PHP 5.2.x through 5.2.14 and 5.3.x through 5.3.3, when FILTER_VALIDATE_EMAIL mode is used, allows remote attackers to cause a denial of service (memory consumption and application crash) via a long e-mail address string.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
Integer signedness error in zip_stream.c in the Zip extension in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (CPU consumption) via a malformed archive file that triggers errors in zip_fread function calls.
Sources name 5.2.11, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.1 is the fixed release named by the matching range and it is published on php.net.
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.
5.2.2 is the fixed release named by the matching range and it is published on php.net.
PHP 5.2 only, before 5.2.7 (including that release); PHP 5.2 only, 5.2.0 exactly
Fixed: 5.2.8
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.
Sources name 5.2.1, 5.2.8. 5.2.8 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 5.2 only, before 5.2.4 (including that release)
Fixed: Not verified
PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long string in (1) the domain parameter to the dgettext function, the message parameter to the (2) dcgettext or (3) gettext function, the msgid1 parameter to the (4) dngettext or (5) ngettext function, or (6) the classname parameter to the stream_wrapper_register function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution.
Sources name 5.2.5, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
33 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.