CVE-2006-6652 in Apple Mac Os X and 1 more product
Buffer overflow in the glob implementation (glob.c) in libc in NetBSD-current before 20050914, NetBSD 2.* and 3.* before 20061203, and Apple Mac OS X before 2007-004, as used by the FTP daemon and tnftpd, allows remote authenticated users to execute arbitrary code via a long pathname that results from path expansion.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Mac Os X | 10.0 10.0.1 10.0.2 10.0.3 10.0.4 10.1+35 more10.1.1 10.1.2 10.1.3 10.1.4 10.1.5 10.2 10.2.1 10.2.2 10.2.3 10.2.4 10.2.5 10.2.6 10.2.7 10.2.8 10.3 10.3.1 10.3.2 10.3.3 10.3.4 10.3.5 10.3.6 10.3.7 10.3.8 10.3.9 10.4 10.4.1 10.4.2 10.4.3 10.4.4 10.4.5 10.4.6 10.4.7 10.4.8 10.4.9 10.4.10 |
| Netbsd | Netbsd | 2.0 2.1 3.0 3.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Buffer overflow in the glob implementation (glob.c) in libc in NetBSD-current before 20050914, NetBSD 2.* and 3.* before 20061203, and Apple Mac OS X before 2007-004, as used by the FTP daemon and tnftpd, allows remote authenticated users to execute arbitrary code via a long pathname that results from path expansion.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2006-6652 |
|---|---|
| BreachSpider ID | BS-2006-GLOBAL-188133-C |
| CVSS vector | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| Published | 2006-12-20 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-119: Improper Restriction of Operations within Memory Buffer
Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.
Related attack patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call via CWE-119
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-119
CAPEC-10 Buffer Overflow via Environment Variables via CWE-119
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-119
CAPEC-24 Filter Failure through Buffer Overflow via CWE-119
Show all 12
CAPEC-42 MIME Conversion via CWE-119
CAPEC-44 Overflow Binary Resource File via CWE-119
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-119
CAPEC-46 Overflow Variables and Tags via CWE-119
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-119
CAPEC-100 Overflow Buffers via CWE-119
CAPEC-123 Buffer Manipulation via CWE-119
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability exists in the glob implementation within the libc library of NetBSD and Apple Mac OS X, affecting versions prior to specified dates. This flaw can be exploited by remote authenticated users to execute arbitrary code through a crafted long pathname.
The vulnerability is triggered by a long pathname that results from path expansion, which overflows a buffer in the glob implementation. This can lead to arbitrary code execution if an attacker can provide a specially crafted pathname to the affected services.
Questions
What is CVE-2006-6652?
A buffer overflow vulnerability exists in the glob implementation within the libc library of NetBSD and Apple Mac OS X, affecting versions prior to specified dates. This flaw can be exploited by remote authenticated users to execute arbitrary code through a crafted long pathname.
What is the CVSS score for CVE-2006-6652?
CVE-2006-6652 has CVSS 9.0 (Critical). Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C. EPSS: 21.2%.
Is CVE-2006-6652 actively exploited?
Public exploit available for CVE-2006-6652. Exploitation risk elevated.
How do I remediate CVE-2006-6652?
Priority: IMMEDIATE. Advisory: http://lists.apple.com/archives/Security-announce/2007/Apr/msg00001.html PSIRT: [email protected]
What systems are affected by CVE-2006-6652?
CVE-2006-6652 affects Apple Mac Os X; Netbsd Netbsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Mac Os X","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.