PHP 4.x — End of Life
EOL Critical riskPHP 4.x reached end of life on Aug 7, 2008, 6694 days ago, and no longer receives security fixes. The most recent release in this series is 4.4.9. 1 CVE is tracked for this series, including 1 critical. 1 of them was published after the end of life of the affected cycle and will not get an official patch. The next major version is PHP 5. See PHP 5 →
PHP 4.x — All releases
| Version | Released | Active support | EOL date | Latest patch | Status | Alert me |
|---|---|---|---|---|---|---|
| 4.4 | Jul 11, 2005 | Dec 31, 2007 | Aug 7, 2008 | 4.4.9 | EOL | |
| 4.3 | Dec 27, 2002 | Mar 31, 2005 | Mar 31, 2005 | 4.3.11 | EOL | |
| 4.2 | Apr 22, 2002 | Sep 6, 2002 | Sep 6, 2002 | 4.2.3 | EOL | |
| 4.1 | Dec 10, 2001 | Mar 12, 2002 | Mar 12, 2002 | 4.1.2 | EOL | |
| 4.0 | May 22, 2000 | Jun 23, 2001 | Jun 23, 2001 | 4.0.6 | EOL |
CVEs affecting PHP 4.x (5)
| CVE | Severity | CVSS | EPSS | KEV | Cycle | Description | Published |
|---|---|---|---|---|---|---|---|
| CVE-2024-3566 | CRITICAL | 9.8 | 6.23% | — | 4.0 | A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d… | Apr 10, 2024 |
| CVE-2024-3566 | CRITICAL | 9.8 | 6.23% | — | 4.4 | A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d… | Apr 10, 2024 |
| CVE-2024-3566 | CRITICAL | 9.8 | 6.23% | — | 4.3 | A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d… | Apr 10, 2024 |
| CVE-2024-3566 | CRITICAL | 9.8 | 6.23% | — | 4.1 | A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d… | Apr 10, 2024 |
| CVE-2024-3566 | CRITICAL | 9.8 | 6.23% | — | 4.2 | A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d… | Apr 10, 2024 |
PHP 4.x is EOL — migrate to PHP 5.x
PHP 5.x is the next major release. Plan your upgrade before PHP 4.x stops receiving security patches.
Add a PHP 4 EOL badge to your README
Show your users which PHP version your project runs and whether it is still supported. The badge updates automatically. More formats and options →
[](https://eolcanary.com/explore/php/4)Frequently asked questions
Is PHP 4 end of life?
Yes. All PHP 4.x releases have reached end of life and no longer receive security patches. There are 1 known CVE affecting PHP 4.x, including 1 critical. Migrate to PHP 5.x as soon as possible.
What CVEs affect PHP 4?
There are 1 CVE tracked for PHP 4.x, including 1 critical severity issue. See the full list above with CVSS and EPSS scores.
What is the latest PHP 4 version?
The latest PHP 4.x patch release is 4.4.9, released on August 7, 2008. Always run the latest patch to benefit from all security fixes.
How to migrate from PHP 4 to PHP 5?
To migrate from PHP 4 to PHP 5: (1) review the official PHP 5 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 4 in production?
No. PHP 4 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
