PHP
Vulnerability activity for PHP: what is being exploited, what was published lately, and when the next patch release is due.
Last 30 days
- CVEs
- 2
- Critical (CVSS 9+)
- 0
- Exploited (CISA KEV)
- 0
- With exploit code
- 1
Last 90 days
- CVEs
- 13
- Critical (CVSS 9+)
- 0
- Exploited (CISA KEV)
- 0
- With exploit code
- 1
Last 365 days
- CVEs
- 13
- Critical (CVSS 9+)
- 0
- Exploited (CISA KEV)
- 0
- With exploit code
- 1
Exploited now
CVEs on CISA's known-exploited list, newest first. "Days to KEV" counts from the CVE's publication.
- 9.8CriticalDec 30, 2016PHPMailer Code / command injectionCVE-2016-10033PHPMailer contains a command injection vulnerability because it fails to sanitize user-supplied input. Specifically, this issue affects the 'mail()' function of 'class.phpmailer.php' script. An attacker can exploit this issue to execute arbitrary code within the context of the application. Failed exploit attempts will result in a denial-of-service condition.Added to KEV Jul 7, 2025 · 3,110 days after publicationExploited100% likelyExploit codeExploit-DB · Metasploit · NucleiDetection
- 9.8CriticalMay 11, 2012PHPCVE-2012-1823sapi/cgi/cgi_main.c in PHP, when configured as a CGI script, does not properly handle query strings, which allows remote attackers to execute arbitrary code.Added to KEV Mar 25, 2022 · 3,605 days after publicationExploited100% likelyExploit codeExploit-DB · Metasploit · NucleiDetection
- 8.7HighOct 28, 2019PHP FastCGI Process Manager (FPM) Memory corruptionCVE-2019-11043In some versions of PHP in certain configurations of FPM setup, it is possible to cause FPM module to write past allocated buffers allowing the possibility of remote code execution.Added to KEV Mar 25, 2022 · 878 days after publicationExploited100% likelyExploit codeExploit-DB · Metasploit · NucleiDetection
Recent
- –UnscoredOct 23, 2026PHPCVE-2026-115560Exploit code
- –UnscoredOct 21, 2026PHPADV-cccs-04fec56d725bSerial Number: AV26-1070 Date: October 21, 2026 As of October 21, 2026, PHP is affected by vulnerabilities in the following product: PHP 8.5.x versions prior to 8.5.12 8.4.x versions prior to 8.4.27 8.3.x versions prior to 8.3.36 8.2.x versions prior to 8.2.35 The Cyber Centre encourages users and administrators to review the provided web links and apply any necessary updates as they become available. PHP Security advisory: Critical remote code execution vulnerabilities, update now Upcoming Crit
- 5.9MediumSep 25, 2026php Memory corruptionCVE-2026-92842The convert.base64-encode, convert.quoted-printable-encode and convert.quoted-printable-decode stream filters accept a line-break-chars option whose length is tracked separately from the string itself. The filter constructors duplicate the value with pestrdup(), which stops at the first NUL byte, while keeping the original length. When the filter later emits a line break it copies the recorded length out of the truncated allocation, reading past its end and placing adjacent heap bytes into the f
- 6.5MediumSep 25, 2026phpCVE-2026-91768The IPv6 branch of the FastCGI client access check compares only the first 12 bytes of a 16-byte IPv6 address, so listen.allowed_clients matches on a /96 prefix instead of the exact address. An attacker who can source an address sharing the first 96 bits with an allowed one passes the check and reaches the FastCGI endpoint.
- 4.3MediumSep 25, 2026php Auth bypass / access controlCVE-2026-91769PHP's OpenSSL stream peer verification checks the certificate's subjectAltName entries first and, whenever no entry matches, falls back to the Common Name. RFC 6125 requires the CN to be ignored once the certificate presents any service identity, so a certificate carrying a non-matching DNS SAN was still accepted when its CN matched the requested peer_name. A certificate trusted by the client for one name can therefore be used to impersonate another.
- 6.5MediumSep 25, 2026php Memory corruptionCVE-2026-91767php_openssl_matches_wildcard_name() in ext/openssl/xp_ssl.c underflows the length argument passed to memchr() when a TLS server certificate presents a wildcard name whose literal characters are together longer than the hostname being verified. A malicious server presenting such a certificate makes the PHP client read up to SIZE_MAX bytes past the end of a heap allocation. The path is reachable from any default client stream, because verify_peer_name is enabled by default.
- 5.9MediumSep 25, 2026php Information disclosureCVE-2026-91766When the http:// stream wrapper follows a redirect it forwards the user-supplied Authorization, Cookie and Proxy-Authorization headers unchanged, even when the redirect target is a different host, a different port, or a downgrade from HTTPS to HTTP. A server that can steer a redirect therefore receives credentials that were only meant for the original origin. This is the same class of issue that libcurl fixed in 7.58.0 ( CVE-2018-1000007 https://github.com/advisories/GHSA-g7x2-hrfp-pv5f ).
- 7.5HighSep 25, 2026php Denial of serviceCVE-2026-91765cleanup_xml_node() in the SOAP XML parser recurses once per XML nesting level with no depth limit. An unauthenticated attacker can post a SOAP request containing tens of thousands of nested elements to any SoapServer endpoint, exhaust the stack and crash the process. The same unbounded recursion exists in the SOAP value decoder and in the WSDL node search helper.
- 4.3MediumSep 25, 2026php Memory corruptionCVE-2026-6103phar_tar_number() parses the octal size field of a TAR header into a uint32_t with no overflow check. The field is 11 octal digits wide and holds values up to 0x1FFFFFFFF, so a size above 0xFFFFFFFF silently wraps. The parser then skips the wrong number of data blocks and interprets attacker-controlled file content as the next TAR header, which lets a crafted archive inject entries that PharData reports and extracts as if they were genuine.
- 7.5HighSep 25, 2026phpCVE-2026-17545On Windows, PHP's filesystem and stream APIs do not reject reserved device names such as CON, PRN, AUX, NUL, COM1 to COM9, LPT1 to LPT9, CONIN$ and CONOUT$ when they appear as a component of a path. An attacker-controlled filename therefore reaches CreateFileW() and opens a device instead of the regular file the application expected, which can block or hang the request and exhaust worker processes.
- 3.4LowSep 25, 2026php Memory corruptionCVE-2025-1218The mysqlnd wire protocol parser reads fields out of server packets before checking that the packet still holds enough bytes for them. A malicious or compromised MySQL server can send a truncated packet and make the client read past the end of the packet buffer, which is undefined behaviour and can crash the process.
- 6.5MediumSep 25, 2026php Memory corruptionCVE-2025-14181The SOAP HTTP client guards its response buffer growth with a check that relies on signed integer overflow, which is undefined behaviour and is not guaranteed to trigger. When the check is optimised away, a malicious SOAP server can make the client allocate a buffer far smaller than the data it then writes into it, producing a heap buffer overflow.
- 5.8MediumSep 25, 2026php Memory corruptionCVE-2026-93682When the HTTP stream wrapper follows a redirect and the response carries a Location header with an empty value, the redirect code reads one byte past the end of the heap buffer holding the location. The value of that out-of-bounds byte decides which redirect target is built, so a malicious server controls whether the client is sent to the host root or to the current directory.
- 9.8CriticalDec 30, 2016PHPMailer Code / command injectionCVE-2016-10033PHPMailer contains a command injection vulnerability because it fails to sanitize user-supplied input. Specifically, this issue affects the 'mail()' function of 'class.phpmailer.php' script. An attacker can exploit this issue to execute arbitrary code within the context of the application. Failed exploit attempts will result in a denial-of-service condition.Exploited100% likelyExploit codeExploit-DB · Metasploit · NucleiDetection
- 8.7HighOct 28, 2019PHP FastCGI Process Manager (FPM) Memory corruptionCVE-2019-11043In some versions of PHP in certain configurations of FPM setup, it is possible to cause FPM module to write past allocated buffers allowing the possibility of remote code execution.Exploited100% likelyExploit codeExploit-DB · Metasploit · NucleiDetection
- 9.8CriticalMay 11, 2012PHPCVE-2012-1823sapi/cgi/cgi_main.c in PHP, when configured as a CGI script, does not properly handle query strings, which allows remote attackers to execute arbitrary code.Exploited100% likelyExploit codeExploit-DB · Metasploit · NucleiDetection
Top products
- PHP12 CVEs in the last year
Advisories
Official advisories from the last 90 days that name this vendor's CVEs.
- oss-security · Oct 23, 2026PHP Informational advisory: Session upload progress (CVE-2026-115560)CVE-2026-115560
- CCCS (Canada) · Oct 21, 2026PHP security advisory (AV26-1070)ADV-cccs-04fec56d725b
Counts cover CVEs and advisories Watch Floor tracks, by the date they became news. Updated every 10 minutes.