CVE-2017-9798
CVE-2017-9798 — 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…
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 Updated Sources: NVD, Apache Software Foundation (CNA), GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX)
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
95%
chance of exploitation in 30 days
CVSS base
7.5
high · 3 sources
Remediation
The vendor's own words where we have them.
Upgrade Apache HTTP Server to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
Red Hat VEX · CVE-2017-9798
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated pac…
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated pac…
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated pac…
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Apache HTTP Server | Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
None
Confidentiality
High
Integrity
None
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | high | 3.9 | 3.6 | NVD, GHSA |
| 5.0 | CVSS 2.0 | medium | 10 | 2.9 | NVD |
| 5.9 | CVSS 3.1 | medium | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness & attack patterns
- CWE-416Use After Free
Inferred from the weakness class — not observed against this CVE.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
79
1 of the 5 sampled are weaponized
Exploit entries
1
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /core.c.
- Prioritize edge telemetry for network-reachable Apache HTTP Server.
- Monitor for scanner or exploit-pattern traffic after 80 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 7.5 (AV:N)
Jun 17, 2026 · NVD
- 2022
Added · GHSA-jxf6-fx3m-8x2r published (high)
May 13, 2022 · GitHub Security Advisory
- 2017
Initial · CVE published
Sep 18, 2017 · NVD
Added · webapps entry: Apache <= 2.2.34 / <= 2.4.27 - 'Optionsbleed' OPTIONS Memory Leak
Sep 18, 2017 · Exploit-DB
References
79 on the record
- openwall.com/lists/oss-security/2017/09/18/2
Mailing List, VDB Entry
- www.debian.org/security/2017/dsa-3980
Third Party Advisory
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
Patch, Third Party Advisory
- www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
Patch, Third Party Advisory
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
Patch, Third Party Advisory
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
Patch, Third Party Advisory
- www.securityfocus.com/bid/100872
Third Party Advisory, VDB Entry
- www.securityfocus.com/bid/105598
Third Party Advisory, VDB Entry
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2021-42013 Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)CVSS 9.8 · CISA KEV
- CVE-2021-41773 Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49CVSS 9.8 · CISA KEV
- CVE-2024-38475 Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.CVSS 9.1 · CISA KEV
- CVE-2021-40438 mod_proxy SSRFCVSS 9.0 · CISA KEV
- CVE-2021-44790 Possible buffer overflow when parsing multipart content in mod_lua of Apache HTTP Server 2.4.51 and earlierCVSS 9.8
- CVE-2026-119618 Apache HTTP Server: mod_http2: heap corruption and RCE in assign_headersCVSS 8.1
Elsewhere on this site
- Apacheevery CVE for this vendor
- Apache HTTP Serverevery page on this product
- Memory Corruptionsame class
- CWE-416other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2017-9798 is 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…, a high vulnerability affecting Apache HTTP Server from Apache Software Foundation. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 80 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.5 describes technical severity, while EPSS 95% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.