PHP

791 CVEs in 25 PHP products, including PHP, Frankenphp, Pear. Newest: CVE-2026-128027 (2026-11-13). Severity, EPSS and public exploits for each.

PHP products with known CVEs

ProductCVEs
PHP740
Frankenphp20
Pear5
Archive Tar4
Pearweb2
PHP Script Index2
Animated Smiley Generator1
Ar Memberscript1
Blog Cms1
Bloq1
Com Extensions1
Directory Listing Script1
Errordocs1
Ext-Http1
F1 Maxs File Uploader1
Imagick1
Memcached1
MySQL Banner Exchange1
MySQL Extension1
Pear Archive Tar1
Pecl HTTP1
PHP Fi1
Phpsquidpass1
Xhprof1
XML Rpc1

PHP CVEs with public exploits

CVESeverityExploitation evidencePublished
CVE-2024-4577Critical 9.8CISA KEV, Metasploit, 106 PoC repos2024-06-09
CVE-2020-28949High 7.8CISA KEV, Metasploit, 2 PoC repos2020-11-19
CVE-2019-11043High 8.7CISA KEV, Metasploit, 32 PoC repos2019-10-28
CVE-2012-1823Critical 9.8CISA KEV, Metasploit, 23 PoC repos2012-05-11
CVE-2026-109619High 8.1CISA KEV, 35 PoC repos2026-10-21
CVE-2026-109618Critical 9.8CISA KEV, 865 PoC repos2026-10-21
CVE-2020-36193High 7.5CISA KEV2021-01-18
CVE-2018-19518High 7.5Metasploit, 2 PoC repos2018-11-25
CVE-2015-0235Metasploit, 18 PoC repos2015-01-28
CVE-2012-2329Metasploit2012-05-11
CVE-2011-4885Metasploit2011-12-30
CVE-2007-1286Metasploit2007-03-06
CVE-2005-1921Metasploit2005-07-05
CVE-2026-128027Critical 9.81 PoC repo2026-11-13
CVE-2026-128014High 8.11 PoC repo2026-11-13
PHP CVEs — newest first (page 1 of 8)
CVESeverityScorePublishedSummary
CVE-2026-128027Critical9.82026-11-13FrankenPHP Docker images before 1.1.11 were rebuilt only when new base image tags were created, so security fixes that Alpine, PHP, and Go applied under existi…
CVE-2026-128026Medium6.42026-11-13FrankenPHP from 1.5.0 before 1.13.0 contains an incomplete environment sandbox vulnerability in which putenv writes to the process-wide OS environment via os.S…
CVE-2026-128025Medium6.52026-11-13FrankenPHP before 1.13.0 contains a path-split interpretation conflict in splitPos in cgi.go that allows unauthenticated attackers to execute protected PHP scr…
CVE-2026-128024Medium5.92026-11-13FrankenPHP before 1.13.0 contains a denial of service vulnerability in goArray() that allows remote attackers to abort the server process via arrays with null…
CVE-2026-128023High7.42026-11-13FrankenPHP before 1.13.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to spoof trusted headers by sending dot-form hea…
CVE-2026-128022Medium5.32026-11-13FrankenPHP before 1.13.2 contains a resource exhaustion vulnerability that allows unauthenticated clients to tie up PHP threads because queued requests are not…
CVE-2026-128021Low3.72026-11-13FrankenPHP before 1.13.2 contains an information disclosure vulnerability that allows later clients to read earlier clients' libxml errors because worker mode…
CVE-2026-128020Medium5.92026-11-13FrankenPHP before 1.13.2 contains an uncontrolled recursion vulnerability in its PHP-to-Go array converter that fails to detect circular references in PHP arra…
CVE-2026-128019Medium4.82026-11-13FrankenPHP before 1.13.4 contains an information disclosure vulnerability in worker mode that leaks per-request environment variables into later requests on th…
CVE-2026-128018Low3.72026-11-13FrankenPHP before 1.13.4 contains a denial of service vulnerability in worker mode where frankenphp_handle_request() returns false without finishing the dequeu…
CVE-2026-128017Low3.72026-11-13FrankenPHP before 1.13.4 contains a double free vulnerability in worker mode that frees SG(request_info).content_type_dup twice when a worker script ends its l…
CVE-2026-128016Medium6.52026-11-13FrankenPHP before 1.13.4 contains a use-after-free vulnerability in worker mode that frees internal streams of SplTempFileObject or SplFileObject on php://temp…
CVE-2026-128015Medium6.52026-11-13FrankenPHP before 1.13.4 contains a use-after-free vulnerability that leaves a dangling pointer to a freed environment table when putenv() is called during req…
CVE-2026-128014High8.12026-11-13FrankenPHP standalone static binaries 1.8.0 before 1.13.2 bundle the PHP brotli extension statically linked with Brotli 1.2.0, whose decoder contains an out-of…
CVE-2026-122233Low3.72026-11-04FrankenPHP before 1.13.4 contains an information disclosure vulnerability in worker mode that fails to clear last HTTP stream response headers between requests…
CVE-2026-109619High8.12026-10-21PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated aft…
CVE-2026-109618Critical9.82026-10-21PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for thi…
CVE-2026-85733Medium5.32026-10-13FrankenPHP is a modern application server for PHP. Prior to 1.12.5, the official FrankenPHP Debian and Alpine Docker images include a default /app/public/index…
CVE-2026-82416High7.72026-10-13FrankenPHP is a modern application server for PHP. Prior to 1.12.5, FrankenPHP worker mode can retain PHP session state between requests when the session exten…
CVE-2026-92842Medium5.92026-09-25The convert.base64-encode, convert.quoted-printable-encode and convert.quoted-printable-decode stream filters accept a line-break-chars option whose length is…
CVE-2026-91768Medium6.52026-09-25The 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 prefi…
CVE-2026-91769Medium4.32026-09-25PHP's OpenSSL stream peer verification checks the certificate's subjectAltName entries first and, whenever no entry matches, falls back to the Common Name. RFC…
CVE-2026-91767Medium6.52026-09-25php_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…
CVE-2026-91766Medium5.92026-09-25When the http:// stream wrapper follows a redirect it forwards the user-supplied Authorization, Cookie and Proxy-Authorization headers unchanged, even when the…
CVE-2026-91765High7.52026-09-25cleanup_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 containi…
CVE-2026-6103Medium4.32026-09-25phar_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…
CVE-2026-17545High7.52026-09-25On 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$ whe…
CVE-2025-1218Low3.42026-09-25The mysqlnd wire protocol parser reads fields out of server packets before checking that the packet still holds enough bytes for them. A malicious or compromis…
CVE-2025-14181Medium6.52026-09-25The 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…
CVE-2026-93682Medium5.82026-09-25When 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 o…
CVE-2026-7260Medium5.52026-07-30Circular 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.* bef…
CVE-2026-17544Critical9.82026-07-30Attacker-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…
CVE-2026-17543Critical9.82026-07-30Improper 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.* bef…
CVE-2026-14355Medium5.62026-07-03In 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 extensi…
CVE-2026-45062High8.12026-06-10FrankenPHP 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/se…
CVE-2026-7263High7.52026-05-10In 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…
CVE-2026-6104Critical9.12026-05-10In 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…
CVE-2026-7568High7.52026-05-10In 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 metaphone() function in ext/standard/metaphone.c use…
CVE-2026-7262High7.52026-05-10In 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, when a SOAP server has a typemap configured, the decodin…
CVE-2026-7261Critical9.82026-05-10In 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, when SoapServer is configured with SOAP_PERSISTENCE_SESS…
CVE-2026-7259Medium6.52026-05-10In 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…
CVE-2026-7258High7.52026-05-10In 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…
CVE-2026-6735Medium6.12026-05-10In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, 8.5.* before 8.5.6, due to improper sanitation of user data, it allows an attack…
CVE-2026-6722Critical9.82026-05-10In 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 stor…
CVE-2025-14179Critical9.82026-05-10In 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 PDO Firebird driver improperly handles NUL bytes whe…
CVE-2026-24895Critical9.82026-02-12FrankenPHP is a modern application server for PHP. Prior to 1.11.2, FrankenPHP’s CGI path splitting logic improperly handles Unicode characters during case con…
CVE-2026-24894High7.52026-02-12FrankenPHP is a modern application server for PHP. Prior to 1.11.2, when running FrankenPHP in worker mode, the $_SESSION superglobal is not correctly reset be…
CVE-2025-14180High7.52025-12-27In PHP versions 8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1 when using the PDO PostgreSQL driver wit…
CVE-2025-14178Medium6.52025-12-27In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1, a heap buffer overflow occurs in array_…
CVE-2025-14177High7.52025-12-27In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1, the getimagesize() function may leak un…
CVE-2025-1735Medium5.92025-07-13In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* pgsql and pdo_pgsql escaping functions do not check if the underlying quot…
CVE-2025-1220Low3.72025-07-13In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 some functions like fsockopen() lack validation that the hos…
CVE-2025-6491Medium5.92025-07-13In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 when parsing XML data in SOAP extensions, overly large (>2Gb…
CVE-2024-11235High8.12025-04-04In PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5, a code sequence involving __set handler or ??=  operator and exceptions can lead to a use-after-fre…
CVE-2025-1861Critical9.82025-03-30In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when parsing HTTP redirect in the response to an…
CVE-2025-1736High7.32025-03-30In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when user-supplied headers are sent, the insuffic…
CVE-2025-1734Medium5.32025-03-30In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when receiving headers from HTTP server, the head…
CVE-2025-1219Medium5.32025-03-30In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when requesting a HTTP resource using the DOM or…
CVE-2025-1217Low3.12025-03-29In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when http request module parses HTTP response obt…
CVE-2022-31631Critical9.12025-02-12In PHP versions 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.2.* before 8.2.2 when using PDO::quote() function to quote user-supplied data for SQLite, supplying…
CVE-2024-11233Medium4.82024-11-24In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, due to an error in convert.quoted-printable-decode filter certain data can lead…
CVE-2024-11236Critical9.82024-11-24In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, uncontrolled long string inputs to ldap_escape() function on 32-bit systems can…
CVE-2024-11234Medium4.82024-11-24In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, when using streams with configured proxy and "request_fulluri" option, the URI i…
CVE-2024-8929Medium5.82024-11-22In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, a hostile MySQL server can cause the client to disclose the content of its heap…
CVE-2024-8932Critical9.82024-11-22In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, uncontrolled long string inputs to ldap_escape() function on 32-bit systems can…
CVE-2024-9026Low3.32024-10-08In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using PHP-FPM SAPI and it is configured to catch workers output through cat…
CVE-2024-8927High7.52024-10-08In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is bein…
CVE-2024-8926High8.12024-10-08In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using a certain non-standard configurations of Windows codepages, the fixes…
CVE-2024-8925Low3.12024-10-08In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, erroneous parsing of multipart form data contained in an HTTP POST request could…
CVE-2024-4577Critical9.82024-06-09In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain…
CVE-2024-2408Medium5.92024-06-09The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless…
CVE-2024-5585High7.72024-06-09In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, the fix for CVE-2024-1874 does not work if the command name includes trailing spa…
CVE-2024-5458Medium5.32024-06-09In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating…
CVE-2024-3096Medium6.52024-04-29In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing…
CVE-2024-2757High7.52024-04-29In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for some inputs that contain long strings of non-space characters followed by a space…
CVE-2024-1874Critical9.42024-04-29In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, when using proc_open() command with array syntax, due to insufficient escaping, i…
CVE-2024-3566Critical9.82024-04-10A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function whe…
CVE-2022-4900Medium6.22023-11-02A vulnerability was found in PHP where setting the environment variable PHP_CLI_SERVER_WORKERS to a large value leads to a heap buffer overflow.
CVE-2023-3824Critical9.42023-08-11In PHP version 8.0.* before 8.0.30,  8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient le…
CVE-2023-3823High8.62023-08-11In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration varia…
CVE-2023-3247Low2.62023-07-22In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked…
CVE-2023-0567High7.72023-03-01In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, password_verify() function may accept some invalid Blowfish hashes as valid. If such in…
CVE-2023-0662High7.52023-02-16In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, excessive number of parts in HTTP form upload can cause high resource consumption and e…
CVE-2023-0568High7.52023-02-16In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths…
CVE-2022-31630Medium6.52022-11-14In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file…
CVE-2022-37454Critical9.82022-10-21The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary…
CVE-2022-31629Medium6.52022-09-28In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's b…
CVE-2022-31628Low2.32022-09-28In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.
CVE-2022-31627High7.72022-07-28In PHP versions 8.1.x below 8.1.8, when fileinfo functions, such as finfo_buffer, due to incorrect patch applied to the third party code from libmagic, incorre…
CVE-2022-31626High7.52022-06-16In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to s…
CVE-2022-31625High8.12022-06-16In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the para…
CVE-2022-27158Critical9.82022-04-15pearweb < 1.32 suffers from Deserialization of Untrusted Data.
CVE-2022-27157Critical9.82022-04-15pearweb < 1.32 is suffers from a Weak Password Recovery Mechanism via include/users/passwordmanage.php.
CVE-2022-26635Critical9.82022-04-05PHP-Memcached v2.2.0 and below contains an improper NULL termination which allows attackers to execute CLRF injection. Note: Third parties have disputed this a…
CVE-2021-21708High8.22022-02-27In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits…
CVE-2021-21707Medium5.32021-11-29In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filena…
CVE-2021-21703High7.82021-10-25In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as…
CVE-2021-21706Medium5.32021-10-04In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writ…
CVE-2021-21705Medium4.32021-10-04In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VAL…
CVE-2021-21704Medium5.02021-10-04In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause…