Integer overflow in the ap_pregsub function in server/util.c in the Apache HTTP Server 2.0.x through 2.0.64 and 2.2.x through 2.2.21, when the mod_setenvif module is enabled, allows local users to gain privileges via a .htaccess file with a crafted SetEnvIf directive, in conjunction with a crafted HTTP request header, leading to a heap-based buffer overflow.
Severity
Medium 4.4
Published
8 Nov 2011
Last changed
16 Jun 2026
Added to UpHeron
17 Oct 2026
Exploit chance
4.9% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026