Skip to content

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

MediumCVSS 6.5 EPSS 0.87%
Published
Updated
Exploit status
No public exploit known
Technology
Apache HTTP ServerUbuntuDebianRed Hat

Description

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.

This issue affects Apache HTTP Server from 2.4.0 through 2.4.65.

Users are recommended to upgrade to version 2.4.66 which fixes the issue.

Affected products

ProductAffected versionsFixed 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 42 more
ProductAffected versionsFixed 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.0, <= 2.4.65 No fix listed
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:2.4-8100020251212173309.489197e6(Red Hat:enterprise_linux: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/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
redhat/httpd(Red Hat:rhel_els:6) All versions No fix listed
redhat/httpd(Red Hat:rhel_els:7) All versions No fix listed
redhat/httpd(Red Hat:jboss_core_services:1) All versions No fix listed
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
Apache HTTP Server >= 2.4.0, < 2.4.66 2.4.66

References