Php vulnerabilities, page 2

781 vulnerabilities

Known vulnerabilities in Php products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 27 products.

RoutineCVE-2026-91768php group · php +14 moreIPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison (memcmp 12 bytes)The 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.CVSS6.5MediumEPSS0.38%RoutineCVE-2026-91769php group · php +14 moreTLS Hostname Verification Falls Back to CN After SAN MismatchPHP'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.CVSS4.3MediumEPSS0.17%RoutineCVE-2026-91767php group · php +14 moreHeap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CNphp_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.CVSS6.5MediumEPSS0.14%RoutineCVE-2025-1218php group · php +14 moreVarious packet overreads in mysqlnd_writeprotocol.cThe 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.CVSS5.9MediumEPSS0.33%RoutineCVE-2026-91766php group · php +14 moreCross-origin credential leak in HTTP stream wrapper redirectsWhen 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 ).CVSS5.9MediumEPSS0.30%PrioritiseCVE-2026-91765php group · php +14 moreSOAP: Unbounded Recursion in Server-Side cleanup_xml_nodecleanup_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.CVSS7.5HighEPSS0.39%RoutineCVE-2025-14181php group · php +14 moreInteger overflow to buffer overflow in soap HTTP parsingThe 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.CVSS6.5MediumEPSS0.32%RoutineCVE-2026-17545php group · php +8 morePHP on Windows: Reserved Device Names Are Not Rejected Before File/Stream I/O which can cause DoSOn 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.CVSS7.5HighEPSS0.38%RoutineCVE-2026-6103php group · php +14 morePhar TAR phar_tar_number() Integer Overflow - Archive Entry Injectionphar_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.CVSS4.3MediumEPSS0.21%RoutineCVE-2026-93682php group · php +14 moreOut-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location headerWhen 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.CVSS5.8MediumEPSS0.42%RoutineCVE-2026-7260php group · php +54 moreStack overflow in phar with circular symlinksCircular symbolic links in phar archives could lead to unbounded recursion, exhausting the C stack and crashing the PHP process, in PHP versions from 8.2.* before 8.2.33, from 8.3.* before 8.3.33, from 8.4.* before 8.4.24, and from 8.5.* before 8.5.9.CVSS5.5MediumEPSS0.12%PrioritiseCVE-2026-17544php group · php +5 moreOut-of-bounds write in bccomp() via crafted operand and scaleAttacker-provided inputs to bccomp() could lead to an out-of-bounds write with stack and heap corruption in PHP versions from 8.4.* before 8.4.24 and from 8.5.* before 8.5.9.CVSS9.8CriticalEPSS0.53%PrioritiseCVE-2026-17543php group · php +14 moreSQL injection in ext-pgsql via E'...' backslash breakoutImproper escaping of backslashes in attacker-provided parameters would allow for trivial SQL injection in PHP versions from 8.2.* before 8.2.33, from 8.3.* before 8.3.33, from 8.4.* before 8.4.24, and from 8.5.* before 8.5.9.CVSS9.8CriticalEPSS0.34%RoutineCVE-2026-14355debian · debian_linux +160 moreext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PADIn PHP versions 8.2.* before 8.2.32, 8.3.* before 8.3.32, 8.4.* before 8.4.23, 8.5.* before 8.5.8, the AES-WRAP-PAD algorithm implementation in OpenSSL extension contains a buffer allocation flaw. The output buffer for the AES key-wrap-with-padding operation is sized from the plaintext length without accounting for RFC 5649 expansion. This may cause OpenSSL to write beyond allocated memory, corrupting heap metadata and triggering application abort.CVSS5.6MediumEPSS0.28%PrioritiseCVE-2026-45062php · frankenphp +1 moreFrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP FilesFrankenPHP is a modern application server for PHP. From version 1.11.2 to before version 1.12.3, the splitPos() function in cgi.go misuses golang.org/x/text/search with search.IgnoreCase when the request path contains a non-ASCII byte. Two distinct flaws in that fallback let an attacker mislead FrankenPHP into treating a non-.php file as a .php script. In any deployment where the attacker can place content into a file served by FrankenPHP (uploads, file storage, etc.), this can be escalated to remote code execution by crafting a URL whose path triggers either flaw. This issue has been patched in version 1.12.3.CVSS8.1HighEPSS0.71%RoutineCVE-2026-7263php group · php +5 moreDoS attack via DOMNode::C14N()In PHP versions 8.4.* before 8.4.21 and 8.5.* before 8.5.6, DOMNode::C14N() method may process the XML data incorrectly, causing a circular linked list in the data structure representing the XML document. This may cause subsequent processing of the XML document to enter infinite loop, causing denial of service in the processing application.CVSS7.5HighEPSS0.35%RoutineCVE-2026-6104php group · php +6 moreGlobal buffer over-read in mb_convert_encoding() with attacker-supplied encodingIn PHP versions 8.4.* before 8.4.21 and 8.5.* before 8.5.6, when an encoding name containing an embedded NUL byte is passed to mb_convert_encoding() or related mbstring functions, the code incorrectly assumes that when strncasecmp() returns 0 it means the strings have the same length. This can lead to out-of-bounds read of global memory, potentially causing a crash or information disclosure or crash. Affected functions include mb_convert_encoding(), mb_detect_encoding(), mb_convert_variables(), and mb_detect_order(), as well as the mbstring.detect_order and mbstring.http_output INI settings.CVSS9.1CriticalEPSS0.47%RoutineCVE-2026-7258php group · php +13 moreOut-of-bounds read in urldecode() on NetBSDIn PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, some functions, including urldecode(), pass signed char to ctype functions (like isxdigit()). On the systems with default signed char and optimized table-lookup ctype functions - such as NetBSD - this can lead to accessing array with negative offset, which can trigger a denial of service.CVSS7.5HighEPSS0.36%PrioritiseCVE-2026-6722php group · php +18 moreUse-After-Free in SOAP using Apache mapIn PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the SOAP extension's object deduplication mechanism stores pointers to PHP objects in a global map without incrementing their reference counts. When an apache:Map node contains duplicate keys, processing the second entry overwrites the first in the temporary result map, freeing the original PHP object while its stale pointer remains in the map. A subsequent href reference to the freed node can copy the dangling pointer into the result. As PHP string allocations can reclaim the freed memory region, an attacker with control over the SOAP request body can exploit this use-after-free to achieve remote code execution.CVSS9.8CriticalEPSS1.12%RoutineCVE-2026-7259php group · php +14 moreNull pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, a mismatch between encoding lists in Oniguruma and mbfl leads to  a NULL pointer dereference, resulting in a segmentation fault and denial of service. The vulnerability is exploitable when user-controlled input can influence the encoding passed to mb_regex_encoding().CVSS6.5MediumEPSS0.19%