Apache httpd allows remote attackers to read secret data from process memory if the Limit directive can be set in a user's .htaccess file, o
Apache httpd allows remote attackers to read secret data from process memory if the Limit directive can be set in a user's .htaccess file, or if httpd.conf has certain misconfigurations, aka Optionsbleed. This affects the Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27. The attacker sends an unauthenticated OPTIONS HTTP request when attempting to read secret data. This is a use-after-free issue and thus secret data is not always sent, and the specific data depends on many factors including configuration. Exploitation with .htaccess can be blocked with a patch to the ap_limit_section function in server/core.c.
- Published
- Sep 18, 2017
- Updated
- Jun 16, 2026
- EPSS
- 95.0% · 100th percentile
- CWE
- CWE-416
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
58
Plan
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 28 / 30 · 95.0%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| apache | http server | cpe:2.3:a:apache:http_server |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using http server? Add it to your stack and be the first to know about CVEs like this one. (Apache HTTP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache http serverup to 2.2.34 inclusive
- apache http server2.4.0
- apache http server2.4.1
- apache http server2.4.10
- apache http server2.4.12
- apache http server2.4.16
- apache http server2.4.17
- apache http server2.4.18
- apache http server2.4.2
- apache http server2.4.20
- apache http server2.4.23
- apache http server2.4.25
- apache http server2.4.26
- apache http server2.4.27
- apache http server2.4.3
- apache http server2.4.4
- apache http server2.4.6
- apache http server2.4.7
- apache http server2.4.9
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache HTTP Server
- Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | apache2 | before 2.4.27-r1 | 2.4.27-r1 |
| Debian:12 | apache2 | before 2.4.27-6 | 2.4.27-6 |
| Debian:7 | apache2 | before 2.2.22-13+deb7u12 | 2.2.22-13+deb7u12 |
| Debian:8 | apache2 | before 2.4.10-10+deb8u11 | 2.4.10-10+deb8u11 |
| Debian:9 | apache2 | before 2.4.25-3+deb9u3 | 2.4.25-3+deb9u3 |
| Red Hat:enterprise_linux:6::client | httpd | before 0:2.2.15-60.el6_9.6 | 0:2.2.15-60.el6_9.6 |
| Red Hat:enterprise_linux:6::client | httpd-debuginfo | before 0:2.2.15-60.el6_9.6 | 0:2.2.15-60.el6_9.6 |
| Red Hat:enterprise_linux:6::client | httpd-devel | before 0:2.2.15-60.el6_9.6 | 0:2.2.15-60.el6_9.6 |
| Red Hat:enterprise_linux:6::client | httpd-manual | before 0:2.2.15-60.el6_9.6 | 0:2.2.15-60.el6_9.6 |
| Red Hat:enterprise_linux:6::client | httpd-tools | before 0:2.2.15-60.el6_9.6 | 0:2.2.15-60.el6_9.6 |
| Red Hat:enterprise_linux:6::client | mod_ssl | before 1:2.2.15-60.el6_9.6 | 1:2.2.15-60.el6_9.6 |
| Red Hat:enterprise_linux:7::client | httpd | before 0:2.4.6-67.el7_4.5 | 0:2.4.6-67.el7_4.5 |
| Red Hat:enterprise_linux:7::client | httpd-debuginfo | before 0:2.4.6-67.el7_4.5 | 0:2.4.6-67.el7_4.5 |
| Red Hat:enterprise_linux:7::client | httpd-devel | before 0:2.4.6-67.el7_4.5 | 0:2.4.6-67.el7_4.5 |
| Red Hat:enterprise_linux:7::client | httpd-manual | before 0:2.4.6-67.el7_4.5 | 0:2.4.6-67.el7_4.5 |
| Red Hat:enterprise_linux:7::client | httpd-tools | before 0:2.4.6-67.el7_4.5 | 0:2.4.6-67.el7_4.5 |
| Red Hat:enterprise_linux:7::client | mod_ldap | before 0:2.4.6-67.el7_4.5 | 0:2.4.6-67.el7_4.5 |
| Red Hat:enterprise_linux:7::client | mod_proxy_html | before 1:2.4.6-67.el7_4.5 | 1:2.4.6-67.el7_4.5 |
| Red Hat:enterprise_linux:7::client | mod_session | before 0:2.4.6-67.el7_4.5 | 0:2.4.6-67.el7_4.5 |
| Red Hat:enterprise_linux:7::client | mod_ssl | before 1:2.4.6-67.el7_4.5 | 1:2.4.6-67.el7_4.5 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd | before 0:2.4.23-125.jbcs.el6 | 0:2.4.23-125.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-debuginfo | before 0:2.4.23-125.jbcs.el6 | 0:2.4.23-125.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-devel | before 0:2.4.23-125.jbcs.el6 | 0:2.4.23-125.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-libs | before 0:2.4.23-125.jbcs.el6 | 0:2.4.23-125.jbcs.el6 |
+96
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-42013Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)KEV99Now
- CVE-2021-41773Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49KEV99Now
- CVE-2024-38475Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.KEV96Now
- CVE-2019-0211In Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38, with MPM event, worker or prefork, code executing in less-privileged child processes orKEV81Now
- CVE-2021-44790Possible buffer overflow when parsing multipart content in mod_lua of Apache HTTP Server 2.4.51 and earlier68This week
- CVE-2010-0425modules/arch/win32/mod_isapi.c in mod_isapi in the Apache HTTP Server 2.0.37 through 2.0.63, 2.2.0 through 2.2.14, and 2.3.x before 2.3.7, w68This week
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:apache2 | 2.4.27-r1 · Alpine:v3.10 | Package registry (OSV) |
| debian:apache2 | 2.4.27-6 · Debian:12 | Package registry (OSV) |
| red hat:httpd | 0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-debuginfo | 0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-devel | 0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-manual | 0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-tools | 0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd24 | 0:1.1-18.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-httpd | 0:2.4.27-8.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:httpd24-httpd-debuginfo | 0:2.4.27-8.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:mod_ldap | 0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:mod_proxy_html | 1:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:mod_session | 0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:mod_ssl | 1:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:apache2 | 2.4.23-29.6.1 · SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×1
- Proof-of-concept repository on GitHub ×4
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | webapps | 2017-09-18 |
| Metasploit module | auxiliary/scanner/http/apache_optionsbleedApache Optionsbleed Scannerauxiliary | 2017-09-18 |
| Proof-of-concept repository on GitHub | stars:3 | 2017-09-18 |
| Proof-of-concept repository on GitHub | stars:2 | 2017-09-20 |
| Proof-of-concept repository on GitHub | stars:0 | 2017-09-24 |
| Proof-of-concept repository on GitHub | stars:19 | 2017-09-27 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoCsame day
- Metasploitsame day
- Published
- TodaySep 30, 2026+3299 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);Fixed
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- openwall.com/lists/oss-security/2017/09/18/2
- www.debian.org/security/2017/dsa-3980
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- www.securityfocus.com/bid/100872
- www.securityfocus.com/bid/105598
- www.securitytracker.com/id/1039387
- access.redhat.com/errata/RHSA-2017:2882
- access.redhat.com/errata/RHSA-2017:2972
- access.redhat.com/errata/RHSA-2017:3018
- access.redhat.com/errata/RHSA-2017:3113
- access.redhat.com/errata/RHSA-2017:3114
- access.redhat.com/errata/RHSA-2017:3193
- access.redhat.com/errata/RHSA-2017:3194
- access.redhat.com/errata/RHSA-2017:3195
- access.redhat.com/errata/RHSA-2017:3239
- access.redhat.com/errata/RHSA-2017:3240
- access.redhat.com/errata/RHSA-2017:3475
Vendor advisories and official records. Exploit/PoC links are deliberately left out.