Skip to main content

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.

Ultra, $500/year Fleet, from $800/year

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 in Everpatch httpd 2.4.6-106: 68 CVEs
Fixed CVEIssueApache rating
CVE-2024-40725Apache HTTP Server: source code disclosure with handlers configured via AddTypeimportant
CVE-2024-39884Apache HTTP Server: source code disclosure with handlers configured via AddTypeimportant
CVE-2024-38477Apache HTTP Server: Crash resulting in Denial of Service in mod_proxy via a malicious requestimportant
CVE-2024-38476Apache HTTP Server may use exploitable/malicious backend application output to run local handlers via internal redirectimportant
CVE-2024-38475Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.important
CVE-2024-38474Apache HTTP Server weakness with encoded question marks in backreferencesimportant
CVE-2022-23943mod_sed: Read/write beyond boundsimportant
CVE-2026-93546mod_dav_fs namespace overflowmoderate
CVE-2026-63292mod_vhost_alias stack overflowmoderate
CVE-2026-44186Loop in `proxy_ftp_handler` in mod_proxy_ftpmoderate
CVE-2026-43951OOB Read in `merge_response_headers` can cause crashmoderate
CVE-2026-42535mod_dav_fs protected directory accessmoderate
CVE-2026-42528mod_dav shared lock overflowmoderate
CVE-2026-34355mod_proxy_html buffer overflowmoderate
CVE-2026-33006mod_auth_digest timing attackmoderate
CVE-2025-58098Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...moderate
CVE-2025-23048Apache HTTP Server: mod_ssl access control bypass with session resumptionmoderate
CVE-2024-42516Apache HTTP Server: HTTP response splittingmoderate
CVE-2024-39573Apache HTTP Server: mod_rewrite proxy handler substitutionmoderate
CVE-2024-38473Apache HTTP Server proxy encoding problemmoderate
CVE-2023-38709Apache HTTP Server: HTTP response splittingmoderate
CVE-2022-37436Apache HTTP Server: mod_proxy prior to 2.4.55 allows a backend to trigger HTTP response splittingmoderate
CVE-2022-36760Apache HTTP Server: mod_proxy_ajp Possible request smugglingmoderate
CVE-2022-26377mod_proxy_ajp: Possible request smugglingmoderate
CVE-2022-22719mod_lua Use of uninitialized value of in r:parsebodymoderate
CVE-2021-30641Unexpected URL matching with 'MergeSlashes OFF'moderate
CVE-2019-17567mod_proxy_wstunnel tunneling of non Upgraded connectionsmoderate
CVE-2006-20001mod_dav out of bounds read, or write of zero bytemoderate
CVE-2026-79768mod_userdir information disclosurelow
CVE-2026-73637mod_auth_digest DoS attacklow
CVE-2026-73636mod_auth_digest one-time-nonce replay attacklow
CVE-2026-63686mod_xml2enc crash on charset conversion failurelow
CVE-2026-63045mod_proxy_ftp PASV address handlinglow
CVE-2026-58415mod_dav_fs property database read accesslow
CVE-2026-56154mod_rewrite use-after-free via %{LA-U:HTTP:...}low
CVE-2026-56153mod_charset_lite: Heap overflow in finish_partial_charlow
CVE-2026-48005mod_auth_digest reauthentication attacklow
CVE-2026-47360mod_session: Session cookie not removed during internal redirectlow
CVE-2026-46729mod_heartmonitor denial of servicelow
CVE-2026-44185Stack Buffer Over-Read in mod_ssl OCSP `send_request`low
CVE-2026-42536mod_xml2enc heap overflowlow
CVE-2026-42356limited RCE for some internal redirects to non-CGI files in CGI directorieslow
CVE-2026-34356ProxyPassReverseCookieMap buffer overflowlow
CVE-2026-34059Apache HTTP Server: mod_proxy_ajp: Heap Over-Read and memory disclosure in ajp_parse_data()low
CVE-2026-34032mod_proxy_ajp: Heap Buffer Over-Read Due to Missing Null-Termination Check (ajp_msg_get_string)low
CVE-2026-33857Apache HTTP Server: Off-by-one OOB reads in AJP getter functionslow
CVE-2026-33523multiple modules: HTTP response splitting forwarding malicious status linelow
CVE-2026-33007mod_authn_socache crashlow
CVE-2026-29170mod_proxy_ftp XSSlow
CVE-2026-29169mod_dav_lock indirect lock crashlow
CVE-2026-29167mod_ldap per-dir use-after-freelow
CVE-2026-28780Apache HTTP Server: buffer overflow in mod_proxy_ajp via ajp_msg_check_header()low
CVE-2026-109163mod_vhost_alias 1 byte stack buffer overwrite (after CVE-2026-63292)low
CVE-2025-65082Apache HTTP Server: CGI environment variable overridelow
CVE-2024-47252Apache HTTP Server: mod_ssl error log variable escapinglow
CVE-2024-43204Apache HTTP Server: SSRF with mod_headers setting Content-Type headerlow
CVE-2024-24795Apache HTTP Server: HTTP Response Splitting in multiple moduleslow
CVE-2023-31122mod_macro buffer over-readlow
CVE-2022-31813mod_proxy X-Forwarded-For dropped by hop-by-hop mechanismlow
CVE-2022-30522mod_sed denial of servicelow
CVE-2022-29404Denial of service in mod_lua r:parsebodylow
CVE-2022-28615Read beyond bounds in ap_strcmp_match()low
CVE-2022-28614read beyond bounds via ap_rwrite()low
CVE-2022-22721core: Possible buffer overflow with very large or unlimited LimitXMLRequestBodylow
CVE-2021-26690mod_session NULL pointer dereferencelow
CVE-2020-35452mod_auth_digest possible stack overflow by one nul bytelow
CVE-2019-10092Limited cross-site scripting in mod_proxy error pagelow
CVE-2014-8109mod_lua multiple "Require" directive handling is brokenlow

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.

Opt-in fixes: 4 CVEs
CVEIssueApache ratingTurn on with
CVE-2026-44119escalation of privilege through expressions in .htaccess in multiple modulesmoderateUpstreamSecurityDefaults On
CVE-2026-24072Apache HTTP Server: mod_rewrite elevation of privileges via ap_exprmoderateUpstreamSecurityDefaults On
CVE-2025-49812Apache HTTP Server: mod_ssl TLS upgrade attackmoderateUpstreamSecurityDefaults On
CVE-2026-59797mod_ssl SSLRequire allows .htaccess ap_expr file-functionlowUpstreamSecurityDefaults 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.