Off-by-one buffer overflow in the ssl_compat_directive function, as called by the rewrite_command hook for mod_ssl Apache module 2.8.9 and earlier, allows local users to execute arbitrary code as the Apache server user via .htaccess files with long entries.
CVE-2002-0653
This high-severity CVE scores 7.8 under NVD CVSS v3. EPSS exploit probability: 1.0%, top 22% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EPSS
- 61.8%
- KEV
- Not listed
Published
July 11, 2002
Last Modified
June 16, 2026
Advisory Details (4)
Auto-updated May 31, 2026'[ESA-20020702-017] off-by-one in mod_ssl's configuration directive' - MARC
http://marc.info/?l=bugtraq&m=102563469326072&w=2'Apache mod_ssl off-by-one vulnerability' - MARC
http://marc.info/?l=bugtraq&m=102513970919836&w=2Patch Availability(6)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | patch | 2003-04-22 | redhat |
| redhat | patch | 2002-08-01 | redhat |
| redhat | patch | 2002-07-31 | redhat |
| redhat | patch | 2002-07-24 | redhat |
| redhat | patch | 2002-07-16 | redhat |
| redhat | patch | 2002-07-16 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(6)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2002:134MODERATE2002-06-24
RHSA-2002:134 — Moderate
- Red HatRHSA-2002:135MODERATE2002-06-24
RHSA-2002:135 — Moderate
- Red HatRHSA-2002:136MODERATE2002-06-24
RHSA-2002:136 — Moderate
- Red HatRHSA-2002:146MODERATE2002-06-24
RHSA-2002:146 — Moderate
- Red HatRHSA-2002:164MODERATE2002-06-24
RHSA-2002:164 — Moderate
- Red HatRHSA-2003:106MODERATE2002-06-24
RHSA-2003:106 — Moderate
Data Freshness Timeline
(refreshed 2× in last 7d / 17× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-08 15:08 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 14:02 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-24 14:01 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:07 UTCEPSS rescore
- 2026-06-11 13:55 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:13 UTCEPSS rescore
- 2026-06-07 15:21 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
Show 29 moreShow fewer
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:48 UTCEPSS rescore
- 2026-05-31 22:27 UTCEPSS rescore
- 2026-05-31 19:19 UTCEG score recompute
- 2026-05-31 19:19 UTCVendor advisory
- 2026-05-31 19:19 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-21 22:38 UTCEPSS rescore
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-21575✓ verifiedFirst seen Jun 22, 2002
Apache mod_ssl 2.8.x - Off-by-One HTAccess Buffer Overflow
Open source ↗
Frequently asked(5)
What is CVE-2002-0653?
When was CVE-2002-0653 disclosed?
Is CVE-2002-0653 actively exploited?
What is the CVSS score of CVE-2002-0653?
How do I remediate CVE-2002-0653?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2002-0653
Is Your Infrastructure Affected by CVE-2002-0653?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.