PHP 7.1.6 is known vulnerabilities confirmed: 50 confirmed known vulnerabilities (18 critical, 24 high, 8 medium, 0 low, 2 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
50 confirmed findings (18 critical, 24 high, 8 medium, 0 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: 18 critical, 24 high, 8 medium, 0 low. 8 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
7.1.6
Official support
End of life
PHP 7.1
Known vulnerabilities
50
8 need verification
Critical / high
18 / 24
Confirmed findings only
RCE-related CVEs
2
Confirmed, with a stated basis
Minimum security fix
7.1.33
Recommended upgrade
8.6.0
Last data update
24 Nov 2026, 03:47 UTC
Fresh cache
Upgrade recommendation
Minimum security fix on PHP 7.1
7.1.33 is the lowest release on PHP 7.1 that contains every verified fix for the confirmed issues in this result. PHP 7.1 is end of life, so 7.1.33 is only the newest verified fix on that unsupported branch. It is not a recommended long-term target.
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 7.1 no longer receives upstream fixes. Running its last patch still leaves the installation unsupported.
Moving from 7.1 to 8.6 can change language behavior, removed extensions, and default settings. Review each migration guide before upgrading: https://www.php.net/manual/en/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.
Minimum verified fix on the current branch
# Report named 7.1.33 as a verified fix on this branch.
# Install that release from php.net or your platform, then run php -v.
A same-branch patch is not a long-term target when the branch is out of support. No package version was invented for your distro.
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
1 Dec 2016
Active support end
1 Dec 2018
Security support end
1 Dec 2019
Latest patch on branch
7.1.33
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-2019-11043Confirmed vulnerableCRITICAL
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI protocol data, thus opening the possibility of remote code execution.
Affected versions: PHP 7.1 only, 7.1.0 (including) to 7.1.33 (excluding); 7.1.0 (including) to 7.1.33 (excluding)
PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).
Affected versions: 5.4.0 (including) to 8.2.35 (excluding)
University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument.
Affected versions: 7.1.0 (including) to 7.1.24 (including)
Fixed version: 7.1.25
CVSS: 7.5 (v3.1)
Classification basis: CWE-88 (Argument Injection) is listed on the record; Description says CGI or argument injection
An issue was discovered in PHP 7.3.x before 7.3.0alpha3, 7.2.x before 7.2.8, and before 7.1.20. The php-fpm master process restarts a child process in an endless loop when using program execution functions (e.g., passthru, exec, shell_exec, or system) with a non-blocking STDIN stream, causing this master process to consume 100% of the CPU, and consume disk space with a large volume of error logs, as demonstrated by an attack by a customer of a shared-hosting facility.
PHP 7.1 only, 7.1.0 (including) to 7.1.33 (excluding); 7.1.0 (including) to 7.1.33 (excluding)
7.1.33
CVE-2019-13224
Confirmed vulnerable
CRITICAL
9.8
7.1.0 (including) to 7.1.32 (excluding)
7.1.32
CVE-2019-9020
Confirmed vulnerable
CRITICAL
9.8
7.0.0 (including) to 7.1.26 (excluding)
7.1.26
CVE-2019-9021
Confirmed vulnerable
CRITICAL
9.8
7.0.0 (including) to 7.1.26 (excluding)
7.1.26
CVE-2019-9023
Confirmed vulnerable
CRITICAL
9.8
7.0.0 (including) to 7.1.26 (excluding)
7.1.26
CVE-2019-9641
Potentially affected — verification required
CRITICAL
9.8
PHP 7.1 only, before 7.1.27
Not verified
CVE-2015-8866
Confirmed vulnerable
CRITICAL
9.6
7.1.0 (including) to 7.1.13 (excluding)
7.1.13
CVE-2026-109619
Potentially affected — verification required
CRITICAL
9.2
5.4.0 (including) to 8.2.35 (excluding)
Not verified
CVE-2019-11034
Confirmed vulnerable
CRITICAL
9.1
PHP 7.1 only, 7.1.0 (including) to 7.1.28 (excluding); 7.1.0 (including) to 7.1.28 (excluding)
7.1.28
CVE-2019-11035
Confirmed vulnerable
CRITICAL
9.1
PHP 7.1 only, 7.1.0 (including) to 7.1.28 (excluding); 7.1.0 (including) to 7.1.28 (excluding)
7.1.28
CVE-2019-11036
Confirmed vulnerable
CRITICAL
9.1
PHP 7.1 only, 7.1.0 (including) to 7.1.29 (excluding); 7.1.0 (including) to 7.1.29 (excluding)
7.1.29
CVE-2019-11039
Potentially affected — verification required
CRITICAL
9.1
7.1.0 (including) to 7.1.30 (excluding)
Not verified
CVE-2019-11040
Potentially affected — verification required
CRITICAL
9.1
7.1.0 (including) to 7.1.30 (excluding)
Not verified
CVE-2018-10549
Confirmed vulnerable
HIGH
8.8
7.1.0 (including) to 7.1.17 (excluding)
7.1.17
CVE-2019-6977
Confirmed vulnerable
HIGH
8.8
7.0.0 (including) to 7.1.26 (excluding)
7.1.26
CVE-2019-9675
Confirmed vulnerable
HIGH
8.1
7.0.0 (including) to 7.1.27 (excluding)
7.1.27
CVE-2017-11628
Confirmed vulnerable
HIGH
7.8
PHP 7.1 only, 7.1.6 exactly
7.1.7
CVE-2017-11144
Confirmed vulnerable
HIGH
7.5
PHP 7.1 only, 7.1.6 exactly
7.1.7
CVE-2017-11145
Confirmed vulnerable
HIGH
7.5
PHP 7.1 only, 7.1.6 exactly
7.1.7
CVE-2017-12934
Confirmed vulnerable
HIGH
7.5
PHP 7.1 only, 7.1.6 exactly
7.1.7
CVE-2017-16642
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.11 (excluding)
7.1.11
CVE-2017-9229
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.7 (excluding)
7.1.7
CVE-2018-10546
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.17 (excluding)
7.1.17
CVE-2018-10548
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.17 (excluding)
7.1.17
CVE-2018-14883
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.20 (excluding)
7.1.20
CVE-2018-14884
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.13 (excluding)
7.1.13
CVE-2018-15132
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.20 (excluding)
7.1.20
CVE-2018-19395
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 7.1.24 (including)
7.1.25
CVE-2018-19396
Confirmed vulnerable
HIGH
7.5
5.0.0 (including) to 7.1.24 (including)
7.1.25
CVE-2018-19518
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.24 (including)
7.1.25
CVE-2018-19935
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.26 (excluding)
7.1.26
CVE-2018-20783
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.25 (excluding)
7.1.25
CVE-2019-9022
Confirmed vulnerable
HIGH
7.5
7.0.0 (including) to 7.1.26 (excluding)
7.1.26
CVE-2019-9024
Confirmed vulnerable
HIGH
7.5
7.0.0 (including) to 7.1.26 (excluding)
7.1.26
CVE-2019-9637
Potentially affected — verification required
HIGH
7.5
PHP 7.1 only, before 7.1.27
Not verified
CVE-2019-9638
Potentially affected — verification required
HIGH
7.5
PHP 7.1 only, before 7.1.27
Not verified
CVE-2019-9639
Potentially affected — verification required
HIGH
7.5
PHP 7.1 only, before 7.1.27
Not verified
CVE-2019-9640
Confirmed vulnerable
HIGH
7.5
7.1.0 (including) to 7.1.27 (excluding)
7.1.27
CVE-2019-11041
Confirmed vulnerable
HIGH
7.1
PHP 7.1 only, 7.1.0 (including) to 7.1.31 (excluding); 7.1.0 (including) to 7.1.31 (excluding)
7.1.31
CVE-2019-11042
Confirmed vulnerable
HIGH
7.1
PHP 7.1 only, 7.1.0 (including) to 7.1.31 (excluding); 7.1.0 (including) to 7.1.31 (excluding)
7.1.31
CVE-2015-9253
Potentially affected — verification required
MEDIUM
6.5
PHP 7.1 only, before 7.1.20
Not verified
CVE-2017-7890
Confirmed vulnerable
MEDIUM
6.5
PHP 7.1 only, 7.1.6 exactly
7.1.7
CVE-2018-10547
Confirmed vulnerable
MEDIUM
6.1
7.1.0 (including) to 7.1.17 (excluding)
7.1.17
CVE-2018-17082
Confirmed vulnerable
MEDIUM
6.1
7.1.0 (including) to 7.1.22 (excluding)
7.1.22
CVE-2018-5712
Confirmed vulnerable
MEDIUM
6.1
7.1.0 (excluding) to 7.1.12 (including)
7.1.13
CVE-2018-14851
Confirmed vulnerable
MEDIUM
5.5
7.1.0 (including) to 7.1.20 (excluding)
7.1.20
CVE-2018-5711
Confirmed vulnerable
MEDIUM
5.5
7.1.0 (excluding) to 7.1.12 (including)
7.1.13
CVE-2019-11038
Confirmed vulnerable
MEDIUM
5.3
PHP 7.1 only, 7.1.0 (including) to 7.1.30 (excluding); 7.1.0 (including) to 7.1.30 (excluding)
7.1.30
CVE-2018-10545
Confirmed vulnerable
MEDIUM
4.7
7.1.0 (including) to 7.1.16 (excluding)
7.1.16
CVE-2016-1283
CRITICAL
CVSS 9.8
7.1.0 (including) to 7.1.11 (excluding)
Fixed: 7.1.11
The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
7.1.11 is the fixed release named by the matching range and it is published on php.net.
In PHP 7.x before 7.0.21 and 7.1.x before 7.1.7, ext/intl/msgformat/msgformat_parse.c does not restrict the locale length, which allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact within International Components for Unicode (ICU) for C/C++ via a long first argument to the msgfmt_parse_message function.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
ext/standard/var_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is prone to a buffer over-read while unserializing untrusted data. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A stack out-of-bounds read occurs in match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in an out-of-bounds read from a stack buffer.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A heap out-of-bounds write or read occurs in next_state_val() during regular expression compilation. Octal numbers larger than 0xff are not handled correctly in fetch_token() and fetch_token_in_cc(). A malformed regular expression containing an octal number in the form of '\700' would produce an invalid code point value larger than 0xff in next_state_val(), resulting in an out-of-bounds write memory corruption.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A stack out-of-bounds read occurs in mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A heap out-of-bounds write occurs in bitset_set_range() during regular expression compilation due to an uninitialized variable from an incorrect state transition. An incorrect state transition in parse_char_class() could create an execution path that leaves a critical local variable uninitialized until it's used as an index, resulting in an out-of-bounds write memory corruption.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex function in ext/standard/http_fopen_wrapper.c. This subsequently results in copying a large string.
7.1.15 is the fixed release named by the matching range and it is published on php.net.
PHP 7.1 only, 7.1.0 (including) to 7.1.33 (excluding); 7.1.0 (including) to 7.1.33 (excluding)
Fixed: 7.1.33
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI protocol data, thus opening the possibility of remote code execution.
7.1.33 is the fixed release named by the matching range and it is published on php.net.
A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by onig_new_deluxe(). Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.
7.1.32 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. Invalid input to the function xmlrpc_decode() can lead to an invalid memory access (heap out of bounds read or read after free). This is related to xml_elem_parse_buf in ext/xmlrpc/libxmlrpc/xml_element.c.
7.1.26 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A heap-based buffer over-read in PHAR reading functions in the PHAR extension may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse the file name, a different vulnerability than CVE-2018-20783. This is related to phar_detect_phar_fname_ext in ext/phar/phar.c.
7.1.26 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A number of heap-based buffer over-read instances are present in mbstring regular expression functions when supplied with invalid multibyte data. These occur in ext/mbstring/oniguruma/regcomp.c, ext/mbstring/oniguruma/regexec.c, ext/mbstring/oniguruma/regparse.c, ext/mbstring/oniguruma/enc/unicode.c, and ext/mbstring/oniguruma/src/utf32_be.c when a multibyte regular expression pattern contains invalid multibyte sequences.
7.1.26 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. There is an uninitialized read in exif_process_IFD_in_TIFF.
Sources name 7.1.27, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
ext/libxml/libxml.c in PHP before 5.5.22 and 5.6.x before 5.6.6, when PHP-FPM is used, does not isolate each thread from libxml_disable_entity_loader changes in other threads, which allows remote attackers to conduct XML External Entity (XXE) and XML Entity Expansion (XEE) attacks via a crafted XML document, a related issue to CVE-2015-5161.
7.1.13 is the fixed release named by the matching range and it is published on php.net.
PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
Conflict: A CPE or GitHub range contains this version, but the php.net affected list does not.
RCE basis: Description says remote code execution
Sources: php.net via NVD affected data, NVD CPE configuration
PHP 7.1 only, 7.1.0 (including) to 7.1.28 (excluding); 7.1.0 (including) to 7.1.28 (excluding)
Fixed: 7.1.28
When processing certain files, PHP EXIF extension in versions 7.1.x below 7.1.28, 7.2.x below 7.2.17 and 7.3.x below 7.3.4 can be caused to read past allocated buffer in exif_process_IFD_TAG function. This may lead to information disclosure or crash.
7.1.28 is the fixed release named by the matching range and it is published on php.net.
PHP 7.1 only, 7.1.0 (including) to 7.1.28 (excluding); 7.1.0 (including) to 7.1.28 (excluding)
Fixed: 7.1.28
When processing certain files, PHP EXIF extension in versions 7.1.x below 7.1.28, 7.2.x below 7.2.17 and 7.3.x below 7.3.4 can be caused to read past allocated buffer in exif_iif_add_value function. This may lead to information disclosure or crash.
7.1.28 is the fixed release named by the matching range and it is published on php.net.
PHP 7.1 only, 7.1.0 (including) to 7.1.29 (excluding); 7.1.0 (including) to 7.1.29 (excluding)
Fixed: 7.1.29
When processing certain files, PHP EXIF extension in versions 7.1.x below 7.1.29, 7.2.x below 7.2.18 and 7.3.x below 7.3.5 can be caused to read past allocated buffer in exif_process_IFD_TAG function. This may lead to information disclosure or crash.
7.1.29 is the fixed release named by the matching range and it is published on php.net.
Function iconv_mime_decode_headers() in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6 may perform out-of-buffer read due to integer overflow when parsing MIME headers. This may lead to information disclosure or crash.
Sources name 7.1.30, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
Conflict: A CPE or GitHub range contains this version, but the php.net affected list does not.
When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6 it is possible to supply it with data what will cause it to read past the allocated buffer. This may lead to information disclosure or crash.
Sources name 7.1.30, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
Conflict: A CPE or GitHub range contains this version, but the php.net affected list does not.
An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. exif_read_data in ext/exif/exif.c has an out-of-bounds read for crafted JPEG data because exif_iif_add_value mishandles the case of a MakerNote that lacks a final '\0' character.
7.1.17 is the fixed release named by the matching range and it is published on php.net.
gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1, has a heap-based buffer overflow. This can be exploited by an attacker who is able to trigger imagecolormatch calls with crafted image data.
7.1.26 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP 7.x before 7.1.27 and 7.3.x before 7.3.3. phar_tar_writeheaders_int in ext/phar/tar.c has a buffer overflow via a long link value. NOTE: The vendor indicates that the link value is used only when an archive contains a symlink, which currently cannot happen: "This issue allows theoretical compromise of security, but a practical attack is usually impossible.
7.1.27 is the fixed release named by the matching range and it is published on php.net.
In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, a stack-based buffer overflow in the zend_ini_do_op() function in Zend/zend_ini_parser.c could cause a denial of service or potentially allow executing code. NOTE: this is only relevant for PHP applications that accept untrusted input (instead of the system's php.ini file) for the parse_ini_string or parse_ini_file function, e.g., a web application for syntax validation of php.ini directives.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, the openssl extension PEM sealing code did not check the return value of the OpenSSL sealing function, which could lead to a crash of the PHP interpreter, related to an interpretation conflict for a negative number in ext/openssl/openssl.c, and an OpenSSL documentation omission.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, an error in the date extension's timelib_meridian parsing code could be used by attackers able to supply date strings to leak information from the interpreter, related to ext/date/lib/parse_date.c out-of-bounds reads affecting the php_parse_date function. NOTE: the correct fix is in the e8b7698f5ee757ce2c8bd10a192a491a498f891c commit, not the bd77ac90d3bdf31ce2a5251ad92e9e75 gist.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
ext/standard/var_unserializer.re in PHP 7.0.x before 7.0.21 and 7.1.x before 7.1.7 is prone to a heap use after free while unserializing untrusted data, related to the zval_get_type function in Zend/zend_types.h. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
In PHP before 5.6.32, 7.x before 7.0.25, and 7.1.x before 7.1.11, an error in the date extension's timelib_meridian handling of 'front of' and 'back of' directives could be used by attackers able to supply date strings to leak information from the interpreter, related to ext/date/lib/parse_date.c out-of-bounds reads affecting the php_parse_date function. NOTE: this is a different issue than CVE-2017-11145.
7.1.11 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A SIGSEGV occurs in left_adjust_char_head() during regular expression compilation. Invalid handling of reg->dmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. An infinite loop exists in ext/iconv/iconv.c because the iconv stream filter does not reject invalid multibyte sequences.
7.1.17 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. ext/ldap/ldap.c allows remote LDAP servers to cause a denial of service (NULL pointer dereference and application crash) because of mishandling of the ldap_get_dn return value.
7.1.17 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8. An Integer Overflow leads to a heap-based buffer over-read in exif_thumbnail_extract of exif.c.
7.1.20 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1. Inappropriately parsing an HTTP response leads to a segmentation fault because http_header_value in ext/standard/http_fopen_wrapper.c can be a NULL value that is mishandled in an atoi call.
7.1.13 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in ext/standard/link_win32.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8. The linkinfo function on Windows doesn't implement the open_basedir check. This could be abused to find files on paths outside of the allowed directories.
7.1.20 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").
7.1.25 is the fixed release named by the matching range and it is published on php.net.
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.
7.1.25 is the fixed release named by the matching range and it is published on php.net.
University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument.
7.1.25 is the fixed release named by the matching range and it is published on php.net.
RCE basis: CWE-88 (Argument Injection) is listed on the record; Description says CGI or argument injection
ext/imap/php_imap.c in PHP 5.x and 7.x before 7.3.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the imap_mail function.
7.1.26 is the fixed release named by the matching range and it is published on php.net.
In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR reading functions may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse a .phar file. This is related to phar_parse_pharfile in ext/phar/phar.c.
7.1.25 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.2. dns_get_record misparses a DNS response, which can allow a hostile DNS server to cause PHP to misuse memcpy, leading to read operations going past the buffer allocated for DNS data. This affects php_parserr in ext/standard/dns.c for DNS_CAA and DNS_ANY queries.
7.1.26 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. xmlrpc_decode() can allow a hostile XMLRPC server to cause PHP to read memory outside of allocated areas in base64_decode_xmlrpc in ext/xmlrpc/libxmlrpc/base64.c.
7.1.26 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. Due to the way rename() across filesystems is implemented, it is possible that file being renamed is briefly available with wrong permissions while the rename is ongoing, thus enabling unauthorized users to access the data.
Sources name 7.1.27, 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 the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. There is an uninitialized read in exif_process_IFD_in_MAKERNOTE because of mishandling the maker_note->offset relationship to value_len.
Sources name 7.1.27, 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 the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. There is an uninitialized read in exif_process_IFD_in_MAKERNOTE because of mishandling the data_len variable.
Sources name 7.1.27, 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 the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. There is an Invalid Read in exif_process_SOFn.
7.1.27 is the fixed release named by the matching range and it is published on php.net.
PHP 7.1 only, 7.1.0 (including) to 7.1.31 (excluding); 7.1.0 (including) to 7.1.31 (excluding)
Fixed: 7.1.31
When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21 and 7.3.x below 7.3.8 it is possible to supply it with data what will cause it to read past the allocated buffer. This may lead to information disclosure or crash.
7.1.31 is the fixed release named by the matching range and it is published on php.net.
PHP 7.1 only, 7.1.0 (including) to 7.1.31 (excluding); 7.1.0 (including) to 7.1.31 (excluding)
Fixed: 7.1.31
When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21 and 7.3.x below 7.3.8 it is possible to supply it with data what will cause it to read past the allocated buffer. This may lead to information disclosure or crash.
7.1.31 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP 7.3.x before 7.3.0alpha3, 7.2.x before 7.2.8, and before 7.1.20. The php-fpm master process restarts a child process in an endless loop when using program execution functions (e.g., passthru, exec, shell_exec, or system) with a non-blocking STDIN stream, causing this master process to consume 100% of the CPU, and consume disk space with a large volume of error logs, as demonstrated by an attack by a customer of a shared-hosting facility.
Sources name 7.1.20, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.
7.1.7 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in ext/phar/phar_object.c in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. There is Reflected XSS on the PHAR 403 and 404 error pages via request data of a request for a .phar file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2018-5712.
7.1.17 is the fixed release named by the matching range and it is published on php.net.
The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XSS via the body of a "Transfer-Encoding: chunked" request, because the bucket brigade is mishandled in the php_handler function in sapi/apache2handler/sapi_apache2.c.
7.1.22 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1. There is Reflected XSS on the PHAR 404 error page via the URI of a request for a .phar file.
7.1.13 is the fixed release named by the matching range and it is published on php.net.
exif_process_IFD_in_MAKERNOTE in ext/exif/exif.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted JPEG file.
7.1.20 is the fixed release named by the matching range and it is published on php.net.
gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.
7.1.13 is the fixed release named by the matching range and it is published on php.net.
PHP 7.1 only, 7.1.0 (including) to 7.1.30 (excluding); 7.1.0 (including) to 7.1.30 (excluding)
Fixed: 7.1.30
When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code.
7.1.30 is the fixed release named by the matching range and it is published on php.net.
An issue was discovered in PHP before 5.6.35, 7.0.x before 7.0.29, 7.1.x before 7.1.16, and 7.2.x before 7.2.4. Dumpable FPM child processes allow bypassing opcache access controls because fpm_unix.c makes a PR_SET_DUMPABLE prctl call, allowing one user (in a multiuser environment) to obtain sensitive information from the process memory of a second user's PHP applications by running gcore on the PID of the PHP-FPM worker process.
7.1.16 is the fixed release named by the matching range and it is published on php.net.
8 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.