PHP 7.4.31 vulnerabilities
38 published vulnerabilities affect PHP 7.4.31, 2 of them known to be exploited in the wild. The 7.4 line no longer gets security fixes.
What to upgrade to
The newest release on the 7.4 line is 7.4.33, with 53 known CVEs. The newest PHP release we know of is 8.6.0, with no known CVEs.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 7.4.33newest 7.4 release | 2 of 381 critical | 36CVE-2026-109618, CVE-2026-109619, CVE-2024-3566 and 33 more | 17CVE-2024-4577, CVE-2024-1874, CVE-2023-3824 and 14 more |
| 8.6.0newest release | all 382 exploited, 12 critical | none | none |
"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 7.4.31
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.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2026-109618RCE via OOM corruption | 9.8 | Exploited | 100% | 8.2.35NVD |
| CVE-2026-109619RCE via stale global state | 8.1 | Exploited | 100% | 8.2.35NVD |
| CVE-2024-3566Command injection vulnerability in programing languages on Microsoft Windows operating system. | 9.8 | Proof of concept | 7% | 8.1.28NVD |
| CVE-2022-37454The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary… | 9.8 | Proof of concept | 7% | 7.4.33NVD |
| CVE-2026-115560Session serializer mismatch can lead to remote code execution | 9.2 | None known | 87% | 8.2.36CVE record |
| CVE-2026-6722Use-After-Free in SOAP using Apache map | 9.8 | None known | 1% | –CVE record |
| CVE-2026-129289PHP-FPM request smuggling through an unread HTTP request body | 9.2 | None known | 44% | 8.2.36CVE record |
| CVE-2026-7261SoapServer session-persisted object use-after-free via SOAP header fault | 9.8 | None known | under 1% | –CVE record |
| CVE-2025-14179SQL injection in pdo_firebird via NUL bytes in quoted strings | 9.8 | None known | under 1% | –CVE record |
| CVE-2025-1861Stream HTTP wrapper truncates redirect location to 1024 bytes | 9.8 | None known | under 1% | –CVE record |
| CVE-2026-126714Partially overwritten session files can lead to remote code execution | 9.2 | None known | 32% | 8.2.36CVE record |
| CVE-2022-31631PDO::quote() may return unquoted string | 9.1 | Proof of concept | 2% | –CVE record |
| CVE-2026-129496Timezone cache use-after-free can lead to remote code execution | 9.2 | None known | 11% | 8.2.36CVE record |
| CVE-2025-14178Heap buffer overflow in array_merge() | 8.2 | Proof of concept | under 1% | –CVE record |
| CVE-2026-128064Mixed-case HTTPS and FTPS URLs can expose data in plaintext | 8.2 | None known | under 1% | 8.2.36CVE record |
| CVE-2025-14180NULL Pointer Dereference in PDO quoting | 7.5 | Proof of concept | under 1% | –CVE record |
| CVE-2025-14177Information Leak of Memory in getimagesize | 7.5 | Proof of concept | under 1% | –CVE record |
| CVE-2026-128090PHAR OpenSSL signature bypass via algorithm downgrade | 7.7 | None known | under 1% | 8.2.36CVE record |
| CVE-2026-7568Signed integer overflow in metaphone() | 7.5 | None known | under 1% | –CVE record |
| CVE-2026-7262NULL pointer dereference in SOAP apache:Map decoder with missing <value> | 7.5 | None known | 1% | –CVE record |
| CVE-2026-7258Out-of-bounds read in urldecode() on NetBSD | 7.5 | None known | under 1% | –CVE record |
| CVE-2025-1735pgsql extension does not check for errors during escaping | 7.5 | None known | 1% | –CVE record |
| CVE-2025-1736Stream HTTP wrapper header check might omit basic auth header | 7.3 | None known | under 1% | –CVE record |
| CVE-2022-31630OOB read due to insufficient input validation in imageloadfont() | 7.1 | None known | 2% | 7.4.33CVE record |
| CVE-2026-129538PHP-CGI out-of-bounds read and write during PATH_INFO correction | 6.9 | None known | 13% | 8.2.36CVE record |
| CVE-2026-7259Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init() | 6.5 | None known | under 1% | –CVE record |
| CVE-2026-129506SOAP use-after-free when processing DTD entity references | 6.3 | None known | 2% | 8.2.36CVE record |
| CVE-2025-6491NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix | 5.9 | Proof of concept | 1% | –CVE record |
| CVE-2026-15353SOAP information disclosure through malformed array dimensions | 6.3 | None known | under 1% | 8.2.36CVE record |
| CVE-2026-6735XSS within PHP-FPM status endpoint | 6.1 | None known | under 1% | –CVE record |
| CVE-2024-5458Filter bypass in filter_var (FILTER_VALIDATE_URL) | 5.3 | Proof of concept | 12% | –NVD |
| CVE-2025-1220Null byte termination in hostnames | 5.3 | Proof of concept | under 1% | –CVE record |
| CVE-2025-1219libxml streams use wrong content-type header when requesting a redirected resource | 5.3 | Proof of concept | under 1% | –CVE record |
| CVE-2022-4900Potential buffer overflow in php_cli_server_startup_workers | 5.5 | None known | under 1% | 8.0.22NVD |
| CVE-2026-129292PHP-FPM status endpoint XSS via unescaped user and script fields | 5.3 | None known | 1% | 8.2.36CVE record |
| CVE-2026-14355ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD | 5.3 | None known | under 1% | –CVE record |
| CVE-2025-1734Streams HTTP wrapper does not fail for headers with invalid name and no colon | 5.3 | None known | under 1% | –CVE record |
| CVE-2025-1217Header parser of http stream wrapper does not handle folded headers | 3.1 | Proof of concept | under 1% | –CVE record |
Fixed since 7.4.30
19 CVEs that affect 7.4.30, the release before it, do not affect 7.4.31 (1 exploited, 5 critical):
- CVE-2024-4577 Argument Injection in PHP-CGI CVSS 9.8 · exploited in the wild
- CVE-2024-1874 Command injection via array-ish $command parameter of proc_open() CVSS 9.4
- CVE-2023-3824 Buffer overflow and overread in phar_dir_read() CVSS 9.8
- CVE-2024-11236 Integer overflow in the firebird and dblib quoters causing OOB writes CVSS 9.8
- CVE-2024-8932 OOB access in ldap_escape CVSS 9.8
- CVE-2024-5585 Command injection via array-ish $command parameter of proc_open() (bypass CVE-2024-1874 fix) CVSS 8.8
- CVE-2024-8926 PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass) CVSS 8.8
- CVE-2024-11233 Single byte overread with convert.quoted-printable-decode filter CVSS 8.2
And 11 more: CVE-2023-0568, CVE-2024-2756, CVE-2023-3823, CVE-2023-0662, CVE-2022-31629, CVE-2024-3096, CVE-2024-8929, CVE-2024-2408, CVE-2023-0567, CVE-2024-8925, CVE-2022-31628.
Support for the 7.4 line
The 7.4 line was first released 28 November 2019. Security fixes for it ended 28 November 2022, so vulnerabilities found since then stay open on every 7.4 release. Its latest release is 7.4.33. Dates and latest release from endoflife.date.
Other PHP 7.4 releases
7.4.3353 7.4.3255 7.4.3057 7.4.2959 7.4.2859 7.4.2760 7.4.2661 7.4.2562 7.4.2463 7.4.2365 7.4.2266 7.4.2166 7.4.2068 7.4.1968
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.