CISA list

PHP versions

PHP: update to 8.6.0, 8.5.13, 8.4.28, 8.3.37 or 8.2.36. 8.1 and older have reached end of life in the lifecycle data.

Data: .

Which PHP branch to run

The newest safe release is the newest release of a branch that still gets fixes and that no CVE record we read names as affected. Records whose versions we cannot place on a branch are counted at the end of the page.

Which PHP branch to run
BranchStatusNewest safe releaseUpgrade to
8.6Bug and security fixes until 31 December 20288.6.08.6.0 (this branch)
8.537 CVE recordsBug and security fixes until 31 December 20278.5.138.5.13 (this branch)
8.443 CVE recordsBug and security fixes until 31 December 20268.4.288.4.28 (this branch)
8.356 CVE recordsSecurity fixes only until 31 December 20278.3.378.3.37 (this branch)
8.260 CVE recordsSecurity fixes only until 31 December 20268.2.368.2.36 (this branch)
8.143 CVE recordsEnded on 31 December 2025None, the branch has ended8.2.36 (move to 8.2)
8.020 CVE recordsEnded on 26 November 2023None, the branch has ended8.2.36 (move to 8.2)
7.431 CVE recordsEnded on 28 November 2022None, the branch has ended8.2.36 (move to 8.2)
7.333 CVE recordsEnded on 6 December 2021None, the branch has ended8.2.36 (move to 8.2)
7.223 CVE recordsEnded on 30 November 2020None, the branch has ended8.2.36 (move to 8.2)
7.18 CVE recordsEnded on 1 December 2019None, the branch has ended8.2.36 (move to 8.2)
7.0Ended on 10 January 2019None, the branch has ended8.2.36 (move to 8.2)
5.6Ended on 31 December 2018None, the branch has ended8.2.36 (move to 8.2)
5.5Ended on 21 July 2016None, the branch has ended8.2.36 (move to 8.2)
5.4Ended on 14 September 2015None, the branch has ended8.2.36 (move to 8.2)
5.3Ended on 14 August 2014None, the branch has ended8.2.36 (move to 8.2)
5.2Ended on 6 January 2011None, the branch has ended8.2.36 (move to 8.2)
5.1Ended on 24 August 2006None, the branch has ended8.2.36 (move to 8.2)
4.4Ended on 7 August 2008None, the branch has ended8.2.36 (move to 8.2)
5.0Ended on 5 September 2005None, the branch has ended8.2.36 (move to 8.2)
4.3Ended on 31 March 2005None, the branch has ended8.2.36 (move to 8.2)
4.2Ended on 6 September 2002None, the branch has ended8.2.36 (move to 8.2)
4.1Ended on 12 March 2002None, the branch has ended8.2.36 (move to 8.2)
4.0Ended on 23 June 2001None, the branch has ended8.2.36 (move to 8.2)

Exploited, or likely to be

CVE records for PHP that CISA lists as exploited, that have a public exploit, or that EPSS rates 0.50 or more, with the releases that fix each where the record names them. 6 of the 8 records shown name one.

Exploited, or likely to be
RecordSigns of exploitationFixed in
CVE-2024-4577Argument Injection in PHP-CGI9.8 Critical · published 9 June 2024On CISA's list
Metasploit module
Exploit-DB entry
EPSS 0.50 or more
Fixed in 8.3.8, 8.2.20, 8.1.29
CVE-2019-11043Underflow in PHP-FPM can lead to RCE8.7 High · published 28 October 2019On CISA's list
Metasploit module
Exploit-DB entry
EPSS 0.50 or more
Fixed in 7.3.11, 7.2.24, 7.1.33
CVE-2012-1823PHP-CGI Query String Parameter9.8 Critical · published 11 May 2012On CISA's list
Metasploit module
Exploit-DB entry
EPSS 0.50 or more
No record that we read gives its versions, so this page does not place it on a branch.
CVE-2026-109618RCE via OOM corruption9.2 Critical · published 21 October 2026On CISA's list
Exploit-DB entry
EPSS 0.50 or more
Fixed in 8.5.12, 8.4.27, 8.3.36, 8.2.35
CVE-2026-109619RCE via stale global state9.2 Critical · published 21 October 2026On CISA's list
EPSS 0.50 or more
Fixed in 8.5.12, 8.4.27, 8.3.36, 8.2.35
CVE-2026-115560Session serializer mismatch can lead to remote code execution9.2 Critical · published 19 November 2026EPSS 0.50 or moreThis page does not place it on a branch.
CVE-2022-31626mysqlnd/pdo password buffer overflow7.5 High · published 16 June 2022EPSS 0.50 or moreFixed in 8.1.7, 8.0.20, 7.4.30
CVE-2022-31629$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities6.5 Medium · published 28 September 2022EPSS 0.50 or moreFixed in 8.1.11, 8.0.24, 7.4.31

CISA's list for the vendor

The entries CISA lists under the vendor names it uses for PHP, each with its patch-first group.

What this page counts

The branches, their dates and the newest release of each are from the product lifecycle data credited under Sources. A later release that a CVE record names as a fix counts as the newest too.

The fixes are from 110 CVE records that PHP's own CVE Numbering Authority published and that name PHP. A record says a release fixes a flaw when its affected range for a branch ends before that release. A record from any other source gives no version here.

A branch that has ended is rarely named in a new record. That is not a sign that it is safe. Not tested by the project, treat as affected.

A release gets a page of its own when it fixes three or more CVE records, or any record that CISA lists as exploited or that EPSS rates 0.50 or more, and keeps it. Any other release is a row on its branch page.

12 records are not placed on a branch, so no branch or release row counts them: CVE-2019-11038, CVE-2020-7067, CVE-2026-15353, CVE-2026-115560, CVE-2026-126714, CVE-2026-128064, CVE-2026-128090, CVE-2026-129289, CVE-2026-129292 and CVE-2026-129496 and 2 others.

Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • Product lifecycle dates from endoflife.date, Copyright 2020 endoflife.date contributors (MIT License) (source). Licence: MIT License
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)