PHP 7.x — End of Life

EOL Critical risk
EOL: Nov 28, 20225 releases in this series5 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 (5)

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

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 5 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 5 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