Is my PHP still getting security patches? Check the schedule
PHP 8.1 and older are out of support and 8.2 ends 31 Dec 2026. Check your branch against php.net's schedule, plus the distribution exception.
The PHP security advisory of 2026-10-21 says PHP 8.1 and older no longer receive updates from the project, and the 8.2.35 announcement the same day states that 8.2 reaches end of life on 31 December 2026. Which side your server is on depends on the branch, the first two numbers of the version. The fix itself is described in the PHP remote code execution advisory.
[1] Find the branch. The first two numbers are the branch.
$ php -r 'printf("%d.%d\n", PHP_MAJOR_VERSION, PHP_MINOR_VERSION);'8.3The PHP your web server uses can differ from the CLI one, so if several versions are installed, also check the package name of the FPM or Apache module (php8.3-fpm and so on).
[2] Match it against the php.net supported versions table, read on 2026-12-02 (KST). After the security support end date, no security fixes are released.
| Branch | Initial release | Active support until | Security support until |
|---|---|---|---|
| 8.2 | 2022-12-08 | 2024-12-31 | 2026-12-31 |
| 8.3 | 2023-11-23 | 2025-12-31 | 2027-12-31 |
| 8.4 | 2024-11-21 | 2026-12-31 | 2028-12-31 |
| 8.5 | 2025-11-20 | 2027-12-31 | 2029-12-31 |
| 8.6 | 2026-11-19 | 2028-12-31 | 2030-12-31 |
[3] Branches missing from that table are on the end-of-life page. The 8.1 row was checked on 2026-12-02 (KST), and the other rows were read on 2026-10-23.
| Branch | End of life | Last release |
|---|---|---|
| 8.1 | 2025-12-31 | 8.1.34 |
| 8.0 | 2023-11-26 | 8.0.30 |
| 7.4 | 2022-11-28 | 7.4.33 |
[4] Read the result. 8.3 through 8.6 get security fixes. 8.2 also gets them until December 31, 2026, but as of December 2 only 29 days are left, so move now. 8.3 is already past active support and receives security fixes only, and active support for 8.4 also ends on December 31 this year. For 8.1 and older, the project has no fix to give you. Before upgrading, read the migration guide for every version on the way: 8.3, 8.4, 8.5 and 8.6. Also check that your extensions and framework support the version you choose.
[5] Distribution packages are not decided by the branch number alone. The advisory says some distributions and LTS vendors backport the fix, and USN-8948-1 did exactly that for Ubuntu 22.04's php8.1 package, as 8.1.2-1ubuntu2.28. So a package from a project-EOL 8.1 can still carry this fix. Judge such packages by package version and changelog, not the branch table; PHP shows 8.3.6, is it patched? shows how. How long a distribution keeps supporting a package is in that distribution's own notices, which this article did not check.
[6] If you build 8.1 or older from source, the advisory says the PHP security team made minimal source backports for PHP 7.4, 8.0 and 8.1, for these critical vulnerabilities only. Treat that as a stopgap and plan a move to a supported branch.
Where checks go wrong
- The php.net table has separate "active support" and "security support" columns. 8.3 is past its active support date but has security support until 2027-12-31. Do not read the first date as the end.
- The supported-versions page does not carry 8.1 and older; they are on the separate end-of-life page (
eol.php).