PHP 5.3.22 is known vulnerabilities confirmed: 17 confirmed known vulnerabilities (0 critical, 9 high, 7 medium, 1 low, 3 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
17 confirmed findings (0 critical, 9 high, 7 medium, 1 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: 0 critical, 9 high, 7 medium, 1 low. 10 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.3.22
Official support
End of life
PHP 5.3
Known vulnerabilities
17
10 need verification
Critical / high
0 / 9
Confirmed findings only
RCE-related CVEs
3
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.3
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.3 no longer receives upstream fixes. Running its last patch still leaves the installation unsupported.
Moving from 5.3 to 8.6 can change language behavior, removed extensions, and default settings. Review each migration guide before upgrading: 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
Not provided
Active support end
Not provided
Security support end
14 Aug 2014
Latest patch on branch
5.3.29
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-2018-19520Confirmed vulnerableHIGH
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
The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.
Affected versions: PHP 5.3 only, before 5.3.27 (including that release); PHP 5.3 only, 5.3.22 exactly
The SPL component in PHP before 5.4.30 and 5.5.x before 5.5.14 incorrectly anticipates that certain data structures will have the array data type after unserialization, which allows remote attackers to execute arbitrary code via a crafted string that triggers use of a Hashtable destructor, related to "type confusion" issues in (1) ArrayObject and (2) SPLObjectStorage.
Heap-based buffer overflow in the php_parserr function in ext/standard/dns.c in PHP 5.6.0beta4 and earlier allows remote servers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted DNS TXT record, related to the dns_get_record function.
Affected versions: 5.3.0 (including) to 5.3.29 (excluding)
PHP 5.3 only, before 5.3.28 (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-2010-4657
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 5.4.4 (excluding)
Not verified
CVE-2013-6420
Confirmed vulnerable
HIGH
7.5
PHP 5.3 only, before 5.3.27 (including that release); PHP 5.3 only, 5.3.22 exactly
5.3.28
CVE-2014-3515
Potentially affected — verification required
HIGH
7.5
PHP 5.3 only, before 5.3.29
Not verified
CVE-2014-9427
Confirmed vulnerable
HIGH
7.5
PHP 5.3 only, 5.3.22 exactly
5.3.23
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.3 only, 5.3.22 exactly
5.3.23
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-2014-0185
Confirmed vulnerable
HIGH
7.2
5.3.0 (including) to 5.3.28 (excluding)
5.3.28
CVE-2011-4718
Confirmed vulnerable
MEDIUM
6.8
PHP 5.3 only, 5.3.22 exactly
5.3.23
CVE-2013-4113
Confirmed vulnerable
MEDIUM
6.8
5.3.0 (including) to 5.3.27 (excluding)
5.3.27
CVE-2014-0207
Potentially affected — verification required
MEDIUM
6.5
PHP 5.3 only, before 5.3.29
Not verified
CVE-2014-3480
Potentially affected — verification required
MEDIUM
6.5
PHP 5.3 only, before 5.3.29
Not verified
CVE-2014-4049
Confirmed vulnerable
MEDIUM
5.1
5.3.0 (including) to 5.3.29 (excluding)
5.3.29
CVE-2012-1171
Confirmed vulnerable
MEDIUM
5
PHP 5.3 only, 5.3.22 exactly
5.3.23
CVE-2013-2110
Confirmed vulnerable
MEDIUM
5
PHP 5.3 only, before 5.3.25 (including that release); PHP 5.3 only, 5.3.22 exactly
5.3.26
CVE-2013-4635
Confirmed vulnerable
MEDIUM
5
PHP 5.3 only, before 5.3.25 (including that release); PHP 5.3 only, 5.3.22 exactly
5.3.26
CVE-2013-6712
Potentially affected — verification required
MEDIUM
5
PHP 5.3 only, before 5.3.29
Not verified
CVE-2014-0237
Potentially affected — verification required
MEDIUM
5
PHP 5.3 only, before 5.3.29
Not verified
CVE-2014-0238
Potentially affected — verification required
MEDIUM
5
PHP 5.3 only, before 5.3.29
Not verified
CVE-2013-4248
Confirmed vulnerable
MEDIUM
4.3
PHP 5.3 only, 5.3.22 exactly
5.3.23
CVE-2014-3479
Potentially affected — verification required
MEDIUM
4.3
PHP 5.3 only, before 5.3.29
Not verified
CVE-2014-3487
Potentially affected — verification required
MEDIUM
4.3
PHP 5.3 only, before 5.3.29
Not verified
CVE-2014-3981
Potentially affected — verification required
LOW
3.3
PHP 5.3 only, before 5.3.29
Not verified
CVE-2014-4721
Confirmed vulnerable
LOW
2.6
5.3.0 (including) to 5.3.29 (excluding)
5.3.29
CVE-2014-9912
CRITICAL
CVSS 9.8
PHP 5.3 only, before 5.3.28 (including that release)
Fixed: Not verified
The get_icu_disp_value_src_php function in ext/intl/locale/locale_methods.c in PHP before 5.3.29, 5.4.x before 5.4.30, and 5.5.x before 5.5.14 does not properly restrict calls to the ICU uresbund.cpp component, which allows remote attackers to cause a denial of service (buffer overflow) or possibly have unspecified other impact via a locale_get_display_name call with a long first argument.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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
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.
PHP 5.3 only, before 5.3.27 (including that release); PHP 5.3 only, 5.3.22 exactly
Fixed: 5.3.28
The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.
Sources name 5.3.23, 5.3.28. 5.3.28 is the later bound, so it covers every stated fix, and it is published on php.net.
The SPL component in PHP before 5.4.30 and 5.5.x before 5.5.14 incorrectly anticipates that certain data structures will have the array data type after unserialization, which allows remote attackers to execute arbitrary code via a crafted string that triggers use of a Hashtable destructor, related to "type confusion" issues in (1) ArrayObject and (2) SPLObjectStorage.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
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.3.23 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.3.23 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.
sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before 5.4.28 and 5.5.x before 5.5.12 uses 0666 permissions for the UNIX socket, which allows local users to gain privileges via a crafted FastCGI client.
5.3.28 is the fixed release named by the matching range 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.3.23 is the fixed release named by the matching range and it is published on php.net.
ext/xml/xml.c in PHP before 5.3.27 does not properly consider parsing depth, which allows remote attackers to cause a denial of service (heap memory corruption) or possibly have unspecified other impact via a crafted document that is processed by the xml_parse_into_struct function.
5.3.27 is the fixed release named by the matching range and it is published on php.net.
The cdf_read_short_sector function in cdf.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, allows remote attackers to cause a denial of service (assertion failure and application exit) via a crafted CDF file.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
The cdf_count_chain function in cdf.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, does not properly validate sector-count data, which allows remote attackers to cause a denial of service (application crash) via a crafted CDF file.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
Heap-based buffer overflow in the php_parserr function in ext/standard/dns.c in PHP 5.6.0beta4 and earlier allows remote servers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted DNS TXT record, related to the dns_get_record function.
5.3.29 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.3.23 is the fixed release named by the matching range and it is published on php.net.
PHP 5.3 only, before 5.3.25 (including that release); PHP 5.3 only, 5.3.22 exactly
Fixed: 5.3.26
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.
Sources name 5.3.23, 5.3.26. 5.3.26 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 5.3 only, before 5.3.25 (including that release); PHP 5.3 only, 5.3.22 exactly
Fixed: 5.3.26
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.
Sources name 5.3.23, 5.3.26. 5.3.26 is the later bound, so it covers every stated fix, and it is published on php.net.
The scan function in ext/date/lib/parse_iso_intervals.c in PHP through 5.5.6 does not properly restrict creation of DateInterval objects, which might allow remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted interval specification.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
The cdf_unpack_summary_info function in cdf.c in the Fileinfo component in PHP before 5.4.29 and 5.5.x before 5.5.13 allows remote attackers to cause a denial of service (performance degradation) by triggering many file_printf calls.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
The cdf_read_property_info function in cdf.c in the Fileinfo component in PHP before 5.4.29 and 5.5.x before 5.5.13 allows remote attackers to cause a denial of service (infinite loop or out-of-bounds memory access) via a vector that (1) has zero length or (2) is too long.
Sources name 5.3.29, 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.3.23 is the fixed release named by the matching range and it is published on php.net.
The cdf_check_stream_offset function in cdf.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, relies on incorrect sector-size data, which allows remote attackers to cause a denial of service (application crash) via a crafted stream offset in a CDF file.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
The cdf_read_property_info function in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, does not properly validate a stream offset, which allows remote attackers to cause a denial of service (application crash) via a crafted CDF file.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
acinclude.m4, as used in the configure script in PHP 5.5.13 and earlier, allows local users to overwrite arbitrary files via a symlink attack on the /tmp/phpglibccheck file.
Sources name 5.3.29, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
The phpinfo implementation in ext/standard/info.c in PHP before 5.4.30 and 5.5.x before 5.5.14 does not ensure use of the string data type for the PHP_AUTH_PW, PHP_AUTH_TYPE, PHP_AUTH_USER, and PHP_SELF variables, which might allow context-dependent attackers to obtain sensitive information from process memory by using the integer data type with crafted values, related to a "type confusion" vulnerability, as demonstrated by reading a private SSL key in an Apache HTTP Server web-hosting environment with mod_ssl and a PHP 5.3.x mod_php.
5.3.29 is the fixed release named by the matching range and it is published on php.net.
10 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.