PHP 6.0 vulnerabilities

49 published vulnerabilities affect PHP 6.0, 1 of them known to be exploited in the wild.

49CVEs
13critical (CVSS 9+)
19high (CVSS 7–8.9)
1exploited in the wild

What to upgrade to

The newest PHP release we know of is 8.6.0, with no known CVEs.

Upgrade toFixesStill openNew in that release
8.6.0newest releaseall 491 exploited, 13 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting PHP 6.0

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2026-109619RCE via stale global state8.1Exploited100%8.2.35NVD
CVE-2024-3566Command injection vulnerability in programing languages on Microsoft Windows operating system.9.8Proof of concept7%8.1.28NVD
CVE-2026-115560Session serializer mismatch can lead to remote code execution9.2None known87%8.2.36CVE record
CVE-2026-6722Use-After-Free in SOAP using Apache map9.8None known1%–CVE record
CVE-2019-9641An issue was discovered in the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.39.8None known9%7.1.27NVD
CVE-2017-9225An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.59.8None known3%–NVD
CVE-2017-8923The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects that result in a negative length, which…9.8None known7%7.4.24NVD
CVE-2026-129289PHP-FPM request smuggling through an unread HTTP request body9.2None known44%8.2.36CVE record
CVE-2026-7261SoapServer session-persisted object use-after-free via SOAP header fault9.8None knownunder 1%–CVE record
CVE-2025-14179SQL injection in pdo_firebird via NUL bytes in quoted strings9.8None knownunder 1%–CVE record
CVE-2025-1861Stream HTTP wrapper truncates redirect location to 1024 bytes9.8None knownunder 1%–CVE record
CVE-2026-126714Partially overwritten session files can lead to remote code execution9.2None known32%8.2.36CVE record
CVE-2022-31631PDO::quote() may return unquoted string9.1Proof of concept2%–CVE record
CVE-2026-129496Timezone cache use-after-free can lead to remote code execution9.2None known11%8.2.36CVE record
CVE-2025-14178Heap buffer overflow in array_merge()8.2Proof of conceptunder 1%–CVE record
CVE-2026-128064Mixed-case HTTPS and FTPS URLs can expose data in plaintext8.2None knownunder 1%8.2.36CVE record
CVE-2025-14180NULL Pointer Dereference in PDO quoting7.5Proof of conceptunder 1%–CVE record
CVE-2025-14177Information Leak of Memory in getimagesize7.5Proof of conceptunder 1%–CVE record
CVE-2026-128090PHAR OpenSSL signature bypass via algorithm downgrade7.7None knownunder 1%8.2.36CVE record
CVE-2019-9639An issue was discovered in the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.37.5None known8%7.1.27NVD
CVE-2019-9638An issue was discovered in the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.37.5None known7%7.1.27NVD
CVE-2019-9637An issue was discovered in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.37.5None known7%7.1.27NVD
CVE-2017-9229An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.57.5None known5%–NVD
CVE-2026-7568Signed integer overflow in metaphone()7.5None knownunder 1%–CVE record
CVE-2026-7262NULL pointer dereference in SOAP apache:Map decoder with missing <value>7.5None known1%–CVE record
CVE-2026-7258Out-of-bounds read in urldecode() on NetBSD7.5None knownunder 1%–CVE record
CVE-2025-1735pgsql extension does not check for errors during escaping7.5None known1%–CVE record
CVE-2018-19396ext/standard/var_unserializer.c in PHP 5.x through 7.1.24 allows attackers to cause a denial of service (application crash) via an unserialize call for the…7.5None known5%–NVD
CVE-2018-19395ext/standard/var.c in PHP 5.x through 7.1.24 on Windows allows attackers to cause a denial of service (NULL pointer dereference and application crash) because…7.5None known4%–NVD
CVE-2017-7963The GNU Multiple Precision Arithmetic Library (GMP) interfaces for PHP through 7.1.4 allow attackers to cause a denial of service (memory consumption and…7.5None known2%–NVD
CVE-2017-7272PHP through 7.1.11 enables potential SSRF in applications that accept an fsockopen or pfsockopen hostname argument with an expectation that the port number is…7.4None known4%–NVD
CVE-2025-1736Stream HTTP wrapper header check might omit basic auth header7.3None knownunder 1%–CVE record
CVE-2022-31629$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities6.5None known50%7.4.31NVD
CVE-2026-129538PHP-CGI out-of-bounds read and write during PATH_INFO correction6.9None known13%8.2.36CVE record
CVE-2026-7259Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()6.5None knownunder 1%–CVE record
CVE-2015-9253An issue was discovered in PHP 7.3.x before 7.3.0alpha3, 7.2.x before 7.2.8, and before 7.1.206.5None known4%7.1.20NVD
CVE-2026-129506SOAP use-after-free when processing DTD entity references6.3None known2%8.2.36CVE record
CVE-2025-6491NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix5.9Proof of concept1%–CVE record
CVE-2026-15353SOAP information disclosure through malformed array dimensions6.3None knownunder 1%8.2.36CVE record
CVE-2026-6735XSS within PHP-FPM status endpoint6.1None knownunder 1%–CVE record
CVE-2025-1220Null byte termination in hostnames5.3Proof of conceptunder 1%–CVE record
CVE-2025-1219libxml streams use wrong content-type header when requesting a redirected resource5.3Proof of conceptunder 1%–CVE record
CVE-2022-4900Potential buffer overflow in php_cli_server_startup_workers5.5None knownunder 1%8.0.22NVD
CVE-2022-31628phar wrapper can occur dos when using quine gzip file5.5None knownunder 1%7.4.31NVD
CVE-2026-129292PHP-FPM status endpoint XSS via unescaped user and script fields5.3None known1%8.2.36CVE record
CVE-2026-14355ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD5.3None knownunder 1%–CVE record
CVE-2025-1734Streams HTTP wrapper does not fail for headers with invalid name and no colon5.3None knownunder 1%–CVE record
CVE-2007-1287A regression error in the phpinfo function in PHP 4.4.3 to 4.4.6, and PHP 6.0 in CVS, allows remote attackers to conduct cross-site scripting (XSS) attacks via…4.3None known3%–NVD
CVE-2025-1217Header parser of http stream wrapper does not handle folded headers3.1Proof of conceptunder 1%–CVE record

All PHP versions

How this list is made

These are the CVEs Dawnsentry matches to each PHP version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.