CVE-2025-58098
httpd: Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
Overview
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.
Source: OX vulnerability database
Severity
8.3 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Weakness: CWE-201
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | apache | <2.4.66 | 2.4.66 |
Open a package to see all its vulnerabilities.
Operating systems · 126 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | httpd | 0:2.4.66-1.azl3 |
Oracle Linux 3 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | mod-proxy-html +1 | 1:2.4.6-99.0.9.el7_9.1 |
| 7 | httpd +5 | 2.4.6-99.0.9.el7_9.1 |
| 8 | mod-http2 | 1.15.7-10.module+el8.10.0+90652+bef864ba.4 |
| 8 | mod-md | 1:2.0.8-8.module+el8.10.0+90740+3332f30e.2 |
| 8 | mod-proxy-html +1 | 1:2.4.37-65.0.1.module+el8.10.0+90740+3332f30e.7 |
| 8 | httpd +6 | 2.4.37-65.0.1.module+el8.10.0+90740+3332f30e.7 |
2 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | httpd +3 | 2.4.67-1.ph4 |
| 5.0 | httpd +3 | 2.4.66-1.ph5 |
Red Hat 4 releases · 16 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jbcs-httpd24-openssl-pkcs11 | 0:0.4.12-5.el7jbcs | RHSA-2026:2994 |
| 7 | jbcs-httpd24-openssl-chil | 0:1.0.0-25.el7jbcs | RHSA-2026:2994 |
| 7 | jbcs-httpd24-mod-jk-ap24 | 0:1.2.50-12.redhat_1.el7jbcs | RHSA-2026:2994 |
| 7 | jbcs-httpd24-mod-proxy-cluster | 0:1.3.22-7.el7jbcs | RHSA-2026:2994 |
| 7 | jbcs-httpd24-apr-util +8 | 0:1.6.3-4.el7jbcs | RHSA-2026:2994 |
| 7 | jbcs-httpd24-mod-http2 | 0:2.0.29-8.el7jbcs | RHSA-2026:2994 |
46 more rows
SUSE Linux Enterprise 6 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | apache2 +13 | 2.4.51-35.75.1 | SUSE-SU-2025:4488-1 |
| 15.4 | apache2 +5 | 2.4.51-150400.6.52.1 | SUSE-SU-2026:0019-1 |
| 15.5 | apache2 +5 | 2.4.51-150400.6.52.1 | SUSE-SU-2026:0019-1 |
| 15.6 | apache2-doc | 2.4.51-150400.6.52.1 | SUSE-SU-2026:0019-1 |
| 15.6 | apache2 +4 | 2.4.58-150600.5.41.1 | SUSE-SU-2026:0020-1 |
| 15.7 | apache2-doc | 2.4.51-150400.6.52.1 | SUSE-SU-2026:0019-1 |
2 more rows
alma 3 releases · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | httpd-filesystem | 2.4.63-4.el10_1.3 |
| 8 (httpd:2.4) | mod-http2 | 1.15.7-10.module_el8.10.0+4044+ea5f78b1.4 |
| 8 (httpd:2.4) | mod-md | 1:2.0.8-8.module_el8.10.0+4088+57f011c1.2 |
| 8 (httpd:2.4) | mod-proxy-html +1 | 1:2.4.37-65.module_el8.10.0+4088+57f011c1.7 |
| 8 (httpd:2.4) | httpd +6 | 2.4.37-65.module_el8.10.0+4088+57f011c1.7 |
| 9 | mod-proxy-html +1 | 1:2.4.62-7.el9_7.3 |
1 more row
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | apache2 | 2.4.66-r0 |
| 3.23 | apache2 | 2.4.66-r0 |
| 3.24 | apache2 | 2.4.66-r0 |
| edge | apache2 | 2.4.66-r0 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | mod-proxy-html +3 | 1:2.4.66-1.amzn2023.0.1 |
| 2023 | httpd +15 | 2.4.66-1.amzn2023.0.1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | apache2 | 2.4.66-1~deb11u1 |
| 12 | apache2 | 2.4.66-1~deb12u1 |
| 13 | apache2 | 2.4.66-1~deb13u1 |
| 14 | apache2 | 2.4.66-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| apache2 | 2.4.66-1~deb12u1 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| apache2 | 2.4.66-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | apache2 | 2.4.66-1.1 | openSUSE-SU-2025:15808-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | apache2 +6 | 2.4.63-160000.3.1 | openSUSE-SU-2026:20030-1 |
rocky 3 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | mod-proxy-html +1 | 1:2.4.63-4.el10_1.3 |
| 10 | httpd +8 | 2.4.63-4.el10_1.3 |
| 8 (httpd:2.4) | mod-http2 | 1.15.7-10.module+el8.10.0+1775+6b057638 |
| 8 (httpd:2.4) | mod-http2 | 1.15.7-10.module+el8.10.0+1830+22f0c9e0 |
| 8 (httpd:2.4) | mod-http2 | 1.15.7-10.module+el8.10.0+1883+38ed6c58.1 |
| 8 (httpd:2.4) | mod-http2 | 1.15.7-10.module+el8.10.0+1938+3b7755d4.3 |
21 more rows
root.io debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-apache2 | 2.4.66-1~deb12u1 |
| 13 | apache2 +1 | 2.4.66-1~deb13u1 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | apache2 | 2.4.29-1ubuntu4.27+esm7 |
| 20.04-ESM | apache2 | 2.4.41-4ubuntu3.23+esm3 |
| 22.04 | apache2 | 2.4.52-1ubuntu4.18 |
| 24.04 | apache2 | 2.4.58-1ubuntu8.10 |
| 26.04 | apache2 | 2.4.66-2ubuntu1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/12/04/5
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:23732
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:23919
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-58098
- bugzilla.redhat.com https://bugzilla.redhat.com/2419139
- bugzilla.redhat.com https://bugzilla.redhat.com/2419262
- bugzilla.redhat.com https://bugzilla.redhat.com/2419365
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2419139
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2419140
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2419262
Show all 26 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2419365
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-55753
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58098
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-65082
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-66200
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-23919.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:23732
- httpd.apache.org https://httpd.apache.org/security/vulnerabilities_24.html
- httpd.apache.org https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2025-58098
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-58098.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-0075.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-58098
- ubuntu.com https://ubuntu.com/security/notices/USN-7968-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8338-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-58098
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.