httpd: ap_pregsub Integer overflow to buffer overflow
Published Nov 8, 2011
4.4
MEDIUMCVSS 2.0
EPSS 4.72%
Description
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.
Affected products
No data.
Configuration 1
- 2.0
- 2.0.9
- 2.0.28
- 2.0.28
- 2.0.32
- 2.0.32
- 2.0.34
- 2.0.35
- 2.0.36
- 2.0.37
- 2.0.38
- 2.0.39
- 2.0.40
- 2.0.41
- 2.0.42
- 2.0.43
- 2.0.44
- 2.0.45
- 2.0.46
- 2.0.47
- 2.0.48
- 2.0.49
- 2.0.50
- 2.0.51
- 2.0.52
- 2.0.53
- 2.0.54
- 2.0.55
- 2.0.56
- 2.0.57
- 2.0.58
- 2.0.59
- 2.0.60
- 2.0.61
- 2.0.63
- 2.0.64
Configuration 2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.2.6
- 2.2.8
- 2.2.9
- 2.2.10
- 2.2.11
- 2.2.12
- 2.2.13
- 2.2.14
- 2.2.15
- 2.2.16
- 2.2.18
- 2.2.19
- 2.2.20
- 2.2.21
No data.
Red Hat Enterprise Linux 5
httpd-0:2.2.3-63.el5_8.1
Fixed · RHSA-2012:0323
Red Hat Enterprise Linux 6
httpd-0:2.2.15-15.el6_2.1
Fixed · RHSA-2012:0128
Red Hat JBoss Enterprise Web Server 1 for RHEL 5
httpd-0:2.2.17-15.4.ep5.el5
Fixed · RHSA-2012:0542
Red Hat JBoss Enterprise Web Server 1 for RHEL 6
httpd-0:2.2.17-15.4.ep5.el6
Fixed · RHSA-2012:0542
Red Hat JBoss Web Server 1.0
n/a
Fixed · RHSA-2012:0543
Red Hat Directory Server 8
httpd
Will not fix
Red Hat Enterprise Linux 4
httpd
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | httpd-0:2.2.3-63.el5_8.1 | Fixed | RHSA-2012:0323 |
| Red Hat Enterprise Linux 6 | httpd-0:2.2.15-15.el6_2.1 | Fixed | RHSA-2012:0128 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | httpd-0:2.2.17-15.4.ep5.el5 | Fixed | RHSA-2012:0542 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 6 | httpd-0:2.2.17-15.4.ep5.el6 | Fixed | RHSA-2012:0542 |
| Red Hat JBoss Web Server 1.0 | n/a | Fixed | RHSA-2012:0543 |
| Red Hat Directory Server 8 | httpd | Will not fix | n/a |
| Red Hat Enterprise Linux 4 | httpd | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.72% (0.04719) | 91.55th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.89% (0.04892) | 90.92th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.39% (0.00391) | 58.06th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.06% (0.00062) | 28.39th | v3 (v2023.03.01) |
| Jun 12, 2024 | 0.06% (0.00062) | 26.40th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00062) | 24.37th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.05% (0.03052) | 83.71th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.05% (0.03052) | 82.04th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.05% (0.03052) | 64.53th | v2 (v2022.01.01) |
References (52)
- http://archives.neohapsis.com/archives/fulldisclosure/2011-11/0023.html mailing-listx_refsource_FULLDISC
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041 vendor-advisoryx_refsource_HP
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html vendor-advisoryx_refsource_APPLE
- http://marc.info/?l=bugtraq&m=133294460209056&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=133494237717847&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=134987041210674&w=2 vendor-advisoryx_refsource_HP
- http://rhn.redhat.com/errata/RHSA-2012-0128.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2012-0542.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2012-0543.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/45793 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/48551 third-party-advisoryx_refsource_SECUNIA
- http://securitytracker.com/id?1026267 vdb-entryx_refsource_SECTRACK
- http://support.apple.com/kb/HT5501 x_refsource_CONFIRM
- http://www.debian.org/security/2012/dsa-2405 vendor-advisoryx_refsource_DEBIAN
- http://www.fujitsu.com/global/support/software/security/products-f/interstage-201303e.html x_refsource_CONFIRM
- http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/ x_refsource_MISCExploit
- http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/DemoExploit.html x_refsource_MISCExploit
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:003 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 vendor-advisoryx_refsource_MANDRIVA
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/cpujul2012-392727.html x_refsource_CONFIRM
- http://www.osvdb.org/76744 vdb-entryx_refsource_OSVDB
- http://www.securityfocus.com/bid/50494 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2011-3607 Vendor Advisory
- https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/811422 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=750935 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=769844 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71093 vdb-entryx_refsource_XF
- https://lists.apache.org/thread.html/54a42d4b01968df1117cea77fc53d6beb931c0e05936ad02af93e9ac%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/5df9bfb86a3b054bb985a45ff9250b0332c9ecc181eec232489e7f79%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/8d63cb8e9100f28a99429b4328e4e7cebce861d5772ac9863ba2ae6f%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/f7f95ac1cd9895db2714fa3ebaa0b94d0c6df360f742a40951384a53%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r0276683d8e1e07153fc8642618830ac0ade85b9ae0dc7b07f63bb8fc%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r1d201e3da31a2c8aa870c8314623caef7debd74a13d0f25205e26f15%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r2cb985de917e7da0848c440535f65a247754db8b2154a10089e4247b%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r476d175be0aaf4a17680ef98c5153b4d336eaef76fb2224cc94c463a%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r57608dc51b79102f3952ae06f54d5277b649c86d6533dcd6a7d201f7%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r5f9c22f9c28adbd9f00556059edc7b03a5d5bb71d4bb80257c0d34e4%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r688df6f16f141e966a0a47f817e559312b3da27886f59116a94b273d%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r75cbe9ea3e2114e4271bbeca7aff96117b50c1b6eb7c4772b0337c1f%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r8828e649175df56f1f9e3919938ac7826128525426e2748f0ab62feb%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r9e8622254184645bc963a1d47c5d47f6d5a36d6f080d8d2c43b2b142%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r9ea3538f229874c80a10af473856a81fbf5f694cd7f471cc679ba70b%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rad01d817195e6cc871cb1d73b207ca326379a20a6e7f30febaf56d24%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rb9c9f42dafa25d2f669dac2a536a03f2575bc5ec1be6f480618aee10%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rdca61ae990660bacb682295f2a09d34612b7bb5f457577fe17f4d064%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/re2e23465bbdb17ffe109d21b4f192e6b58221cd7aa8797d530b4cd75%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rfbaf647d52c1cb843e726a0933f156366a806cead84fbd430951591b%40%3Ccvs.httpd.apache.org%3E mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2011-3607
- https://www.cve.org/CVERecord?id=CVE-2011-3607
Change history (0)
No recorded changes yet.