end-of-life.org

PHP 8.1 End of Life

Support dates, vulnerabilities published since end of life, and upgrade guidance — rebuilt from live data.

End of Life

PHP 8.1 reached end of life on 31 Dec 2025. It no longer receives security fixes.

221 days without security patches
14 PHP CVEs published since EOL
Recommended action: upgrade to PHP 8.5.
Check your versionphp --version

Support timeline

Official dates from the PHP release process.

MilestoneDateStatus
Initial release25 Nov 2021
End of life 31 Dec 2025 0.6 years ago
Active support ended25 Nov 2023 security fixes only after this
Latest release8.1.34 · 18 Dec 2025 final

The cost of staying: CVEs since end of life

14 PHP vulnerabilities have been published since 31 Dec 2025. All were fixed in supported branches — 8.1 received none of them. Source: NVD.

PHP CVEs published since 8.1's EOL, by year

6 of the 14 are rated critical · data refreshed 2026-08-09

0 7.5 15 14 2026
CVE-2025-14179 CVSS 9.8

Published 10 May 2026 · rated critical — fixed in supported branches only, never in 8.1. Details

CVE-2026-6722 CVSS 9.8

Published 10 May 2026 · rated critical — fixed in supported branches only, never in 8.1. Details

CVE-2026-7261 CVSS 9.8

Published 10 May 2026 · rated critical — fixed in supported branches only, never in 8.1. Details

Where to go from 8.1

Recommended target: PHP 8.5 (supported until 31 Dec 2029).

The newest actively supported branch is PHP 8.5 (latest release 8.5.9). Review php.net before upgrading. Run composer why-not php 8.5 to check package compatibility.

Frequently asked questions

Is PHP 8.1 still safe to use?

No. PHP 8.1 stopped receiving security fixes on 31 Dec 2025. Since then, 14 PHP vulnerabilities have been published and fixed in supported branches — PHP 8.1 received none of those fixes.

Can I still download PHP 8.1?

Yes — the final release (8.1.34) generally remains available from vendor archives and OS package mirrors, but installing it means running software with known, unpatched vulnerabilities.

What should I upgrade PHP 8.1 to?

Upgrade to PHP 8.5, the newest actively supported branch (supported until 31 Dec 2029).

All PHP versions