Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-9798
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:16 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-9798
Complete source record
{
"id": "d640e737940eb33cc0dafe112bf4b497183a3a166a00c7a3491d83b42b0588ca",
"url": "https://osv.dev/vulnerability/CVE-2017-9798",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-9798",
"summary": "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.",
"evidence": "osv:CVE-2017-9798",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-9798",
"aliases": [
"CVE-2017-9798"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/httpd",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "20f69339127309ea2cfaf446458ba236fac55c44"
},
{
"introduced": "da5873e80d6eee7a0838793bf68f1d0254745fbb"
},
{
"last_affected": "b898ce7c11834c1ca9bcff7aa85f9d42ee254d26"
},
{
"fixed": "4cc27823899e070268b906ca677ee838d07cf67a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.2.34"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.0"
},
{
"last_affected": "2.4.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.1"
},
{
"last_affected": "2.4.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.2"
},
{
"last_affected": "2.4.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.3"
},
{
"last_affected": "2.4.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.4"
},
{
"last_affected": "2.4.4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.6"
},
{
"last_affected": "2.4.6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.7"
},
{
"last_affected": "2.4.7"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.9"
},
{
"last_affected": "2.4.9"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.10:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.10"
},
{
"last_affected": "2.4.10"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.12:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.12"
},
{
"last_affected": "2.4.12"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.16:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.16"
},
{
"last_affected": "2.4.16"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.17:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.17"
},
{
"last_affected": "2.4.17"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.18:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.18"
},
{
"last_affected": "2.4.18"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.20:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.20"
},
{
"last_affected": "2.4.20"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.23:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.23"
},
{
"last_affected": "2.4.23"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.25:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.25"
},
{
"last_affected": "2.4.25"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.26:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.26"
},
{
"last_affected": "2.4.26"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:http_server:2.4.27:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.27"
},
{
"last_affected": "2.4.27"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "4cc27823899e070268b906ca677ee838d07cf67a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.4.0",
"2.4.1",
"2.4.10",
"2.4.12",
"2.4.16",
"2.4.17",
"2.4.18",
"2.4.2",
"2.4.20",
"2.4.23",
"2.4.25",
"2.4.26",
"2.4.27",
"2.4.3",
"2.4.4",
"2.4.6",
"2.4.7",
"2.4.9",
"2.2.34"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9798.json",
"vanir_signatures": [
{
"id": "CVE-2017-9798-0a974cf5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"337930894629450298360500448490856449586",
"334238999121930181298105580911244496304",
"300895380359070361487039173856001052716"
]
},
"source": "https://github.com/apache/httpd/commit/4cc27823899e070268b906ca677ee838d07cf67a",
"target": {
"file": "server/core.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2017-9798-1e2664d9",
"digest": {
"length": 1215,
"function_hash": "180929579706800769125734275403264802048"
},
"source": "https://github.com/apache/httpd/commit/4cc27823899e070268b906ca677ee838d07cf67a",
"target": {
"file": "server/core.c",
"function": "ap_limit_section"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:25:05Z"
}
}
],
"modified": "2026-10-20T13:25:05.022137590Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/56c2e7cc9deb1c12a843d0dc251ea7fd3e7e80293cde02fcd65286ba%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/84a3714f0878781f6ed84473d1a503d2cc382277e100450209231830%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/8d63cb8e9100f28a99429b4328e4e7cebce861d5772ac9863ba2ae6f%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/f7f95ac1cd9895db2714fa3ebaa0b94d0c6df360f742a40951384a53%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/r15f9aa4427581a1aecb4063f1b4b983511ae1c9935e2a0a6876dad3c%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/r57608dc51b79102f3952ae06f54d5277b649c86d6533dcd6a7d201f7%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/r6521a7f62276340eabdb3339b2aa9a38c5f59d978497a1f794af53be%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/r75cbe9ea3e2114e4271bbeca7aff96117b50c1b6eb7c4772b0337c1f%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/r9ea3538f229874c80a10af473856a81fbf5f694cd7f471cc679ba70b%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/rc998b18880df98bafaade071346690c2bc1444adaa1a1ea464b93f0a%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/rcc44594d4d6579b90deccd4536b5d31f099ef563df39b094be286b9e%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/rd18c3c43602e66f9cdcf09f1de233804975b9572b0456cc582390b6f%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/rdca61ae990660bacb682295f2a09d34612b7bb5f457577fe17f4d064%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/re3d27b6250aa8548b8845d314bb8a350b3df326cacbbfdfe4d455234%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/rfbaf647d52c1cb843e726a0933f156366a806cead84fbd430951591b%40%3Ccvs.httpd.apache.org%3E",
"https://lists.apache.org/thread.html/rfcf929bd33a6833e3f0c35eebdad70d5060665f9c4e17ea467c66770%40%3Ccvs.httpd.apache.org%3E",
"https://access.redhat.com/errata/RHSA-2017:2882",
"https://access.redhat.com/errata/RHSA-2017:2972",
"https://access.redhat.com/errata/RHSA-2017:3018",
"https://access.redhat.com/errata/RHSA-2017:3113",
"https://access.redhat.com/errata/RHSA-2017:3114",
"https://access.redhat.com/errata/RHSA-2017:3193",
"https://access.redhat.com/errata/RHSA-2017:3194",
"https://access.redhat.com/errata/RHSA-2017:3195",
"https://access.redhat.com/errata/RHSA-2017:3239",
"https://access.redhat.com/errata/RHSA-2017:3240",
"https://access.redhat.com/errata/RHSA-2017:3475",
"https://access.redhat.com/errata/RHSA-2017:3476",
"https://access.redhat.com/errata/RHSA-2017:3477",
"https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2017-9798",
"https://security-tracker.debian.org/tracker/CVE-2017-9798",
"https://security.gentoo.org/glsa/201710-32",
"https://security.netapp.com/advisory/ntap-20180601-0003/",
"https://support.apple.com/HT208331",
"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03909en_us",
"https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/server/core.c?r1=1805223&r2=1807754&pathrev=1807754&view=patch",
"https://www.tenable.com/security/tns-2019-09",
"https://blog.fuzzing-project.org/60-Optionsbleed-HTTP-OPTIONS-method-can-leak-Apaches-server-memory.html",
"https://blog.fuzzing-project.org/uploads/apache-2.2-optionsbleed-backport.patch",
"https://github.com/apache/httpd/commit/4cc27823899e070268b906ca677ee838d07cf67a",
"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html",
"https://github.com/hannob/optionsbleed",
"https://www.exploit-db.com/exploits/42745/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
},
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-9798",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387652,
"published_at": "2017-09-18T15:29:00.307+00:00"
}