PHP 7.0 Security Patches for AlmaLinux, Rocky and RHEL 8
Everpatch PHP keeps PHP 7.0 security-patched on Enterprise Linux 8: an in-place update for Remi's php70 collection.
Signed RPM builds, drop-in compatible with Remi's EL8 php70 collection, with current security fixes ported to the 7.0 codebase. Package names stay the same; dnf update replaces them in place.
PHP2Shell fixed from 7.0.33-45.el8. How to apply it · Check your server · Scan it with CVEfox
phpAfterShell fixed from 7.0.33-56.el8. Check your server
The gap
PHP 7.0 has been end of life upstream since 2018. Enterprise Linux 8 still receives OS updates, but the PHP 7.0 collection most EL8 hosts run received no fix for PHP2Shell or anything after it.
Everpatch PHP 7.0 for EL8 carries the same security stack as the CentOS 7 channel, built for CentOS 8, AlmaLinux 8, Rocky Linux 8, RHEL 8 and Oracle Linux 8.
Install
Upgrading an installed php70 collection in place (php70-php-*)
dnf -y install https://extras.getpagespeed.com/release-latest.rpm dnf update 'php70-php*' systemctl restart php70-php-fpm scl enable php70 -- php -v
Fresh install (side by side with the system PHP)
dnf -y install https://extras.getpagespeed.com/release-latest.rpm dnf install php70-php-cli php70-php-fpm systemctl enable --now php70-php-fpm scl enable php70 -- php -v
The php70-php-* collection lives in the always-enabled main GetPageSpeed repository, so no channel needs enabling. It installs under /opt/remi/php70 beside the AlmaLinux, Rocky Linux or RHEL 8 system PHP, which it never touches.
Package names, paths and the php70-php-fpm service match Remi's collection, so an existing install upgrades in place, keeps its configuration, and dnf downgrade takes you back. Afterwards php -v prints Built by GetPageSpeed LLC.
Free for personal use. Running it for a business?
Patching EOL PHP is ongoing work: every new PHP CVE has to be ported to branches upstream abandoned years ago, then built and tested on EL8. Commercial production use requires GetPageSpeed Ultra or GetPageSpeed Fleet: either one funds that work and keeps your production servers covered for the next one, together with the full GetPageSpeed repository. When a new fix is ready for the PHP your servers run, we email you the exact command. Ultra covers up to 10 servers running your own services; Fleet is the plan for servers that host client websites, or for more than 10 servers. 250+ employees or $10M+ revenue, or need a contractual SLA? That is Enterprise.
Ultra, $500/year Fleet, from $800/year Contact us about Enterprise
Security fixes in this channel
The channel's security notes track 110 CVE fixes and 2 further GitHub security advisories that never reached the last vendor build for Enterprise Linux 8.
| Fixed advisory | Issue | Severity | CVSS |
|---|---|---|---|
| CVE-2024-8932 | OOB access in ldap_escape | critical | 9.8 |
| CVE-2024-11236 | Integer overflow in the firebird and dblib quoters causing OOB writes | critical | 9.8 |
| CVE-2019-9641 | Uninitialized read in exif_process_IFD_in_TIFF | critical | 9.8 |
| CVE-2019-9023 | Heap over-reads in mbstring regex functions | critical | 9.8 |
| CVE-2019-9021 | Heap over-read in PHAR reading functions | critical | 9.8 |
| CVE-2019-9020 | Invalid memory access in xmlrpc_decode() | critical | 9.8 |
| CVE-2019-13224 | Use-after-free in onig_new_deluxe (Oniguruma) | critical | 9.8 |
| CVE-2017-9120 | Integer overflow in mysqli_real_escape_string | critical | 9.8 |
| CVE-2017-9119 | Crash in i_zval_ptr_dtor after a memory limit error | critical | 9.8 |
| CVE-2017-8923 | Negative string length after .= with a long string | critical | 9.8 |
| CVE-2016-10166 | Integer underflow in _gdContributionsAlloc (libgd) | critical | 9.8 |
| CVE-2026-6722 | Use-After-Free in SOAP using Apache map | critical | 9.5 |
| CVE-2023-3824 (GHSA-jqcx-ccgc-xwhv) | Buffer overflow and overread in phar_dir_read() | critical | 9.4 |
| CVE-2026-129496 (GHSA-gr4f-wgx5-jpfv) | Timezone cache use-after-free can lead to remote code execution | critical | 9.2 |
| CVE-2026-129474 (GHSA-8mjj-2r7p-4hg2) | Use-after-free in magic method backtraces can lead to remote code execution | critical | 9.2 |
| CVE-2026-129289 (GHSA-qc49-hpvq-g2w6) | PHP-FPM request smuggling through an unread HTTP request body | critical | 9.2 |
| CVE-2026-126714 (GHSA-fm2m-fjf5-v3cp) | phpAfterShell Partially overwritten session files can lead to remote code execution | critical | 9.2 |
| CVE-2026-109619 | PHP2Shell RCE via stale global state | critical | 9.2 |
| CVE-2026-109618 (GHSA-6wmf-4rv5-p3rp, GHSA-w8hw-w9fx-j79w) | PHP2Shell RCE via OOM corruption | critical | 9.2 |
| CVE-2022-31631 | PDO::quote() may return unquoted string | critical | 9.1 |
| CVE-2026-129291 (GHSA-jm4m-qfqx-967m) | PHP-FPM epoll use-after-free can lead to local privilege escalation | high | 8.8 |
| CVE-2019-6977 | Heap overflow in imagecolormatch (libgd) | high | 8.8 |
| CVE-2026-127960 (GHSA-mmf9-xm3v-hg2x) | Denial of service through folded HTTP response headers | high | 8.7 |
| CVE-2019-11043 | Underflow in PHP-FPM can lead to RCE | high | 8.7 |
| CVE-2023-3823 (GHSA-3qrf-m4j2-pcrr) | Security issue with external entity loading in XML without enabling it | high | 8.6 |
| CVE-2026-128064 (GHSA-f6gg-rchx-xw8j) | Mixed-case HTTPS and FTPS URLs can expose data in plaintext | high | 8.2 |
| CVE-2026-17543 | SQL injection in ext-pgsql via E'...' backslash breakout | high | 8.1 |
| CVE-2024-8926 | PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass) | high | 8.1 |
| CVE-2022-31625 | Freeing unallocated memory in php_pgsql_free_params() | high | 8.1 |
| CVE-2021-21703 | PHP-FPM memory access in root process leading to privilege escalation | high | 7.8 |
| CVE-2026-128090 (GHSA-68fq-fh7h-f8gr) | PHAR OpenSSL signature bypass via algorithm downgrade | high | 7.7 |
| CVE-2023-0567 | password_verify() always returns true for some invalid hashes | high | 7.7 |
| CVE-2026-91765 (GHSA-rgrp-mwpx-f6rm) | SOAP: Unbounded Recursion in Server-Side cleanup_xml_node | high | 7.5 |
| CVE-2024-8927 | cgi.force_redirect configuration is bypassable due to the environment variable collision | high | 7.5 |
| CVE-2023-0662 | DoS vulnerability when parsing multipart request body | high | 7.5 |
| CVE-2023-0568 | Array overrun in common path resolve code | high | 7.5 |
| CVE-2022-31626 | mysqlnd/pdo password buffer overflow | high | 7.5 |
| CVE-2020-7067 | OOB Read in urldecode() | high | 7.5 |
| CVE-2020-7062 | Null Pointer Dereference in PHP Session Upload Progress | high | 7.5 |
| CVE-2019-9640 | Invalid read in exif_process_SOFn | high | 7.5 |
| CVE-2019-9639 | Uninitialized read in exif MAKERNOTE parsing | high | 7.5 |
| CVE-2019-9638 | Uninitialized read in exif MAKERNOTE parsing | high | 7.5 |
| CVE-2019-9637 | Wrong permissions during cross-filesystem rename() | high | 7.5 |
| CVE-2019-9024 | Out-of-bounds read in xmlrpc_decode() | high | 7.5 |
| CVE-2019-9022 | Memory misuse in dns_get_record() | high | 7.5 |
| CVE-2019-19246 | Oniguruma heap over-read in str_lower_case_match | high | 7.5 |
| CVE-2017-9118 | Out-of-bounds access in preg_replace | high | 7.5 |
| CVE-2026-6735 | XSS within PHP-FPM status endpoint | high | 7.3 |
| CVE-2026-129538 (GHSA-5j3f-64r7-f564) | PHP-CGI out-of-bounds read and write during PATH_INFO correction | medium | 6.9 |
| CVE-2026-91768 (GHSA-62xp-839h-2637) | IPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison (memcmp 12 bytes) | medium | 6.5 |
| CVE-2026-91767 (GHSA-xr7j-rvgx-xq5p) | Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN | medium | 6.5 |
| CVE-2025-14181 (GHSA-cj93-vc83-wgqv) | Integer overflow to buffer overflow in soap HTTP parsing | medium | 6.5 |
| CVE-2024-3096 | PHP function password_verify can erroneously return true when argument contains NUL | medium | 6.5 |
| CVE-2024-2756 | __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix | medium | 6.5 |
| CVE-2022-31629 | $_COOKIE name mangling (. to _) breaks cookie integrity | medium | 6.5 |
| CVE-2020-7064 | Use-of-uninitialized-value in exif | medium | 6.5 |
| CVE-2020-7060 | global buffer-overflow in mbfl_filt_conv_big5_wchar | medium | 6.5 |
| CVE-2020-7059 | OOB read in php_strip_tags_ex | medium | 6.5 |
| CVE-2015-9253 | php-fpm endless child restart with a non-blocking STDIN | medium | 6.5 |
| CVE-2026-7568 | Signed integer overflow in metaphone() | medium | 6.3 |
| CVE-2026-7261 | SoapServer session-persisted object use-after-free via SOAP header fault | medium | 6.3 |
| CVE-2026-7258 (GHSA-m8rr-4c36-8gq4) | Out-of-bounds read in urldecode() on NetBSD | medium | 6.3 |
| CVE-2026-15353 (GHSA-q23r-hr55-xmpg) | SOAP information disclosure through malformed array dimensions | medium | 6.3 |
| CVE-2026-129506 (GHSA-4646-p932-gw34) | SOAP use-after-free when processing DTD entity references | medium | 6.3 |
| CVE-2025-1861 | Stream HTTP wrapper truncates redirect location to 1024 bytes | medium | 6.3 |
| CVE-2025-1736 | Stream HTTP wrapper header check might omit basic auth header | medium | 6.3 |
| CVE-2025-1734 | Streams HTTP wrapper does not fail for headers with invalid name and no colon | medium | 6.3 |
| CVE-2025-1217 | Header parser of http stream wrapper does not handle folded headers | medium | 6.3 |
| CVE-2026-92842 (GHSA-88hq-2827-7pg6) | OOB read / info leak in convert.* stream filters when line-break-chars contains NUL | medium | 5.9 |
| CVE-2026-91766 (GHSA-fpwc-w8rq-cr92) | Cross-origin credential leak in HTTP stream wrapper redirects | medium | 5.9 |
| CVE-2025-6491 | NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix | medium | 5.9 |
| CVE-2025-1735 | pgsql extension does not check for errors during escaping | medium | 5.9 |
| CVE-2024-8929 (GHSA-h35g-vwh6-m678) | Leak partial content of the heap through heap buffer over-read in mysqlnd | medium | 5.8 |
| CVE-2026-14355 | ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD | medium | 5.6 |
| CVE-2020-7063 | Files added to tar with Phar::buildFromIterator have all-access permissions | medium | 5.5 |
| CVE-2026-7260 | Stack overflow in phar with circular symlinks | medium | 5.4 |
| CVE-2026-129292 (GHSA-3mg3-cr28-46gc) | PHP-FPM status endpoint XSS via unescaped user and script fields | medium | 5.3 |
| CVE-2024-5458 | Filter bypass in filter_var (FILTER_VALIDATE_URL) | medium | 5.3 |
| CVE-2021-21707 | Special characters break path parsing in XML functions | medium | 5.3 |
| CVE-2021-21702 | Null Dereference in SoapClient | medium | 5.3 |
| CVE-2020-7071 | FILTER_VALIDATE_URL accepts URLs with invalid userinfo | medium | 5.3 |
| CVE-2020-7066 | get_headers() silently truncates after a null byte | medium | 5.3 |
| CVE-2019-11048 | Temporary files are not cleaned after OOM when parsing HTTP request data | medium | 5.3 |
| CVE-2021-21704 | Multiple vulnerabilities in Firebird client extension | medium | 5 |
| CVE-2024-11234 | Configuring a proxy in a stream context might allow for CRLF injection in URIs | medium | 4.8 |
| CVE-2024-11233 | Single byte overread with convert.quoted-printable-decode filter | medium | 4.8 |
| CVE-2020-7068 | Use of freed hash key in the phar_parse_zipfile function | medium | 4.8 |
| CVE-2019-11050 | Use-after-free in exif parsing under memory sanitizer | medium | 4.8 |
| CVE-2019-11047 | Heap-buffer-overflow READ in exif | medium | 4.8 |
| CVE-2019-11042 | heap-buffer-overflow on exif_process_user_comment in EXIF extension | medium | 4.8 |
| CVE-2019-11041 | heap-buffer-overflow on exif_scan_thumbnail in EXIF extension | medium | 4.8 |
| CVE-2019-11040 | Heap buffer overflow in EXIF extension | medium | 4.8 |
| CVE-2019-11036 | Heap over-read in PHP EXIF extension | medium | 4.8 |
| CVE-2019-11035 | Heap over-read in PHP EXIF extension | medium | 4.8 |
| CVE-2019-11034 | Heap over-read in PHP EXIF extension | medium | 4.8 |
| CVE-2026-91769 (GHSA-vvx9-73fr-5jjx) | TLS Hostname Verification Falls Back to CN After SAN Mismatch | medium | 4.3 |
| CVE-2026-6103 (GHSA-j3wh-g957-2m85) | Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection | medium | 4.3 |
| CVE-2021-21705 | Incorrect URL validation in FILTER_VALIDATE_URL | medium | 4.3 |
| CVE-2020-7070 | PHP parses encoded cookie names so malicious `__Host-` cookies can be sent | medium | 4.3 |
| CVE-2019-11039 | Out-of-bounds read in iconv.c | medium | 4.2 |
| GHSA-ch8v-r6jh-4vvr | ext/filter: encode 0xFF in FILTER_SANITIZE_ENCODED | low | 3.7 |
| CVE-2025-1220 | Null byte termination in hostnames | low | 3.7 |
| CVE-2019-11046 | Buffer underflow in bc_shift_addsub | low | 3.7 |
| CVE-2019-11045 | DirectoryIterator class silently truncates after a null byte | low | 3.7 |
| CVE-2025-1218 (GHSA-r6x9-5r99-36j7) | Various packet overreads in mysqlnd_writeprotocol.c | low | 3.4 |
| CVE-2024-8925 | Erroneous parsing of multipart form data | low | 3.1 |
| CVE-2019-11038 | Uninitialized read in gdImageCreateFromXbm | low | 3.1 |
| CVE-2026-7262 | NULL pointer dereference in SOAP apache:Map decoder with missing value | low | 2.9 |
| CVE-2023-3247 (GHSA-76gg-c692-v2mw) | Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP | low | 2.6 |
| CVE-2022-31628 | phar wrapper can occur dos when using quine gzip file | low | 2.3 |
| GHSA-4w77-75f9-2c8w | Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface | low | — |
| CVE-2026-9672 | Out-of-bounds write in bundled libgd GIF LZW decoder | unrated | — |
Fixes are ports of the upstream php-src security patches, audited hunk by hunk; the provenance of every patch is documented per release.
Frequently asked questions
Is PHP 7.0 on AlmaLinux, Rocky Linux or RHEL 8 patched for PHP2Shell?
Yes. Everpatch PHP 7.0 carries the backported PHP2Shell fix from 7.0.33-45.el8 onward. The PHP version number does not change, so check the package release rather than php -v, or paste your package list into the PHP2Shell checker. The full walkthrough is in our PHP2Shell guide.
Which distributions does PHP 7.0 for EL8 cover?
Every Enterprise Linux 8: CentOS 8, AlmaLinux 8, Rocky Linux 8, RHEL 8 and Oracle Linux 8 use the same x86_64 packages.
Will this replace my existing PHP packages?
Only the php70 collection. The packages carry the same names, paths and php70-php-fpm service as Remi's collection, with higher release numbers, so dnf update 'php70-php*' swaps them in place. The system PHP is never touched.
Where do the patches come from?
From upstream php-src, ported to the 7.0 source tree and audited hunk by hunk. CentOS 7 and EL8 builds share one patch stack; every patch's provenance is documented per release.
Do I need a subscription?
Not for personal, development or evaluation use: the PHP packages install from the public GetPageSpeed repository with no signup. Commercial production use requires a subscription under the repository terms: GetPageSpeed Ultra ($500/year) for up to 10 servers running your own services, or GetPageSpeed Fleet (from $800/year) for servers that host client websites or fleets larger than 10. Either one funds these backports and keeps your servers covered for the next EOL PHP CVE. Organizations with 250+ employees or $10M+ revenue, or anyone needing a contractual SLA, should contact us about Enterprise. To license servers without registering IP addresses, place your license file at /etc/getpagespeed/license.jwt.