PHP 7.2.0 is known vulnerabilities confirmed: 55 confirmed known vulnerabilities (15 critical, 21 high, 18 medium, 1 low, 4 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
55 confirmed findings (15 critical, 21 high, 18 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: 15 critical, 21 high, 18 medium, 1 low. 4 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.2.0
Official support
End of life
PHP 7.2
Known vulnerabilities
55
4 need verification
Critical / high
15 / 21
Confirmed findings only
RCE-related CVEs
4
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 7.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 7.2 no longer receives upstream fixes. Running its last patch still leaves the installation unsupported.
Moving from 7.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/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
30 Nov 2017
Active support end
30 Nov 2019
Security support end
30 Nov 2020
Latest patch on branch
7.2.34
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.2 only, 7.2.0 (including) to 7.2.24 (excluding); 7.2.0 (including) to 7.2.24 (excluding)
The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.
Affected versions: 7.2.0 (including) to 7.4.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.2.0 (including) to 7.2.12 (including)
Fixed version: 7.2.13
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.
Affected versions: 7.2.0 (including) to 7.2.8 (excluding)
PHP 7.2 only, 7.2.0 (including) to 7.2.24 (excluding); 7.2.0 (including) to 7.2.24 (excluding)
7.2.24
CVE-2019-13224
Confirmed vulnerable
CRITICAL
9.8
7.2.0 (including) to 7.2.23 (excluding)
7.2.23
CVE-2019-9020
Confirmed vulnerable
CRITICAL
9.8
7.2.0 (including) to 7.2.14 (excluding)
7.2.14
CVE-2019-9021
Confirmed vulnerable
CRITICAL
9.8
7.2.0 (including) to 7.2.14 (excluding)
7.2.14
CVE-2019-9023
Confirmed vulnerable
CRITICAL
9.8
7.2.0 (including) to 7.2.14 (excluding)
7.2.14
CVE-2019-9641
Confirmed vulnerable
CRITICAL
9.8
7.2.0 (including) to 7.2.16 (excluding)
7.2.16
CVE-2022-37454
Confirmed vulnerable
CRITICAL
9.8
7.2.0 (including) to 7.4.33 (excluding)
Not verified
CVE-2015-8866
Confirmed vulnerable
CRITICAL
9.6
7.2.0 (including) to 7.2.1 (excluding)
7.2.1
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.2 only, 7.2.0 (including) to 7.2.17 (excluding)
7.2.17
CVE-2019-11035
Confirmed vulnerable
CRITICAL
9.1
PHP 7.2 only, 7.2.0 (including) to 7.2.17 (excluding)
7.2.17
CVE-2019-11036
Confirmed vulnerable
CRITICAL
9.1
PHP 7.2 only, 7.2.0 (including) to 7.2.18 (excluding); 7.2.0 (including) to 7.2.18 (excluding)
7.2.18
CVE-2019-11039
Potentially affected — verification required
CRITICAL
9.1
7.2.0 (including) to 7.2.19 (excluding)
Not verified
CVE-2019-11040
Potentially affected — verification required
CRITICAL
9.1
7.2.0 (including) to 7.2.19 (excluding)
Not verified
CVE-2020-7059
Confirmed vulnerable
CRITICAL
9.1
PHP 7.2 only, 7.2.0 (including) to 7.2.27 (excluding); 7.2.0 (including) to 7.2.27 (excluding)
7.2.27
CVE-2020-7060
Confirmed vulnerable
CRITICAL
9.1
PHP 7.2 only, 7.2.0 (including) to 7.2.27 (excluding); 7.2.0 (including) to 7.2.27 (excluding)
7.2.27
CVE-2020-7061
Potentially affected — verification required
CRITICAL
9.1
7.2.0 (including) to 7.2.27 (including)
Not verified
CVE-2018-10549
Confirmed vulnerable
HIGH
8.8
7.2.0 (including) to 7.2.5 (excluding)
7.2.5
CVE-2019-6977
Confirmed vulnerable
HIGH
8.8
7.2.0 (including) to 7.2.14 (excluding)
7.2.14
CVE-2018-10546
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.5 (excluding)
7.2.5
CVE-2018-10548
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.5 (excluding)
7.2.5
CVE-2018-14883
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.8 (excluding)
7.2.8
CVE-2018-14884
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.1 (excluding)
7.2.1
CVE-2018-15132
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.8 (excluding)
7.2.8
CVE-2018-19518
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.12 (including)
7.2.13
CVE-2018-19935
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.14 (excluding)
7.2.14
CVE-2018-20783
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.13 (excluding)
7.2.13
CVE-2019-11044
Confirmed vulnerable
HIGH
7.5
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (including)
7.2.27
CVE-2019-9022
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.14 (excluding)
7.2.14
CVE-2019-9024
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.14 (excluding)
7.2.14
CVE-2019-9637
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.16 (excluding)
7.2.16
CVE-2019-9638
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.16 (excluding)
7.2.16
CVE-2019-9639
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.16 (excluding)
7.2.16
CVE-2019-9640
Confirmed vulnerable
HIGH
7.5
7.2.0 (including) to 7.2.16 (excluding)
7.2.16
CVE-2020-7062
Confirmed vulnerable
HIGH
7.5
PHP 7.2 only, 7.2.0 (including) to 7.2.28 (excluding); 7.2.0 (including) to 7.2.27 (including)
7.2.28
CVE-2020-7067
Confirmed vulnerable
HIGH
7.5
PHP 7.2 only, 7.2.0 (including) to 7.2.30 (excluding); 7.2.0 (including) to 7.2.30 (excluding)
7.2.30
CVE-2019-11041
Confirmed vulnerable
HIGH
7.1
PHP 7.2 only, 7.2.0 (including) to 7.2.21 (excluding); 7.2.0 (including) to 7.2.21 (excluding)
7.2.21
CVE-2019-11042
Confirmed vulnerable
HIGH
7.1
PHP 7.2 only, 7.2.0 (including) to 7.2.21 (excluding); 7.2.0 (including) to 7.2.21 (excluding)
7.2.21
CVE-2015-9253
Confirmed vulnerable
MEDIUM
6.5
7.2.0 (including) to 7.2.8 (excluding)
7.2.8
CVE-2019-11047
Confirmed vulnerable
MEDIUM
6.5
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (excluding)
7.2.26
CVE-2019-11050
Confirmed vulnerable
MEDIUM
6.5
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (including)
7.2.27
CVE-2020-7069
Confirmed vulnerable
MEDIUM
6.5
PHP 7.2 only, 7.2.0 (including) to 7.2.34 (excluding); 7.2.0 (including) to 7.2.34 (excluding)
7.2.34
CVE-2018-10547
Confirmed vulnerable
MEDIUM
6.1
7.2.0 (including) to 7.2.5 (excluding)
7.2.5
CVE-2018-17082
Confirmed vulnerable
MEDIUM
6.1
7.2.0 (including) to 7.2.10 (excluding)
7.2.10
CVE-2018-5712
Confirmed vulnerable
MEDIUM
6.1
PHP 7.2 only, 7.2.0 exactly
7.2.1
CVE-2019-11045
Confirmed vulnerable
MEDIUM
5.9
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (including)
7.2.27
CVE-2018-14851
Confirmed vulnerable
MEDIUM
5.5
7.2.0 (including) to 7.2.8 (excluding)
7.2.8
CVE-2018-5711
Confirmed vulnerable
MEDIUM
5.5
PHP 7.2 only, 7.2.0 exactly
7.2.1
CVE-2020-7064
Confirmed vulnerable
MEDIUM
5.4
PHP 7.2 only, 7.2.0 (including) to 7.2.29 (excluding); 7.2.0 (including) to 7.2.29 (excluding)
7.2.29
CVE-2019-11038
Confirmed vulnerable
MEDIUM
5.3
PHP 7.2 only, 7.2.0 (including) to 7.2.19 (excluding); 7.2.0 (including) to 7.2.19 (excluding)
7.2.19
CVE-2019-11046
Confirmed vulnerable
MEDIUM
5.3
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (including)
7.2.27
CVE-2019-11048
Confirmed vulnerable
MEDIUM
5.3
PHP 7.2 only, 7.2.0 (including) to 7.2.31 (excluding); 7.2.0 (including) to 7.2.31 (excluding)
7.2.31
CVE-2020-7063
Confirmed vulnerable
MEDIUM
5.3
PHP 7.2 only, 7.2.0 (including) to 7.2.28 (excluding); 7.2.0 (including) to 7.2.27 (including)
7.2.28
CVE-2020-7070
Confirmed vulnerable
MEDIUM
5.3
PHP 7.2 only, 7.2.0 (including) to 7.2.34 (excluding); 7.2.0 (including) to 7.2.34 (excluding)
7.2.34
CVE-2018-10545
Confirmed vulnerable
MEDIUM
4.7
7.2.0 (including) to 7.2.4 (excluding)
7.2.4
CVE-2020-7066
Confirmed vulnerable
MEDIUM
4.3
PHP 7.2 only, 7.2.0 (including) to 7.2.29 (excluding); 7.2.0 (including) to 7.2.29 (excluding)
7.2.29
CVE-2020-7068
Confirmed vulnerable
LOW
3.6
PHP 7.2 only, 7.2.0 (including) to 7.2.33 (excluding); 7.2.0 (including) to 7.2.33 (excluding)
7.2.33
CVE-2018-12882
CRITICAL
CVSS 9.8
7.2.0 (including) to 7.2.7 (including)
Fixed: 7.2.8
exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.
7.2.8 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.2.3 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.24 (excluding); 7.2.0 (including) to 7.2.24 (excluding)
Fixed: 7.2.24
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.2.24 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.2.23 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.2.14 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.2.14 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.2.14 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.
7.2.16 is the fixed release named by the matching range and it is published on php.net.
The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.
Not verified. No single fixed release could be confirmed from the structured ranges and the php.net release list.
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.2.1 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.2 only, 7.2.0 (including) to 7.2.17 (excluding)
Fixed: 7.2.17
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.2.17 is the fixed release named by the matching range and it is published on php.net.
Sources: php.net via NVD affected data, PHP ChangeLog
PHP 7.2 only, 7.2.0 (including) to 7.2.17 (excluding)
Fixed: 7.2.17
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.2.17 is the fixed release named by the matching range and it is published on php.net.
Sources: php.net via NVD affected data, PHP ChangeLog
PHP 7.2 only, 7.2.0 (including) to 7.2.18 (excluding); 7.2.0 (including) to 7.2.18 (excluding)
Fixed: 7.2.18
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.2.18 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.2.19, 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.2.19, 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.
PHP 7.2 only, 7.2.0 (including) to 7.2.27 (excluding); 7.2.0 (including) to 7.2.27 (excluding)
Fixed: 7.2.27
When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause this function to read past the allocated buffer. This may lead to information disclosure or crash.
7.2.27 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.27 (excluding); 7.2.0 (including) to 7.2.27 (excluding)
Fixed: 7.2.27
When using certain mbstring functions to convert multibyte encodings, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause function mbfl_filt_conv_big5_wchar to read past the allocated buffer. This may lead to information disclosure or crash.
7.2.27 is the fixed release named by the matching range and it is published on php.net.
In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.
Sources name 7.2.28, but that release was not found in the php.net release list used for this check. Fixed version: not verified.
Prerequisites: Platform: Windows; NVD configuration also requires cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
Conflict: A CPE or GitHub range contains this version, but the php.net affected list does not.
Sources: php.net via NVD affected data, NVD CPE configuration
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.2.5 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.2.14 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.2.5 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.2.5 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.2.8 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.2.1 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.2.8 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.2.13 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.2.14 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.2.13 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (including)
Fixed: 7.2.27
In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 on Windows, PHP link() function accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access.
Sources name 7.2.26, 7.2.27. 7.2.27 is the later bound, so it covers every stated fix, 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.2.14 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.2.14 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.
7.2.16 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_MAKERNOTE because of mishandling the maker_note->offset relationship to value_len.
7.2.16 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_MAKERNOTE because of mishandling the data_len variable.
7.2.16 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 Invalid Read in exif_process_SOFn.
7.2.16 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.28 (excluding); 7.2.0 (including) to 7.2.27 (including)
Fixed: 7.2.28
In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0 (disabled), and the file upload fails, the upload procedure would try to clean up data that does not exist and encounter null pointer dereference, which would likely lead to a crash.
7.2.28 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.30 (excluding); 7.2.0 (including) to 7.2.30 (excluding)
Fixed: 7.2.30
In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.
7.2.30 is the fixed release named by the matching range and it is published on php.net.
Sources: php.net via NVD affected data, NVD CPE configuration
PHP 7.2 only, 7.2.0 (including) to 7.2.21 (excluding); 7.2.0 (including) to 7.2.21 (excluding)
Fixed: 7.2.21
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.2.21 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.21 (excluding); 7.2.0 (including) to 7.2.21 (excluding)
Fixed: 7.2.21
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.2.21 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.
7.2.8 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (excluding)
Fixed: 7.2.26
When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 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.2.26 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (including)
Fixed: 7.2.27
When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 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.2.26, 7.2.27. 7.2.27 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.34 (excluding); 7.2.0 (including) to 7.2.34 (excluding)
Fixed: 7.2.34
In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.
7.2.34 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.2.5 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.2.10 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.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (including)
Fixed: 7.2.27
In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access.
Sources name 7.2.26, 7.2.27. 7.2.27 is the later bound, so it covers every stated fix, 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.2.8 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.2.1 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.29 (excluding); 7.2.0 (including) to 7.2.29 (excluding)
Fixed: 7.2.29
In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while parsing EXIF data with exif_read_data() function, it is possible for malicious data to cause PHP to read one byte of uninitialized memory. This could potentially lead to information disclosure or crash.
7.2.29 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.19 (excluding); 7.2.0 (including) to 7.2.19 (excluding)
Fixed: 7.2.19
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.2.19 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.26 (excluding); 7.2.0 (including) to 7.2.26 (including)
Fixed: 7.2.27
In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP bcmath extension functions on some systems, including Windows, can be tricked into reading beyond the allocated space by supplying it with string containing characters that are identified as numeric by the OS but aren't ASCII numbers. This can read to disclosure of the content of some memory locations.
Sources name 7.2.26, 7.2.27. 7.2.27 is the later bound, so it covers every stated fix, and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.31 (excluding); 7.2.0 (including) to 7.2.31 (excluding)
Fixed: 7.2.31
In PHP versions 7.2.x below 7.2.31, 7.3.x below 7.3.18 and 7.4.x below 7.4.6, when HTTP file uploads are allowed, supplying overly long filenames or field names could lead PHP engine to try to allocate oversized memory storage, hit the memory limit and stop processing the request, without cleaning up temporary files created by upload request. This potentially could lead to accumulation of uncleaned temporary files exhausting the disk space on the target server.
7.2.31 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.28 (excluding); 7.2.0 (including) to 7.2.27 (including)
Fixed: 7.2.28
In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesystem were with more restrictive permissions. This may result in files having more lax permissions than intended when such archive is extracted.
7.2.28 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.34 (excluding); 7.2.0 (including) to 7.2.34 (excluding)
Fixed: 7.2.34
In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.
7.2.34 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.2.4 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.29 (excluding); 7.2.0 (including) to 7.2.29 (excluding)
Fixed: 7.2.29
In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server.
7.2.29 is the fixed release named by the matching range and it is published on php.net.
PHP 7.2 only, 7.2.0 (including) to 7.2.33 (excluding); 7.2.0 (including) to 7.2.33 (excluding)
Fixed: 7.2.33
In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.
7.2.33 is the fixed release named by the matching range and it is published on php.net.
4 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.