PHP vulnerabilities by version
PHP fixed 36 CVEs between Dec 18, 2025 and Oct 21, 2026, the latest being PHP2Shell (CVE-2026-109618 and CVE-2026-109619). PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 include every fix PHP lists for their branch; a site on an older release is missing at least the PHP2Shell fix.
Looking for the critical PHP vulnerability from October 2026? That's PHP2Shell: what it is, who is affected and how to patch. Find your release with the free PHP version checker.
Read-only: one standard page request, like a browser visit. We never send attack traffic.
Every PHP CVE and the release that fixed it
Newest first. The version in each column is the first release on that branch that contains the fix. A dash means PHP's changelog doesn't list the CVE for that branch.
| CVE | Fixed on | Issue | 8.5 | 8.4 | 8.3 | 8.2 |
|---|---|---|---|---|---|---|
| CVE-2026-109618 | Oct 21, 2026 | Core: PHP2Shell: remote code execution via out-of-memory corruption | 8.5.12 | 8.4.27 | 8.3.36 | 8.2.35 |
| CVE-2026-109619 | Oct 21, 2026 | Core: PHP2Shell: remote code execution via stale global state | 8.5.12 | 8.4.27 | 8.3.36 | 8.2.35 |
| CVE-2025-1218 | Sep 24, 2026 | MySQLnd: Various packet overreads in mysqlnd wire protocol | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2025-14181 | Sep 24, 2026 | SOAP: Integer overflow to buffer overflow in SOAP HTTP parsing | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-17545 | Sep 24, 2026 | Windows: Reserved device names are not rejected before file and stream I/O | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-6103 | Sep 24, 2026 | Phar: Integer overflow in phar_tar_number() allowing TAR archive entry injection | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-91765 | Sep 24, 2026 | SOAP: Unbounded recursion in server-side cleanup_xml_node() | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-91766 | Sep 24, 2026 | Standard: Cross-origin credential leak in HTTP stream wrapper redirects | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-91767 | Sep 24, 2026 | OpenSSL: Heap buffer overflow in php_openssl_matches_wildcard_name() on crafted server certificate wildcard CN | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-91768 | Sep 24, 2026 | FPM: IPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-91769 | Sep 24, 2026 | OpenSSL: TLS hostname verification falls back to CN after SAN mismatch | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-92842 | Sep 24, 2026 | Standard: Out-of-bounds read in convert.* stream filters when line-break-chars contains NUL | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-93682 | Sep 24, 2026 | Standard: Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header | 8.5.11 | 8.4.26 | 8.3.35 | 8.2.34 |
| CVE-2026-17543 | Jul 30, 2026 | PGSQL: SQL injection via E'...' backslash breakout | 8.5.9 | 8.4.24 | 8.3.33 | 8.2.33 |
| CVE-2026-17544 | Jul 30, 2026 | BCMath: Out-of-bounds write in bccomp() | 8.5.9 | 8.4.24 | – | – |
| CVE-2026-7260 | Jul 30, 2026 | Phar: Crash via recursive symlinks | 8.5.9 | 8.4.24 | 8.3.33 | 8.2.33 |
| CVE-2026-9672 | Jul 30, 2026 | GD: Bundled libgd upgraded | 8.5.9 | 8.4.24 | 8.3.33 | 8.2.33 |
| CVE-2026-14355 | Jul 2, 2026 | OpenSSL: Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD | 8.5.8 | 8.4.23 | 8.3.32 | 8.2.32 |
| CVE-2026-44927 | Jun 4, 2026 | URI: uriparser before 1.0.2: pointer difference truncation to int in various places | 8.5.7 | – | – | – |
| CVE-2026-44928 | Jun 4, 2026 | URI: uriparser before 1.0.2: the function family EqualsUri can misclassify two unequal URIs as equal | 8.5.7 | – | – | – |
| CVE-2025-14179 | May 7, 2026 | PDO_Firebird: SQL injection via NUL bytes in quoted strings | 8.5.6 | 8.4.21 | 8.3.31 | 8.2.31 |
| CVE-2026-12184 | May 7, 2026 | Streams: Segfault in file_get_contents w/ a https URL and a proxy set | 8.5.6 | 8.4.21 | 8.3.32 | – |
| CVE-2026-42371 | May 7, 2026 | URI: uriparser before 1.0.1 has numeric truncation in text range comparison | 8.5.6 | – | – | – |
| CVE-2026-6104 | May 7, 2026 | MBString: Out-of-bounds access in mbfl_name2encoding_ex() | 8.5.6 | 8.4.21 | – | – |
| CVE-2026-6722 | May 7, 2026 | SOAP: Stale SOAP_GLOBAL(ref_map) pointer with Apache Map | 8.5.6 | 8.4.21 | 8.3.31 | 8.2.31 |
| CVE-2026-6735 | May 7, 2026 | FPM: XSS within status endpoint | 8.5.6 | 8.4.21 | 8.3.31 | 8.2.31 |
| CVE-2026-7258 | May 7, 2026 | Standard: Consistently pass unsigned char to ctype.h functions | 8.5.6 | 8.4.21 | 8.3.31 | 8.2.31 |
| CVE-2026-7259 | May 7, 2026 | MBString: Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init() | 8.5.6 | 8.4.21 | 8.3.31 | 8.2.31 |
| CVE-2026-7261 | May 7, 2026 | SOAP: Use-after-free after header parsing failure with SOAP_PERSISTENCE_SESSION | 8.5.6 | 8.4.21 | 8.3.31 | 8.2.31 |
| CVE-2026-7262 | May 7, 2026 | SOAP: Broken Apache map value NULL check | 8.5.6 | 8.4.21 | 8.3.31 | 8.2.31 |
| CVE-2026-7263 | May 7, 2026 | DOM: Dom\XMLDocument::C14N() emits duplicate xmlns declarations after setAttributeNS() | 8.5.6 | 8.4.21 | – | – |
| CVE-2026-7568 | May 7, 2026 | Standard: Signed integer overflow of char array offset | 8.5.6 | 8.4.21 | 8.3.31 | 8.2.31 |
| CVE-2025-14177 | Dec 18, 2025 | Standard: Information leak of memory in getimagesize | 8.5.1 | 8.4.16 | 8.3.29 | 8.2.30 |
| CVE-2025-14178 | Dec 18, 2025 | Standard: Heap buffer overflow in array_merge() | 8.5.1 | 8.4.16 | 8.3.29 | 8.2.30 |
| CVE-2025-14180 | Dec 18, 2025 | PDO: PDO quoting result null deref | 8.5.1 | 8.4.16 | 8.3.29 | 8.2.30 |
| CVE-2025-67899 | Dec 18, 2025 | URI: uriparser through 0.9.9 allows unbounded recursion and stack consumption | 8.5.1 | – | – | – |
From php.net's PHP 8 ChangeLog and the October 21, 2026 security advisory. PHP shipped security fixes on 7 dates in this period: Oct 21, 2026, Sep 24, 2026, Jul 30, 2026, Jul 2, 2026, Jun 4, 2026, May 7, 2026, Dec 18, 2025.
Versions that get no fixes
PHP 8.1 and older are past end of life. PHP 8.1's last release, 8.1.34 (Dec 18, 2025), fixed CVE-2025-14177, CVE-2025-14178, CVE-2025-14180; every CVE above it in the table stays open on 8.1. See PHP 8.1 end of life and every PHP version's end-of-life date.
Distribution packages
Debian, Ubuntu, Red Hat and other distributions add fixes to their own PHP packages without always changing the version number, so a version like 8.2.20 with a distribution suffix may already have some of these fixes. Check your distribution's security tracker or ask your host. Our checker says so when it sees a distribution build rather than guess.
Want to know the day it matters? Continuous monitoring reads the real PHP version from inside your server every day and emails you the day a new fix applies to your site, plus the signs of a break-in. See pricing.
Questions
What is the latest PHP vulnerability?
PHP2Shell (CVE-2026-109618 and CVE-2026-109619), rated 9.2 (CVSS v4.0, PHP's rating), fixed on October 21, 2026 in PHP 8.5.13, 8.4.28, 8.3.37, 8.2.36.
What should I do about the PHP vulnerability?
Check which PHP version your site runs, then update to 8.5.13, 8.4.28, 8.3.37, 8.2.36 or your distribution's fixed package and restart PHP. Sites on 8.1 or older have to move to 8.2 or newer. If you can't update today, apply php.net's mitigations from our PHP2Shell page.
Which PHP version should I run?
The latest release of a supported branch: 8.5.13, 8.4.28, 8.3.37, 8.2.36. Each includes every fix on this page that PHP lists for its branch.
Is PHP 8.1 vulnerable?
Yes. PHP 8.1's last release, 8.1.34 (Dec 18, 2025), fixed CVE-2025-14177, CVE-2025-14178, CVE-2025-14180. Nothing on this page after that date is fixed in an 8.1 release, including PHP2Shell.
Does my Linux distribution's PHP have these fixes?
Possibly, even with an older version number: Debian, Ubuntu and Red Hat add fixes to their own packages. Check your distribution's security tracker for each CVE, or ask your host.
Checked December 3, 2026. Sources:
