CVE-2009-1886 in Samba
Multiple format string vulnerabilities in client/client.c in smbclient in Samba 3.2.0 through 3.2.12 might allow context-dependent attackers to execute arbitrary code via format string specifiers in a filename.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Samba | Samba | 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5+7 more3.2.6 3.2.7 3.2.8 3.2.9 3.2.10 3.2.11 3.2.12 |
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
Multiple format string vulnerabilities in client/client.c in smbclient in Samba 3.2.0 through 3.2.12 might allow context-dependent attackers to execute arbitrary code via format string specifiers in a filename.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2009-1886 |
|---|---|
| BreachSpider ID | BS-2009-GLOBAL-083258-C |
| CVSS vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| Published | 2009-06-25 |
| Last modified | 2026-04-23 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-134: CWE-134
Related attack patterns (CAPEC)
CAPEC-67 String Format Overflow in syslog() via CWE-134
CAPEC-135 Format String Injection via CWE-134
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Multiple format string vulnerabilities in smbclient in Samba 3.2.0 through 3.2.12 could allow attackers to execute arbitrary code via format string specifiers in a filename.
The vulnerability is triggered by format string specifiers in a filename, which can be manipulated by an attacker to execute arbitrary code in the context of the smbclient process.
Questions
What is CVE-2009-1886?
Multiple format string vulnerabilities in smbclient in Samba 3.2.0 through 3.2.12 could allow attackers to execute arbitrary code via format string specifiers in a filename.
What is the CVSS score for CVE-2009-1886?
CVE-2009-1886 has CVSS 9.3 (Critical). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. EPSS: 12.2%.
Is CVE-2009-1886 actively exploited?
Public exploit available for CVE-2009-1886. Exploitation risk elevated.
How do I remediate CVE-2009-1886?
Priority: IMMEDIATE. Advisory: http://www.samba.org/samba/ftp/patches/security/samba-3.2.12-CVE-2009-1886.patch PSIRT: [email protected]
What systems are affected by CVE-2009-1886?
CVE-2009-1886 affects Samba Samba.
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":"Samba","product":"Samba","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-04-23.