CVE-2025-58098 Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
HighCVSS 8.3
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Apache HTTP ServerUbuntuDebianRed Hat
Description
Apache HTTP Server 2.4.65 and earlier with Server Side Includes (SSI) enabled and mod_cgid (but not mod_cgi) passes the shell-escaped query string to #exec cmd="..." directives.
This issue affects Apache HTTP Server before 2.4.66.
Users are recommended to upgrade to version 2.4.66, which fixes the issue.
Upgrade path
36 packages: 26 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/httpd:2.4-8020020251223095446.4cda2c84(Red Hat rhel_aus 8.2) | All versions | No fix listed | No fix yet |
| redhat/httpd:2.4-8040020251223095736.522a0ee4(Red Hat rhel_aus 8.4) | All versions | No fix listed | No fix yet |
| redhat/httpd:2.4-8040020251223095736.522a0ee4(Red Hat rhel_eus_long_life 8.4) | All versions | No fix listed | No fix yet |
| redhat/httpd:2.4-8060020251223095927.ad008a3a(Red Hat rhel_aus 8.6) | All versions | No fix listed | No fix yet |
| redhat/httpd:2.4-8060020251223095927.ad008a3a(Red Hat rhel_e4s 8.6) | All versions | No fix listed | No fix yet |
| redhat/httpd:2.4-8060020251223095927.ad008a3a(Red Hat rhel_tus 8.6) | All versions | No fix listed | No fix yet |
| redhat/httpd:2.4-8080020251223093308.63b34585(Red Hat rhel_e4s 8.8) | All versions | No fix listed | No fix yet |
| redhat/httpd:2.4-8080020251223093308.63b34585(Red Hat rhel_tus 8.8) | All versions | No fix listed | No fix yet |
| redhat/httpd:2.4-8100020251212173309.489197e6(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/jbcs-httpd24-httpd(Red Hat jboss_core_services 1.0) | All versions | No fix listed | No fix yet |
| alpine/apache2(Alpine v3.20) | < 2.4.66-r0 | 2.4.66-r0 | Fixed |
| alpine/apache2(Alpine v3.21) | < 2.4.66-r0 | 2.4.66-r0 | Fixed |
| alpine/apache2(Alpine v3.22) | < 2.4.66-r0 | 2.4.66-r0 | Fixed |
| alpine/apache2(Alpine v3.23) | < 2.4.66-r0 | 2.4.66-r0 | Fixed |
| alpine/apache2(Alpine v3.24) | < 2.4.66-r0 | 2.4.66-r0 | Fixed |
| Apache HTTP Server | < 2.4.66 | 2.4.66 | Fixed |
| Apache HTTP Server(Azure Linux 3.0) | < 2.4.66-1 | 2.4.66-1 | Fixed |
| Apache HTTP Server(CBL-Mariner 2.0) | < 2.4.66-1 | 2.4.66-1 | Fixed |
| debian/apache2(Debian 12) | < 2.4.66-1~deb12u1; = 2.4.57-2; = 2.4.57-3; = 2.4.58-1 +27 more | 2.4.66-1~deb12u1 | Fixed |
| debian/apache2(Debian 13) | < 2.4.66-1~deb13u1; = 2.4.65-2; = 2.4.65-3; = 2.4.66-1~deb11u1 +2 more | 2.4.66-1~deb13u1 | Fixed |
| debian/apache2(Debian 14) | < 2.4.66-1; = 2.4.65-2; = 2.4.65-3; = 2.4.66-1~deb11u1 +4 more | 2.4.66-1 | Fixed |
| redhat/httpd(Red Hat enterprise_linux 10.1) | < 2.4.63-4.el10_1.3 | 2.4.63-4.el10_1.3 | Fixed |
| redhat/httpd(Red Hat enterprise_linux 9) | < 2.4.62-7.el9_7.3 | 2.4.62-7.el9_7.3 | Fixed |
| redhat/httpd(Red Hat enterprise_linux_eus 10.0) | < 2.4.63-1.el10_0.3 | 2.4.63-1.el10_0.3 | Fixed |
| redhat/httpd(Red Hat rhel_e4s 9.0) | < 2.4.51-7.el9_0.11 | 2.4.51-7.el9_0.11 | Fixed |
| redhat/httpd(Red Hat rhel_e4s 9.2) | < 2.4.53-11.el9_2.14 | 2.4.53-11.el9_2.14 | Fixed |
| redhat/httpd(Red Hat rhel_els 6) | < 2.2.15-71.el6_10.2 | 2.2.15-71.el6_10.2 | Fixed |
| redhat/httpd(Red Hat rhel_els 7) | < 2.4.6-99.el7_9.7 | 2.4.6-99.el7_9.7 | Fixed |
| redhat/httpd(Red Hat rhel_eus 9.4) | < 2.4.57-11.el9_4.4 | 2.4.57-11.el9_4.4 | Fixed |
| redhat/httpd(Red Hat rhel_eus 9.6) | < 2.4.62-4.el9_6.5 | 2.4.62-4.el9_6.5 | Fixed |
… and 6 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Apache HTTP Server(Azure Linux:3.0) | < 2.4.66-1 | 2.4.66-1 |
| Apache HTTP Server(CBL-Mariner:2.0) | < 2.4.66-1 | 2.4.66-1 |
| debian/apache2(Debian:12) | < 2.4.66-1~deb12u1 | 2.4.66-1~deb12u1 |
| debian/apache2(Debian:12) | = 2.4.57-2 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.57-3 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.58-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.59-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.59-1~deb10u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.59-1~deb11u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.59-1~deb12u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.59-2 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.60-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.61-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.61-1~deb11u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.61-1~deb12u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-1~deb11u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-1~deb11u2 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-1~deb12u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-1~deb12u2 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-2 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-3 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-4 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-5 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.62-6 | No fix listed |
Show 53 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/apache2(Debian:12) | = 2.4.63-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.64-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.65-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.65-1~deb11u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.65-1~deb12u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.65-2 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.65-3 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.66-1~deb11u1 | No fix listed |
| debian/apache2(Debian:13) | < 2.4.66-1~deb13u1 | 2.4.66-1~deb13u1 |
| debian/apache2(Debian:13) | = 2.4.65-2 | No fix listed |
| debian/apache2(Debian:13) | = 2.4.65-3 | No fix listed |
| debian/apache2(Debian:13) | = 2.4.66-1~deb11u1 | No fix listed |
| debian/apache2(Debian:13) | = 2.4.66-1~deb12u1 | No fix listed |
| debian/apache2(Debian:13) | = 2.4.66-1~deb12u2 | No fix listed |
| debian/apache2(Debian:14) | < 2.4.66-1 | 2.4.66-1 |
| debian/apache2(Debian:14) | = 2.4.65-2 | No fix listed |
| debian/apache2(Debian:14) | = 2.4.65-3 | No fix listed |
| debian/apache2(Debian:14) | = 2.4.66-1~deb11u1 | No fix listed |
| debian/apache2(Debian:14) | = 2.4.66-1~deb12u1 | No fix listed |
| debian/apache2(Debian:14) | = 2.4.66-1~deb12u2 | No fix listed |
| debian/apache2(Debian:14) | = 2.4.66-1~deb13u1 | No fix listed |
| debian/apache2(Debian:14) | = 2.4.66-1~deb13u2 | No fix listed |
| Apache HTTP Server | < 2.4.66 | 2.4.66 |
| ubuntu/apache2(Ubuntu:22.04) | < 2.4.52-1ubuntu4.18 | 2.4.52-1ubuntu4.18 |
| alpine/apache2(Alpine:v3.20) | < 2.4.66-r0 | 2.4.66-r0 |
| alpine/apache2(Alpine:v3.21) | < 2.4.66-r0 | 2.4.66-r0 |
| alpine/apache2(Alpine:v3.22) | < 2.4.66-r0 | 2.4.66-r0 |
| alpine/apache2(Alpine:v3.23) | < 2.4.66-r0 | 2.4.66-r0 |
| alpine/apache2(Alpine:v3.24) | < 2.4.66-r0 | 2.4.66-r0 |
| redhat/jbcs-httpd24-httpd(Red Hat:jboss_core_services:1::el8) | < 2.4.62-11.el8jbcs | 2.4.62-11.el8jbcs |
| redhat/jbcs-httpd24-httpd(Red Hat:jboss_core_services:1::el7) | < 2.4.62-11.el7jbcs | 2.4.62-11.el7jbcs |
| redhat/httpd(Red Hat:enterprise_linux:10.1) | < 2.4.63-4.el10_1.3 | 2.4.63-4.el10_1.3 |
| redhat/httpd(Red Hat:enterprise_linux_eus:10.0) | < 2.4.63-1.el10_0.3 | 2.4.63-1.el10_0.3 |
| redhat/httpd(Red Hat:rhel_els:6) | < 2.2.15-71.el6_10.2 | 2.2.15-71.el6_10.2 |
| redhat/httpd(Red Hat:rhel_els:7) | < 2.4.6-99.el7_9.7 | 2.4.6-99.el7_9.7 |
| redhat/httpd:2.4-8100020251212173309.489197e6(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/httpd:2.4-8020020251223095446.4cda2c84(Red Hat:rhel_aus:8.2) | All versions | No fix listed |
| redhat/httpd:2.4-8040020251223095736.522a0ee4(Red Hat:rhel_aus:8.4) | All versions | No fix listed |
| redhat/httpd:2.4-8040020251223095736.522a0ee4(Red Hat:rhel_eus_long_life:8.4) | All versions | No fix listed |
| redhat/httpd:2.4-8060020251223095927.ad008a3a(Red Hat:rhel_aus:8.6) | All versions | No fix listed |
| redhat/httpd:2.4-8060020251223095927.ad008a3a(Red Hat:rhel_tus:8.6) | All versions | No fix listed |
| redhat/httpd:2.4-8060020251223095927.ad008a3a(Red Hat:rhel_e4s:8.6) | All versions | No fix listed |
| redhat/httpd:2.4-8080020251223093308.63b34585(Red Hat:rhel_tus:8.8) | All versions | No fix listed |
| redhat/httpd:2.4-8080020251223093308.63b34585(Red Hat:rhel_e4s:8.8) | All versions | No fix listed |
| redhat/httpd(Red Hat:enterprise_linux:9) | < 2.4.62-7.el9_7.3 | 2.4.62-7.el9_7.3 |
| redhat/httpd(Red Hat:rhel_e4s:9.0) | < 2.4.51-7.el9_0.11 | 2.4.51-7.el9_0.11 |
| redhat/httpd(Red Hat:rhel_e4s:9.2) | < 2.4.53-11.el9_2.14 | 2.4.53-11.el9_2.14 |
| redhat/httpd(Red Hat:rhel_eus:9.4) | < 2.4.57-11.el9_4.4 | 2.4.57-11.el9_4.4 |
| redhat/httpd(Red Hat:rhel_eus:9.6) | < 2.4.62-4.el9_6.5 | 2.4.62-4.el9_6.5 |
| redhat/jbcs-httpd24-httpd(Red Hat:jboss_core_services:1.0) | All versions | No fix listed |
| redhat/httpd-main(Red Hat:hummingbird:1) | < 2.4.66-6.hum1 | 2.4.66-6.hum1 |
| ubuntu/apache2(Ubuntu:24.04) | < 2.4.58-1ubuntu8.10 | 2.4.58-1ubuntu8.10 |
| ubuntu/apache2(Ubuntu:26.04) | < 2.4.66-2ubuntu1 | 2.4.66-2ubuntu1 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-58098 vendor-advisory
- httpd.apache.org mailing-list vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7968-1 vendor-advisory
- USN-8338-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:2994 patch vendor-advisory
- RHSA-2025:23932 patch vendor-advisory
- RHSA-2026:0171 patch vendor-advisory
- RHSA-2026:0074 patch vendor-advisory
- RHSA-2026:0075 patch vendor-advisory
- RHSA-2025:23732 patch vendor-advisory
- RHSA-2026:0009 patch vendor-advisory
- RHSA-2026:0010 patch vendor-advisory
- RHSA-2026:0011 patch vendor-advisory
- RHSA-2026:0012 patch vendor-advisory
- RHSA-2025:23919 patch vendor-advisory
- RHSA-2026:0095 patch vendor-advisory
- RHSA-2026:0139 patch vendor-advisory
- RHSA-2026:0141 patch vendor-advisory
- RHSA-2026:0090 patch vendor-advisory
- RHSA-2026:2995 patch vendor-advisory
- RHSA-2026:5156 patch vendor-advisory
- Red Hat Bugzilla 2419365 issue-tracking
- nvd.nist.gov
- bugs.debian.org issue-tracking