CVE-2025-65082: Apache HTTP Server: CGI environment variable override

Published Dec 4, 2025
·
Updated

802.1X. An authentication issue was addressed with improved state management.

Other sources

Accounts. An authorization issue was addressed with improved state management.

— Apple

Admin Framework. A path handling issue was addressed with improved validation.

— Apple

Apache HTTP Server: CGI environment variable override

— Microsoft

apache. This is a vulnerability in open source code and Apple Software is among the affected projects. The CVE-ID was assigned by a third party. Learn more about the issue and CVE-ID at cve.org.

— Apple

Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache HTTP Server through environment variables set via the Apache configuration unexpectedly superseding variables calculated by the server for CGI programs.

— Launchpad

Credit

Héloïse Gollier, Mathy Vanhoef (KU Leuven), Rosyna Keller(Totally Not Malicious Software), CVE-2025-55753, CVE-2025-58098, CVE-2025-59775, CVE-2025-65082, CVE-2025-66200, Ryan Dowd@@_rdowd

Affected Software

22 affected componentsFixes available
Apache HTTP Server>=2.4.0<=2.4.65
Microsoft azl3 httpd 2.4.65-1
Microsoft cbl2 httpd 2.4.65-1
Microsoft azl3 httpd 2.4.65-1
Microsoft cbl2 httpd 2.4.65-1
F5 F5OS-A>=1.8.0<=1.8.3, >=1.5.1<=1.5.4
F5 F5OS-C>=1.8.0<=1.8.2, >=1.6.0<=1.6.4
debian/apache2<=2.4.62-1~deb11u1
2.4.67-1~deb11u12.4.67-1~deb12u22.4.67-1~deb13u22.4.67-1
Apache HTTP Server>=2.4.0<2.4.66
IBM DS8A00( R10.0 - R10.1 )<=10.1.3.0 - 10.11.35.0
IBM DS8900F ( R9.4)<=89.40.83.0-89.44.25.0
Apple macOS Sonoma<14.8.5
14.8.5
Apple macOS Sequoia<15.7.5
15.7.5
Apple macOS Tahoe<26.4
26.4
ubuntu/apache2<2.4.7-1ubuntu4.22+esm12
2.4.7-1ubuntu4.22+esm12
ubuntu/apache2<2.4.18-2ubuntu3.17+esm17
2.4.18-2ubuntu3.17+esm17
ubuntu/apache2<2.4.29-1ubuntu4.27+esm7
2.4.29-1ubuntu4.27+esm7
ubuntu/apache2<2.4.41-4ubuntu3.23+esm3
2.4.41-4ubuntu3.23+esm3
ubuntu/apache2<2.4.52-1ubuntu4.18
2.4.52-1ubuntu4.18
ubuntu/apache2<2.4.58-1ubuntu8.10
2.4.58-1ubuntu8.10
ubuntu/apache2<2.4.64-1ubuntu3.2
2.4.64-1ubuntu3.2
ubuntu/apache2<2.4.66-2ubuntu1
2.4.66-2ubuntu1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.67-1~deb11u1Fixed in 2.4.67-1~deb12u2Fixed in 2.4.67-1~deb13u2Fixed in 2.4.67-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.8.5
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.7.5
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.4
  5. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.7-1ubuntu4.22+esm12
  6. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.18-2ubuntu3.17+esm17
  7. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.29-1ubuntu4.27+esm7
  8. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.41-4ubuntu3.23+esm3
  9. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.52-1ubuntu4.18
  10. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.58-1ubuntu8.10
  11. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.64-1ubuntu3.2
  12. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.66-2ubuntu1
  13. Upgrade

    Upgrade apache/httpd to a version that resolves this vulnerability.

    Fixed in 2.4.66Patch CVE-2025-65082

Event History

Dec 5, 2025
CVE Published
via MITRE·10:46 AM
Data Sourced
via MITRE·10:46 AM
DescriptionWeakness
Data Sourced
via Red Hat·11:01 AM
DescriptionSeverityAffected Software
Data Sourced
via OSV·11:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·11:15 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
Severity
Dec 7, 2025
Data Sourced
via Microsoft·01:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:03 AM
Affected Software
Updated
via Microsoft·01:03 AM
Affected Software
Dec 10, 2025
Data Sourced
via NVD·04:39 PM
Affected Software
Mar 24, 2026
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Apr 2, 2026
Advisory Published
via F5·04:40 PM
Data Sourced
via F5·04:40 PM
DescriptionSeverityWeaknessAffected Software
Aug 19, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-65082?

CVE-2025-65082 is considered a medium-severity vulnerability affecting Apache HTTP Server.

2

How do I fix CVE-2025-65082?

To fix CVE-2025-65082, upgrade Apache HTTP Server to version 2.4.66 or later.

3

Which versions of Apache HTTP Server are affected by CVE-2025-65082?

CVE-2025-65082 affects Apache HTTP Server versions from 2.4.0 to 2.4.65.

4

What type of vulnerability is CVE-2025-65082?

CVE-2025-65082 is an improper neutralization of escape, meta, or control sequences vulnerability.

5

What impact does CVE-2025-65082 have on CGI programs?

CVE-2025-65082 can lead to unexpected behavior in CGI programs due to environment variables being incorrectly set.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203