PHP vulnerability statistics changed sharply in 2026: the PHP project published 44 CVEs for its own code between 1 January and 26 November, more than in any other year since 2019, and 14 of them are rated critical. Two of those flaws, known as PHP2Shell, joined CISA’s Known Exploited Vulnerabilities catalog on 26 October, bringing the number of exploited flaws in PHP itself to 5. By ScanTitan’s calculation from W3Techs data, about 42.6% of websites that run PHP use a version that no longer receives fixes. This research counts the National Vulnerability Database and the CISA catalog directly, shows each method, and labels vendor figures. Data last checked: 26 November 2026. The latest, list and version sections were checked on 29 November 2026.
Key PHP Vulnerability Statistics for 2026
What Are PHP Vulnerabilities?
PHP vulnerabilities are security flaws in the PHP language, or in software written with it, that let an attacker do something the owner never allowed, such as run code, read data or knock a site offline. The meaning depends on where the flaw sits. A flaw in PHP itself affects the interpreter, a bundled extension or a server component such as PHP-FPM, and you fix it by updating PHP. A flaw in an application, such as a plugin, a framework or a webmail tool, needs an update from that software’s maintainer, even when PHP is current. Many sites carry both kinds at once. The figures on this page count flaws in PHP itself unless a section says otherwise.
Latest PHP Vulnerabilities
The latest PHP vulnerabilities are the 17 flaws published on 19 November 2026, including phpAfterShell, which followed the two PHP2Shell flaws of 21 October. PHP rates seven of the November flaws critical. PHP2Shell, CVE-2026-109618 and CVE-2026-109619, corrupts or reuses request memory and can lead to remote code execution without a login, and CISA listed both as exploited on 26 October. None of the November flaws appeared in CISA’s catalog version 2026.11.27. A server patched only in October is therefore still exposed to the newer set. Update to PHP 8.5.13, 8.4.28, 8.3.37 or 8.2.36 or later, then restart every PHP worker. This section was checked on 29 November 2026.
What Is phpAfterShell (CVE-2026-126714)?
phpAfterShell is a critical flaw in PHP’s default file session handler, tracked as CVE-2026-126714 and scored 9.2 by the PHP security team. When a session write is interrupted, the file can hold the start of the new session followed by the end of the old one, and PHP may then unserialize attacker controlled objects. According to the PHP advisory, code execution needs influence over session data, an interruption at the right moment and a suitable code path in the application. It affects PHP before 8.2.36, 8.3.37, 8.4.28 and 8.5.13, so the October releases do not fix it. If you cannot update yet, turn off session upload progress where unused and limit untrusted session data. NVD had not scored it on 29 November.
Executive Benchmark: PHP Vulnerabilities in 2026
| Metric | Latest figure | Period | Context | Source |
|---|---|---|---|---|
| CVEs issued by the PHP project | 44 | 1 Jan to 26 Nov 2026 | 13 in 2025, 6 in 2023 | National Vulnerability Database, counted by ScanTitan |
| Critical PHP CVEs | 14 | 2026 to 26 Nov | 2 in 2025, 4 in 2024 | National Vulnerability Database, counted by ScanTitan |
| Memory-related weakness among PHP CVEs | 28 of 44 | 2026 to 26 Nov | 6 of 13 in 2025 | National Vulnerability Database, counted by ScanTitan |
| Exploited flaws in PHP itself | 5 | Catalog to 24 Nov 2026 | 3 listed within 5 days of their CVE | CISA KEV feed, counted by ScanTitan |
| PHP websites on end-of-life versions | 42.6% | 26 Nov 2026 | 59.6% from January if unchanged | Calculated from W3Techs |
| Exposed instances potentially vulnerable to PHP2Shell | 22.6 million | October 2026 | Version-based exposure, not confirmed compromise | Unit 42, vendor-only |
| Hosts advertising a PHP2Shell-vulnerable version | 18.4 million of about 30 million | Before disclosure | Over 33% patched in the first 7 days | Bitsight, vendor-only |
| Teams running end-of-life PHP | About 40% | 2026 survey | Nearly 20% still on PHP 7 | Zend, vendor survey |
Methodology: How We Counted PHP Vulnerabilities

“PHP vulnerability” is used for at least four different things. Mixing them produces numbers that look alarming or reassuring without being true.
| Count | What it includes | Figure | What it cannot tell you |
|---|---|---|---|
| CVEs issued by the PHP project | Flaws in PHP itself, published in 2026 | 44 | Whether your configuration is affected |
| Exploited flaws in PHP itself | CISA entries for the PHP language | 5 in total | Exploitation that CISA has not listed |
| Catalog entries tied to PHP | PHP, libraries, applications and devices that use it | 40 in total | That the PHP engine was at fault |
| Websites on old versions | W3Techs versions past end of life | 42.6% | Whether a distribution has backported fixes |
CVE counts. We queried the National Vulnerability Database on 26 November 2026 for records whose source is the PHP project, excluding rejected records, and grouped them by publication date. The 123 records run from 2019. For severity we used the CVSS version 3 score, preferring NVD’s own, and the version 4 score where a record had no version 3 score. Memory-related means a record carries a memory weakness type, such as use after free, out-of-bounds access, integer overflow or null pointer dereference.
Exploited counts. We used CISA’s catalog version 2026.11.24, holding 1,795 entries. We searched every name, product and description for the word PHP, which matched 41 entries, and read them. One is a Linux kernel flaw that mentions PHP only because it was chained with PHP2Shell, so we removed it. Our CISA KEV catalog guide explains the list.
PHP CVEs by Year
| Publication year | CVEs from the PHP project | Critical | High | Medium | Low |
|---|---|---|---|---|---|
| 2019 | 16 | 8 | 3 | 5 | 0 |
| 2020 | 13 | 3 | 3 | 6 | 1 |
| 2021 | 7 | 0 | 2 | 5 | 0 |
| 2022 | 7 | 2 | 3 | 2 | 0 |
| 2023 | 6 | 1 | 3 | 2 | 0 |
| 2024 | 17 | 4 | 6 | 6 | 1 |
| 2025 | 13 | 2 | 6 | 4 | 1 |
| 2026 (to 26 Nov) | 44 | 14 | 11 | 18 | 1 |

2026 stands out. Its 44 CVEs are more than three times the 2025 total, and its 14 critical ratings are more than double those of 2024 and 2025 combined (6). Thirty of the 44 arrived from September onward, in three releases:
| CVE publication date | PHP CVEs published | What stood out |
|---|---|---|
| 25 September 2026 | 11 | None rated critical |
| 21 October 2026 | 2 | PHP2Shell, both exploited; one counts as high here on its 8.1 CVSS 3.1 score |
| 19 November 2026 | 17 | 7 critical |
The number of CVEs measures what was found and published. It does not by itself show that the code got worse. Wiz and others report that AI models helped find the October flaws, and some of the underlying code had been present for more than a decade.
NVD also tags CVEs to the PHP product, which reaches back to 1997 and counts 760 records in total. Those tags arrive after publication, showing 27 for 2026, so we use the issuer count for recent years.
PHP Severity and Weakness Types
Memory handling is the main story. PHP is written in C, and flaws in how it manages memory can let attackers read data or run code.
| Weakness type | Records, 2019 to 26 Nov 2026 | Share of 123 |
|---|---|---|
| Out-of-bounds read (CWE-125) | 26 | 21.1% |
| Use after free (CWE-416) | 14 | 11.4% |
| Out-of-bounds write (CWE-787) | 12 | 9.8% |
| Improper input validation (CWE-20) | 12 | 9.8% |
| Integer overflow (CWE-190) | 10 | 8.1% |
| Null pointer dereference (CWE-476) | 7 | 5.7% |
One record can carry more than one type. By year, the memory-related share has swung widely:
| Year | Memory-related PHP CVEs | Share |
|---|---|---|
| 2019 | 16 of 16 | 100% |
| 2020 | 10 of 13 | 76.9% |
| 2021 | 3 of 7 | 42.9% |
| 2022 | 5 of 7 | 71.4% |
| 2023 | 1 of 6 | 16.7% |
| 2024 | 4 of 17 | 23.5% |
| 2025 | 6 of 13 | 46.2% |
| 2026 (to 26 Nov) | 28 of 44 | 63.6% |
For how this family compares across all software, see our memory safety statistics, and for the best-known member, our guide to the use-after-free vulnerability.
PHP Vulnerabilities List for 2026: October and November Releases
The PHP vulnerabilities list for 2026 below covers the 19 flaws that PHP published in its two latest security releases: two on 21 October and 17 on 19 November. By PHP’s own CVSS 4.0 scores, 9 are critical, 4 are high and 6 are medium. NVD scores can differ, as they do for PHP2Shell, where NVD gives CVE-2026-109618 9.8 and CVE-2026-109619 8.1. The fixed column shows the releases whose PHP changelog entry covers each flaw. Where a branch is missing from a row, its changelog entry does not list that flaw, so read the record before you assume anything. The year’s earlier flaws are counted in the tables above, not repeated here.
| CVE | Flaw | Severity (PHP, CVSS 4.0) | Published | Fixed in |
|---|---|---|---|---|
| CVE-2026-126714 | phpAfterShell: partly overwritten session files | Critical 9.2 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-115560 | Session serializer mismatch | Critical 9.2 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-129182 | Use after free in stored error backtraces | Critical 9.2 | 19 Nov | 8.5.13 |
| CVE-2026-129289 | PHP-FPM request smuggling | Critical 9.2 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-129474 | Use after free in magic method backtraces | Critical 9.2 | 19 Nov | 8.5.13 |
| CVE-2026-129481 | Use after free after interrupted session shutdown | Critical 9.2 | 19 Nov | 8.5.13, 8.4.28, 8.3.37 |
| CVE-2026-129496 | Timezone cache use after free | Critical 9.2 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-129291 | PHP-FPM local privilege escalation | High 8.8 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-127960 | Denial of service through folded HTTP headers | High 8.7 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-128064 | Mixed case HTTPS and FTPS URLs can expose data | High 8.2 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-128090 | PHAR signature bypass | High 7.7 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-129538 | PHP-CGI out of bounds read and write | Medium 6.9 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-129438 | Incorrect URI serialization for oversized input | Medium 6.3 | 19 Nov | 8.5.13 |
| CVE-2026-129501 | Double free during DOM XML serialization | Medium 6.3 | 19 Nov | 8.5.13, 8.4.28 |
| CVE-2026-129506 | SOAP use after free | Medium 6.3 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-15353 | SOAP information disclosure | Medium 6.3 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-129292 | Cross site scripting on the PHP-FPM status page | Medium 5.3 | 19 Nov | 8.5.13, 8.4.28, 8.3.37, 8.2.36 |
| CVE-2026-109618 | PHP2Shell: memory corruption after running out of memory | Critical 9.2 | 21 Oct | 8.5.12, 8.4.27, 8.3.36, 8.2.35 |
| CVE-2026-109619 | PHP2Shell: stale request state reused | Critical 9.2 | 21 Oct | 8.5.12, 8.4.27, 8.3.36, 8.2.35 |
What Conditions Do the Critical November Flaws Need?
The critical November flaws need different conditions, ranging from file session handling to particular server builds and settings.
On 19 November 2026, PHP published new releases for its supported branches: 8.5.13, 8.4.28, 8.3.37 and 8.2.36. A site updated for PHP2Shell in October is still missing these fixes. The seven critical CVEs:
| CVE | What it affects | Condition named in the record |
|---|---|---|
| CVE-2026-126714 | Session files can be partly overwritten | Default file session handler, attacker influence on session data |
| CVE-2026-115560 | Session serializer mismatch | Upload progress with mismatched serializers |
| CVE-2026-129289 | PHP-FPM request smuggling | Reused backend connections, not the default in nginx or Apache |
| CVE-2026-129182 | Use after free in stored error backtraces | Depends on per-path memory settings |
| CVE-2026-129474 | Use after free in magic method backtraces | Fatal error during certain method calls |
| CVE-2026-129481 | Use after free after interrupted session shutdown | An attacker must trigger a failing cleanup |
| CVE-2026-129496 | Timezone cache use after free | Non-thread-safe builds with a startup diagnostic |

The other ten are 4 high and 6 medium, including a local privilege escalation in PHP-FPM (CVE-2026-129291), a signature bypass in PHAR archives (CVE-2026-128090) and URLs with capital letters such as HTTPS being fetched without encryption (CVE-2026-128064). None of the 17 was in CISA’s catalog in the 24 November or 27 November versions. Many depend on settings, so read each advisory against your configuration, then update anyway.
PHP Vulnerabilities by Version
PHP vulnerabilities by version depend on your branch and your exact patch release, so a major version number alone tells you little. For the 19 November flaws, the PHP changelog covers 17 in 8.5.13, 14 in 8.4.28, 13 in 8.3.37 and 12 in 8.2.36. Anything older than those releases on the same branch is missing them. PHP 8.1 and older get no official fix, although the security team published source backports for PHP2Shell and some Linux distributions patch their own packages. Check your distribution’s advisory before judging by version number, because vendors often fix flaws without changing it. Dates come from PHP’s supported versions page.
| Branch | Affected releases | Fixed releases (October, November) | Active support ends | Security support ends |
|---|---|---|---|---|
| 8.6 | Released 19 November 2026 | None listed | 31 Dec 2028 | 31 Dec 2030 |
| 8.5 | Before 8.5.13 | 8.5.12, then 8.5.13 | 31 Dec 2027 | 31 Dec 2029 |
| 8.4 | Before 8.4.28 | 8.4.27, then 8.4.28 | 31 Dec 2026 | 31 Dec 2028 |
| 8.3 | Before 8.3.37 | 8.3.36, then 8.3.37 | 31 Dec 2025 | 31 Dec 2027 |
| 8.2 | Before 8.2.36 | 8.2.35, then 8.2.36 | 31 Dec 2024 | 31 Dec 2026 |
| 8.1 and older | All, treat as vulnerable | No official release | Ended | Ended |
Exploited PHP Vulnerabilities
CISA lists 5 flaws in PHP itself as exploited.
| CVE | Flaw | CVE published | Added to CISA list | Days between | Ransomware flag |
|---|---|---|---|---|---|
| CVE-2012-1823 | PHP-CGI query string handling | 11 May 2012 | 25 Mar 2022 | 3,605 | Not known |
| CVE-2019-11043 | PHP-FPM buffer overflow | 28 Oct 2019 | 25 Mar 2022 | 879 | Known |
| CVE-2024-4577 | PHP-CGI command injection on Windows | 9 Jun 2024 | 12 Jun 2024 | 3 | Known |
| CVE-2026-109618 | PHP2Shell memory corruption | 21 Oct 2026 | 26 Oct 2026 | 5 | Not known |
| CVE-2026-109619 | PHP2Shell stale request state | 21 Oct 2026 | 26 Oct 2026 | 5 | Not known |

The two oldest entries were added when the catalog was young, long after their CVEs. The three since 2024 were listed within five days. CISA gave federal agencies three days, to 29 October, to deal with PHP2Shell. Interface components such as PHP-CGI and PHP-FPM appear in the history more than once, which makes them worth checking on any server. For listing speed across all software, see our zero-day statistics.
PHP2Shell in Numbers
PHP2Shell is the name for CVE-2026-109618 and CVE-2026-109619, two memory flaws in PHP core that can lead to remote code execution without a login. PHP rates both 9.2 under CVSS 4.0. Our PHP2Shell guide covers detection and fixes. The figures below show scale.
| Measure | Figure | Source and limit |
|---|---|---|
| Versions affected | PHP 5.4 to 8.5 | Wiz |
| Exposed instances potentially vulnerable | 22.6 million | Unit 42 telemetry, vendor-only |
| PHP hosts seen before disclosure | About 30 million, 18.4 million advertising a vulnerable version | Bitsight, vendor-only |
| Patched in the first 7 days | Over 33% | Bitsight, vendor-only |
| Fall in exposed vulnerable machines | About 67% in days | Wiz telemetry, vendor-only |
| Affected organizations still vulnerable after a week | Under 53% | Wiz telemetry, vendor-only |
| First scan activity reported | 17 October, before disclosure | Amazon, as reported by Bitsight |
How exploitation unfolded matters, because early headlines ran ahead of evidence. On 27 October, Cybersecurity Dive reported what appeared to be the first confirmed remote code execution, found by Perplexity researchers on a honeypot, in activity against Apache with PHP 8.4.26, in the same week CISA added both flaws. Unit 42 later confirmed a campaign that chained PHP2Shell with a Linux kernel flaw to gain root on exposed Palo Alto management interfaces. It put the share of that vendor’s installed base with internet-facing management interfaces at about 0.02%. Bitsight found that most traffic it observed lacked the structure needed to succeed.
Our Linux vulnerabilities statistics cover the kernel side, and our remote code execution statistics put code execution flaws in context.
What about older branches? PHP released source patches for 7.4, 8.0 and 8.1 but no official releases, because they are past end of life. Some distributions and vendors ship their own fixed builds, so a version number alone can mislead. PHP’s maintainers said there were no complete mitigations and that updating was the safe choice.
PHP Usage and Version Statistics
W3Techs reported on 26 November 2026 that PHP is used by 67.9% of websites whose server-side language it knows. Its version split:
| PHP version | Share of PHP websites | Status on 26 November 2026 |
|---|---|---|
| 8.5 | 6.2% | Supported |
| 8.4 | 9.5% | Supported |
| 8.3 | 24.7% | Security fixes only |
| 8.2 | 17.1% | Security fixes end 31 December 2026 |
| 8.1 | 8.4% | End of life |
| 8.0 | 3.2% | End of life |
| 7 | 23.7% | End of life |
| 5 | 7.1% | End of life |
| 4 | 0.1% | End of life |
The version 8 rows are our calculation: W3Techs gives version 8 as 69.1% of PHP sites and each branch as a share of version 8, so we multiplied the two. Rows are rounded, so adding them can differ from our totals by 0.1 point. Support dates come from PHP’s supported versions page, which also lists 8.6, released on 19 November 2026.

Developers move faster than the web as a whole. The Packagist figures published by stitcher.io for July 2026, which measure package installs, show 14% on PHP 8.2, 24% on 8.3, 32% on 8.4 and 16% on 8.5.
End-of-Life PHP: Why Published Figures Disagree
Adding versions 8.1 and older gives 42.6% of PHP websites. Add 8.2, which loses support on 31 December 2026, and the figure becomes 59.6% if nothing changes. Other sources report very different numbers because they measure different things.
| Figure | Source | What it measures |
|---|---|---|
| 31% on 8.1 or older | Web Aloha | 19,620 sites that showed a version, among sites people chose to check |
| About 40% on end-of-life versions | Zend survey | PHP professionals reporting their own versions |
| 42.6% on end-of-life versions | ScanTitan calculation | Websites in W3Techs data |
| About 74% on 8.1 or older | Mallory, as quoted by Web Aloha | Internet-facing services in Shodan that showed a version |

None of these is wrong on its own terms. A survey reaches engaged teams, a self-service checker reaches worried site owners, and an internet scan sees forgotten servers. Also note that a distribution may backport fixes while keeping an old version number, and many sites hide their version altogether. Web Aloha found that nearly two thirds of sites showing signs of PHP or WordPress did not reveal one.
Applications Built on PHP in CISA’s Catalog
Most PHP-related exploitation in the catalog is not in the language. Of the 40 entries tied to PHP:
| Group | Entries | Flagged for ransomware | Examples |
|---|---|---|---|
| Applications, CMS and extensions | 23 | 1 | WordPress, Drupal, Roundcube, vBulletin, Craft CMS |
| Network devices and appliances | 8 | 0 | Juniper, D-Link, Palo Alto PAN-OS |
| PHP itself | 5 | 2 | PHP-CGI, PHP-FPM, PHP2Shell |
| Libraries and developer tools | 4 | 0 | PHPMailer, the PEAR archive library, PHPUnit |

The recent additions show where to look. Eight application entries were added in 2026, including WordPress core (CVE-2026-87902, 25 September), Drupal core (CVE-2026-132165, 24 November), three Joomla extensions and a Magento cache extension.
Across all 40 entries, 23 (57.5%) describe code execution, injection or file inclusion, against 47.2% of other catalog entries, and 16 (40%) say no login is needed, against 16.5%. For application-level data, see our WordPress plugin vulnerability statistics, Drupal vulnerability statistics and CMS vulnerability statistics.
PHP Statistics Commonly Misquoted
| Claim | What the data shows | Source |
|---|---|---|
| “PHP powers 75% of websites” | 67.9% of sites with a known server-side language on 26 November 2026 | W3Techs |
| “Updating for PHP2Shell is enough” | 17 more CVEs were fixed on 19 November, 7 critical | PHP releases and NVD |
| “Every vulnerable version means a hacked site” | Exposure counts measure versions; success depends on configuration | Unit 42, Bitsight |
| “Most exploited PHP flaws are in PHP” | 5 of 40 PHP-related entries are PHP itself | CISA, reviewed by ScanTitan |
| “Old PHP branches can never be patched” | No official releases, but source patches and vendor builds exist for some | PHP and vendors |
| “Three quarters of PHP runs unsupported” | Figures run from 31% to about 74% depending on the sample | Published sources |
| “2027 changes nothing” | PHP 8.2 support ends 31 December 2026 | PHP |
How to Check Your PHP Site With ScanTitan
The ScanTitan PHP vulnerability scanner tests a running website from outside. Paid plans include an end of life check that flags unsupported PHP versions, the scanner detects PHP2Shell exposure, and it matches detected CMS, plugin and library versions to known CVEs. Vulnerability scanning starts on the Professional plan; the free plan does not include it. The free Software End of Life Checker tests a version number you paste in.
A practical routine:
- Confirm the PHP version in your hosting panel, for every server and application.
- Update to 8.5.13, 8.4.28, 8.3.37, 8.2.36 or newer, or confirm your vendor’s build includes the November fixes.
- Restart PHP-FPM or the web server so the new code runs.
- Scan the site from outside to find exposed versions and outdated components.
- Check any CVE in the CVE priority checker for known exploitation.
- Plan the move off PHP 8.2 before 31 December.
Limits matter. A remote scan reads the PHP version only when the server reveals it, cannot read your source code and does not patch anything. It also cannot confirm that a flaw can be exploited with your settings, or that nobody has already used it.
Patch Priorities for a Small Team
- Update now. The November releases came after the October emergency, so check the version again.
- Treat PHP-CGI and PHP-FPM settings as part of the risk. Several flaws depend on them, and three exploited flaws in the history involve these interfaces.
- Leave end-of-life branches. Extended support or distribution builds buy time; they do not end the problem.
- Patch applications too. Most PHP-related entries in the catalog are in software built on PHP.
- Look for signs of compromise. A patch does not remove a web shell placed before it.
Our patch management statistics compare deadlines with real fix times. None of this is advice for a specific environment.
How We Compiled and Verified These Statistics
PHP CVE counts come from the National Vulnerability Database API, queried on 26 November 2026 for records issued by the PHP project, excluding rejected records. Scores can change as analysis continues. Exploited figures come from CISA’s feed, version 2026.11.24, with publication dates from the CVE Services API. We read the 41 entries that mention PHP and grouped the 40 that involve it. Version figures come from W3Techs on the same day, with our multiplication shown above. Wording shares search each entry’s name and description. Vendor figures are labeled, and we did not combine figures measured in different ways.
Primary Sources
- National Vulnerability Database API
- CISA Known Exploited Vulnerabilities feed (version 2026.11.24)
- PHP supported versions
- PHP 8 ChangeLog
- PHP security advisory for CVE-2026-126714
- PHP unsupported branches
- W3Techs, usage statistics of PHP
- Wiz, PHP2Shell and exploitation trends (vendor-only)
- Unit 42, Critical Vulnerabilities in PHP (vendor-only)
- Bitsight, PHP2Shell scanning and patching data (vendor-only)
- Cybersecurity Dive, exploitation of PHP flaws
- Zend, 2026 PHP migration trends (vendor survey)
- stitcher.io, PHP version stats July 2026
- Web Aloha, PHP version statistics
- Wikipedia, PHP2Shell
Frequently Asked Questions
How many PHP vulnerabilities were reported in 2026?
The PHP project issued 44 CVEs that were published between 1 January and 26 November 2026, by ScanTitan’s count of the National Vulnerability Database. That compares with 13 in 2025.
How many PHP vulnerabilities are actively exploited?
CISA’s Known Exploited Vulnerabilities catalog lists 5 flaws in PHP itself as of 24 November 2026. Another 35 entries involve PHP applications, libraries or devices that run PHP.
What is PHP2Shell?
PHP2Shell is CVE-2026-109618 and CVE-2026-109619, two memory flaws in PHP core that can allow remote code execution without a login. Fixes shipped on 21 October 2026, and CISA listed both on 26 October.
Which PHP version is safe now?
As of 26 November 2026, the fixed releases are PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36, or newer. Check PHP’s advisories for later releases.
How many websites use PHP?
W3Techs reported 67.9% of websites with a known server-side language on 26 November 2026.
How many websites run an unsupported PHP version?
About 42.6% of PHP websites, by ScanTitan’s calculation from W3Techs data. Other methods give figures from 31% to about 74%.
When does PHP 8.2 reach end of life?
Security support for PHP 8.2 ends on 31 December 2026. PHP 8.3 follows on 31 December 2027.
Is PHP secure?
A current, supported and well configured PHP installation receives security fixes. Risk rises with old versions, certain interface settings and vulnerable applications built on top of PHP.
What is the most common type of PHP vulnerability?
Among PHP project CVEs since 2019, out-of-bounds read leads with 26 of 123 records, followed by use after free with 14.
How can I check my PHP site for vulnerabilities?
Confirm the running version, update to a fixed release, then scan the live site from outside for exposed versions and outdated components. ScanTitan’s PHP vulnerability scanner does the scan on paid plans.
What is phpAfterShell?
phpAfterShell is CVE-2026-126714, a critical flaw in PHP file session handling that was published on 19 November 2026. It can lead to remote code execution under specific conditions. PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix it.
Is PHP 7.4 vulnerable?
Yes, treat PHP 7.4 as vulnerable. It reached end of life on 28 November 2022, so it gets no official release. The PHP security team published source backports for PHP2Shell, which you or your distribution must apply, and an upgrade is the lasting fix.
Is PHP 8.5 vulnerable?
Yes, PHP 8.5 is vulnerable if it is older than 8.5.13. Release 8.5.12 fixed PHP2Shell, and 8.5.13 fixed the 19 November flaws, including phpAfterShell. Update, restart the PHP workers and confirm the running version.


