Apache httpd Security Updates for CentOS 7 / RHEL 7
Everpatch httpd is CentOS 7's own Apache 2.4.6 with 68 later upstream security fixes ported in, as a yum update.
Same version, same modules, same configuration behaviour: mod_php, PHP-FPM and your virtual hosts keep working, and yum downgrade takes you back.
The gap
CentOS 7 reached end of life in June 2024. Its last httpd build carries 42 Apache CVE fixes that Red Hat backported to 2.4.6 over the years. Every Apache security release since then skipped EL7, and some earlier upstream fixes never reached it at all.
Everpatch httpd starts from that same source package and ports the missing fixes, checked against every Apache 2.4 advisory: 68 fixed, 4 shipped as opt-in, and 60 audited as not applicable to the EL7 build (code that 2.4.6 does not have, or modules CentOS 7 does not ship).
Install
The packages are in the opt-in testing channel of the GetPageSpeed repository. Enable it for the one transaction:
yum -y install https://extras.getpagespeed.com/release-latest.rpm yum --enablerepo=getpagespeed-extras-testing update httpd rpm -q httpd
yum update restarts httpd for you. The new modules need the new core, so if you disabled that restart (/etc/sysconfig/httpd-disable-posttrans), run systemctl restart httpd rather than a graceful reload. rpm -q httpd shows httpd-2.4.6-106.el7.gps1.
Going back: yum downgrade httpd httpd-tools mod_ssl, naming every httpd subpackage you have installed, then systemctl restart httpd.
What you may notice
One fix stays on although a working configuration can see it, because the flaw is on CISA's known exploited list: a server-context RewriteRule whose leading filesystem path comes from a backreference or a RewriteMap (mass virtual hosting) is resolved under the DocumentRoot. Add the [UnsafePrefixStat] flag to such a rule, or RewriteOptions UnsafePrefixStat, to restore the stock result.
A TLS request without SNI that lands on a virtual host with a different client-certificate requirement is refused with 403, which is the attack itself. SSLVHostSNIPolicy insecure restores the stock behaviour.
Security fixes in this package
| Fixed CVE | Issue | Apache rating |
|---|---|---|
| CVE-2024-40725 | Apache HTTP Server: source code disclosure with handlers configured via AddType | important |
| CVE-2024-39884 | Apache HTTP Server: source code disclosure with handlers configured via AddType | important |
| CVE-2024-38477 | Apache HTTP Server: Crash resulting in Denial of Service in mod_proxy via a malicious request | important |
| CVE-2024-38476 | Apache HTTP Server may use exploitable/malicious backend application output to run local handlers via internal redirect | important |
| CVE-2024-38475 | Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path. | important |
| CVE-2024-38474 | Apache HTTP Server weakness with encoded question marks in backreferences | important |
| CVE-2022-23943 | mod_sed: Read/write beyond bounds | important |
| CVE-2026-93546 | mod_dav_fs namespace overflow | moderate |
| CVE-2026-63292 | mod_vhost_alias stack overflow | moderate |
| CVE-2026-44186 | Loop in `proxy_ftp_handler` in mod_proxy_ftp | moderate |
| CVE-2026-43951 | OOB Read in `merge_response_headers` can cause crash | moderate |
| CVE-2026-42535 | mod_dav_fs protected directory access | moderate |
| CVE-2026-42528 | mod_dav shared lock overflow | moderate |
| CVE-2026-34355 | mod_proxy_html buffer overflow | moderate |
| CVE-2026-33006 | mod_auth_digest timing attack | moderate |
| CVE-2025-58098 | Apache HTTP Server: Server Side Includes adds query string to #exec cmd=... | moderate |
| CVE-2025-23048 | Apache HTTP Server: mod_ssl access control bypass with session resumption | moderate |
| CVE-2024-42516 | Apache HTTP Server: HTTP response splitting | moderate |
| CVE-2024-39573 | Apache HTTP Server: mod_rewrite proxy handler substitution | moderate |
| CVE-2024-38473 | Apache HTTP Server proxy encoding problem | moderate |
| CVE-2023-38709 | Apache HTTP Server: HTTP response splitting | moderate |
| CVE-2022-37436 | Apache HTTP Server: mod_proxy prior to 2.4.55 allows a backend to trigger HTTP response splitting | moderate |
| CVE-2022-36760 | Apache HTTP Server: mod_proxy_ajp Possible request smuggling | moderate |
| CVE-2022-26377 | mod_proxy_ajp: Possible request smuggling | moderate |
| CVE-2022-22719 | mod_lua Use of uninitialized value of in r:parsebody | moderate |
| CVE-2021-30641 | Unexpected URL matching with 'MergeSlashes OFF' | moderate |
| CVE-2019-17567 | mod_proxy_wstunnel tunneling of non Upgraded connections | moderate |
| CVE-2006-20001 | mod_dav out of bounds read, or write of zero byte | moderate |
| CVE-2026-79768 | mod_userdir information disclosure | low |
| CVE-2026-73637 | mod_auth_digest DoS attack | low |
| CVE-2026-73636 | mod_auth_digest one-time-nonce replay attack | low |
| CVE-2026-63686 | mod_xml2enc crash on charset conversion failure | low |
| CVE-2026-63045 | mod_proxy_ftp PASV address handling | low |
| CVE-2026-58415 | mod_dav_fs property database read access | low |
| CVE-2026-56154 | mod_rewrite use-after-free via %{LA-U:HTTP:...} | low |
| CVE-2026-56153 | mod_charset_lite: Heap overflow in finish_partial_char | low |
| CVE-2026-48005 | mod_auth_digest reauthentication attack | low |
| CVE-2026-47360 | mod_session: Session cookie not removed during internal redirect | low |
| CVE-2026-46729 | mod_heartmonitor denial of service | low |
| CVE-2026-44185 | Stack Buffer Over-Read in mod_ssl OCSP `send_request` | low |
| CVE-2026-42536 | mod_xml2enc heap overflow | low |
| CVE-2026-42356 | limited RCE for some internal redirects to non-CGI files in CGI directories | low |
| CVE-2026-34356 | ProxyPassReverseCookieMap buffer overflow | low |
| CVE-2026-34059 | Apache HTTP Server: mod_proxy_ajp: Heap Over-Read and memory disclosure in ajp_parse_data() | low |
| CVE-2026-34032 | mod_proxy_ajp: Heap Buffer Over-Read Due to Missing Null-Termination Check (ajp_msg_get_string) | low |
| CVE-2026-33857 | Apache HTTP Server: Off-by-one OOB reads in AJP getter functions | low |
| CVE-2026-33523 | multiple modules: HTTP response splitting forwarding malicious status line | low |
| CVE-2026-33007 | mod_authn_socache crash | low |
| CVE-2026-29170 | mod_proxy_ftp XSS | low |
| CVE-2026-29169 | mod_dav_lock indirect lock crash | low |
| CVE-2026-29167 | mod_ldap per-dir use-after-free | low |
| CVE-2026-28780 | Apache HTTP Server: buffer overflow in mod_proxy_ajp via ajp_msg_check_header() | low |
| CVE-2026-109163 | mod_vhost_alias 1 byte stack buffer overwrite (after CVE-2026-63292) | low |
| CVE-2025-65082 | Apache HTTP Server: CGI environment variable override | low |
| CVE-2024-47252 | Apache HTTP Server: mod_ssl error log variable escaping | low |
| CVE-2024-43204 | Apache HTTP Server: SSRF with mod_headers setting Content-Type header | low |
| CVE-2024-24795 | Apache HTTP Server: HTTP Response Splitting in multiple modules | low |
| CVE-2023-31122 | mod_macro buffer over-read | low |
| CVE-2022-31813 | mod_proxy X-Forwarded-For dropped by hop-by-hop mechanism | low |
| CVE-2022-30522 | mod_sed denial of service | low |
| CVE-2022-29404 | Denial of service in mod_lua r:parsebody | low |
| CVE-2022-28615 | Read beyond bounds in ap_strcmp_match() | low |
| CVE-2022-28614 | read beyond bounds via ap_rwrite() | low |
| CVE-2022-22721 | core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody | low |
| CVE-2021-26690 | mod_session NULL pointer dereference | low |
| CVE-2020-35452 | mod_auth_digest possible stack overflow by one nul byte | low |
| CVE-2019-10092 | Limited cross-site scripting in mod_proxy error page | low |
| CVE-2014-8109 | mod_lua multiple "Require" directive handling is broken | low |
Shipped, off by default
These fixes change what a legitimate configuration sees, so they wait for your decision. Without the directive, httpd behaves exactly as stock 2.4.6 for them.
| CVE | Issue | Apache rating | Turn on with |
|---|---|---|---|
| CVE-2026-44119 | escalation of privilege through expressions in .htaccess in multiple modules | moderate | UpstreamSecurityDefaults On |
| CVE-2026-24072 | Apache HTTP Server: mod_rewrite elevation of privileges via ap_expr | moderate | UpstreamSecurityDefaults On |
| CVE-2025-49812 | Apache HTTP Server: mod_ssl TLS upgrade attack | moderate | UpstreamSecurityDefaults On |
| CVE-2026-59797 | mod_ssl SSLRequire allows .htaccess ap_expr file-function | low | UpstreamSecurityDefaults On |
Known limits
- CVE-2022-28614: third-party modules keep their old inline ap_rputs() until rebuilt against the new httpd-devel.
- CVE-2024-38473: SetHandler proxy:balancer members are not re-canonicalised per member scheme, and RewriteRule [P] to unix: URLs is not canonicalised (upstream PR 69235).
Frequently asked questions
Is Apache 2.4.6 on CentOS 7 still vulnerable?
Stock CentOS 7 httpd stopped receiving fixes when CentOS 7 reached end of life in June 2024. Red Hat had backported 42 Apache CVE fixes into 2.4.6 before then; the 68 fixes listed on this page came later or never reached EL7. The version string alone does not tell you: httpd -v prints 2.4.6 on both, rpm -q httpd shows .gps1 on ours.
Will it break my configuration?
It is built to not: legitimate requests and working configurations get the same responses as stock 2.4.6. Every release is tested against a corpus of real setups (WordPress .htaccess on mod_php, PHP-FPM through proxy:fcgi, reverse proxy and WebSocket, SNI virtual hosts, certbot vhosts) and compared byte for byte with stock. The one exception is listed under "What you may notice".
Does mod_php keep working?
Yes. The module magic number stays 20120211, so Remi's and our Everpatch PHP mod_php builds load unchanged, as do third-party modules built with apxs.
Why are some fixes off by default?
For 4 CVEs the upstream fix changes what a legitimate configuration sees, and no rework can tell the attack from normal use. They ship in the package but stay off until you add UpstreamSecurityDefaults On to the main server configuration. They are not counted as fixed here.
How do I go back to stock httpd?
Downgrade every installed httpd subpackage in one transaction (each requires the exact httpd version), then restart: yum downgrade httpd httpd-tools mod_ssl, plus mod_ldap, mod_session, mod_proxy_html, httpd-devel or httpd-manual if you have them, and systemctl restart httpd.