PHP 7.x — End of Life

EOL Critical risk
EOL: Nov 28, 20225 releases in this series19 CVEs

PHP 7.x — All releases

VersionReleasedActive supportEOL dateLatest patchStatusAlert me
7.4Nov 28, 2019Nov 28, 2021Nov 28, 20227.4.33EOL
7.3Dec 6, 2018Dec 6, 2020Dec 6, 20217.3.33EOL
7.2Nov 30, 2017Nov 30, 2019Nov 30, 20207.2.34EOL
7.1Dec 1, 2016Dec 1, 2018Dec 1, 20197.1.33EOL
7.0Dec 3, 2015Jan 4, 2018Jan 10, 20197.0.33EOL

CVEs affecting PHP 7.x (19)

CVESeverityCVSSEPSSKEVCycleDescriptionPublished
CVE-2024-3566CRITICAL9.86.88%7.2A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2024-3566CRITICAL9.86.88%7.3A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2024-3566CRITICAL9.86.88%7.4A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2024-3566CRITICAL9.86.88%7.0A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2024-3566CRITICAL9.86.88%7.1A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2019-11050MEDIUM4.87.62%7.4When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7…Dec 23, 2019
CVE-2019-11050MEDIUM4.87.62%7.3When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7…Dec 23, 2019
CVE-2019-11050MEDIUM4.87.62%7.2When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7…Dec 23, 2019
CVE-2019-11049MEDIUM6.54.21%7.4In PHP versions 7.3.x below 7.3.13 and 7.4.0 on Windows, when supplying custom headers to mail() function, due to mistak…Dec 23, 2019
CVE-2019-11049MEDIUM6.54.21%7.3In PHP versions 7.3.x below 7.3.13 and 7.4.0 on Windows, when supplying custom headers to mail() function, due to mistak…Dec 23, 2019
CVE-2019-11046LOW3.74.08%7.3In 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, includ…Dec 23, 2019
CVE-2019-11046LOW3.74.08%7.2In 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, includ…Dec 23, 2019
CVE-2019-11046LOW3.74.08%7.4In 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, includ…Dec 23, 2019
CVE-2019-11045LOW3.78.81%7.4In 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 emb…Dec 23, 2019
CVE-2019-11045LOW3.78.81%7.3In 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 emb…Dec 23, 2019
CVE-2019-11045LOW3.78.81%7.2In 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 emb…Dec 23, 2019
CVE-2019-11044LOW3.75.12%7.3In 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 …Dec 23, 2019
CVE-2019-11044LOW3.75.12%7.2In 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 …Dec 23, 2019
CVE-2019-11044LOW3.75.12%7.4In 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 …Dec 23, 2019

PHP 7.x is EOL — migrate to PHP 8.x

PHP 8.x is the next major release. Plan your upgrade before PHP 7.x stops receiving security patches.

See PHP 8.x

Frequently asked questions

Is PHP 7 end of life?

Yes. All PHP 7.x releases have reached end of life and no longer receive security patches. There are 19 known CVEs affecting PHP 7.x, including 5 critical. Migrate to PHP 8.x as soon as possible.

What CVEs affect PHP 7?

There are 19 CVEs tracked for PHP 7.x, including 5 critical severity issues. See the full list above with CVSS and EPSS scores.

What is the latest PHP 7 version?

The latest PHP 7.x patch release is 7.4.33, released on November 3, 2022. Always run the latest patch to benefit from all security fixes.

How to migrate from PHP 7 to PHP 8?

To migrate from PHP 7 to PHP 8: (1) review the official PHP 8 migration guide for breaking changes, (2) update dependencies and configuration accordingly, (3) test thoroughly in a staging environment, (4) deploy with a rollback plan. Starting early gives you time to resolve compatibility issues before your current version reaches end of life.

Is it safe to run PHP 7 in production?

No. PHP 7 has reached end of life and security vulnerabilities are no longer patched. Upgrade to a supported version immediately.

Data sourced from endoflife.date · CVE data from NVD · EPSS from FIRST.org · KEV from CISA