Off-by-one error in the ldap scheme handling in the Rewrite module (mod_rewrite) in Apache 1.3 from 1.3.28, 2.0.46 and other versions before 2.0.59, and 2.2, when RewriteEngine is enabled, allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted URLs that are not properly handled using certain rewrite rules.
CVE-2006-3747
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 7.6 — v2 rates that HIGH (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:H/Au:N/C:C/I:C/A:C. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 96.4% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- 7 internet-exposed hosts are running an affected version right now
- High exploitation likelihood — EPSS 97%
- Public exploit code is available (Metasploit, Exploit-DB (verified), epss top5pct, epss high, public exploit)
A fix is available — apply it.
7 internet-exposed hosts are running an affected version of CVE-2006-3747 right now.
EchelonGraph is the only CVE feed that fuses live vulnerability intelligence with its own live internet-exposure radar — so you see not just that a CVE is exploited, but how much of the internet is exposed to it right now.
- CVSS v2.0 (legacy)
- 7.6HIGHNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 7.6(low)
- EG Risk
- 77(Track)EG Risk 77/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity76% × 45%Exploitation96% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 97%
- EPSS %ILE
- 100%
- KEV
- Not listed
Published
July 28, 2006
Last Modified
April 16, 2026
References (180)
- secalert@redhathttp://docs.info.apple.com/article.html?artnum=307562
- secalert@redhathttp://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01118771
- secalert@redhathttp://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01428449
- secalert@redhathttp://kbase.redhat.com/faq/FAQ_68_8653.shtm
- secalert@redhathttp://lists.apple.com/archives/security-announce/2008//May/msg00001.html
- secalert@redhathttp://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- secalert@redhathttp://lists.grok.org.uk/pipermail/full-disclosure/2006-July/048267.html
- secalert@redhathttp://lists.grok.org.uk/pipermail/full-disclosure/2006-July/048271.html
- secalert@redhathttp://lwn.net/Alerts/194228/
- secalert@redhathttp://marc.info/?l=bugtraq&m=130497311408250&w=2
- secalert@redhathttp://secunia.com/advisories/21197
- secalert@redhathttp://secunia.com/advisories/21241
- secalert@redhathttp://secunia.com/advisories/21245
- secalert@redhathttp://secunia.com/advisories/21247
- secalert@redhathttp://secunia.com/advisories/21266
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | apache2-mpm-threadpool (2.0.54-5ubuntu4.1) @ breezy | 2026-07-23 | ubuntu |
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.
Affected Packages
(6 across 5 ecosystems)
Debian:3.1(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache | 1.3.33-6, 1.3.33-6sarge1 | 1.3.33-6sarge2 | — |
| apache2 | 2.0.54-4, 2.0.54-5 | 2.0.54-5sarge1 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache2 | — | 2.0.55-4.1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache2 | — | 2.0.55-4.1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache2 | — | 2.0.55-4.1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache2 | — | 2.0.55-4.1 | — |
All Vendor Advisories
(1)
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.
Data Freshness Timeline
(refreshed 1× in last 7d / 2× 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-09-05 15:21 UTCEPSS rescore
- 2026-08-24 11:12 UTCOSV refresh
- 2026-08-08 07:26 UTCOSV refresh
- 2026-07-26 13:29 UTCEG score recompute▲ 7.60
- 2026-07-23 00:51 UTCEG score recompute
- 2026-07-23 00:39 UTCVendor advisory
- 2026-07-23 00:39 UTCGHSA enrichment
- 2026-07-23 00:36 UTCVendor advisory
- 2026-07-23 00:36 UTCGHSA enrichment
- 2026-07-23 00:36 UTCVendor advisory
- 2026-07-23 00:36 UTCGHSA enrichment
- 2026-07-23 00:34 UTCVendor advisory
- 2026-07-23 00:34 UTCGHSA enrichment
- 2026-07-23 00:33 UTCVendor advisory
- 2026-07-23 00:33 UTCGHSA enrichment
- 2026-07-23 00:33 UTCVendor advisory
- 2026-07-23 00:32 UTCGHSA enrichment
- 2026-07-23 00:30 UTCGHSA enrichment
- 2026-07-23 00:30 UTCEG score recompute▼ 9.00
- 2026-07-22 23:55 UTCEG score recompute
- 2026-07-22 21:35 UTCEG score recompute
- 2026-07-09 19:03 UTCEPSS rescore
- 2026-07-08 20:39 UTCOSV refresh
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
Show 27 moreShow fewer
- 2026-06-24 14:01 UTCEPSS rescore
- 2026-06-24 14:01 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-20 08:12 UTCOSV refresh
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-07 15:21 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-05-31 07:27 UTCEG score recompute
- 2026-05-31 07:27 UTCVendor advisory
- 2026-05-31 07:27 UTCGHSA enrichment
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-24 16:42 UTCOSV refresh
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(6 references)Working exploit code is in the public domain (1 Metasploit module) (1 GitHub PoC) (4 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCdefensahacker/CVE-2006-3747First seen Nov 26, 2016
Information about my advisory on CVE-2006-3747 (Apache mod_rewrite LDAP off-by-one buffer overflow).. At the time, it was the first public working exploit :)
Open source ↗ - Exploit-DBEDB-16752✓ verifiedFirst seen Feb 15, 2010
Apache mod_rewrite - LDAP protocol Buffer Overflow (Metasploit)
Open source ↗ - Exploit-DBEDB-3996✓ verifiedFirst seen May 26, 2007
Apache 2.0.58 mod_rewrite (Windows 2003) - Remote Overflow
Open source ↗ - Exploit-DBEDB-3680✓ verifiedFirst seen Apr 7, 2007
Apache mod_rewrite (Windows x86) - Off-by-One Remote Overflow
Open source ↗ - Exploit-DBEDB-2237✓ verifiedFirst seen Aug 21, 2006
Apache < 1.3.37/2.0.59/2.2.3 mod_rewrite - Remote Overflow
Open source ↗ - Metasploitexploit/windows/http/apache_mod_rewrite_ldap✓ verifiedFirst seen Jul 28, 2006
Apache Module mod_rewrite LDAP Protocol Buffer Overflow
Open source ↗
Frequently asked(4)
What is CVE-2006-3747?
When was CVE-2006-3747 disclosed?
Is CVE-2006-3747 actively exploited?
How do I remediate CVE-2006-3747?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2006-3747
Is Your Infrastructure Affected by CVE-2006-3747?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.