CVE-2007-2446 in Samba
Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary code via crafted MS-RPC requests involving (1) DFSEnum (netdfs_io_dfs_EnumInfo_d), (2) RFNPCNEX (smb_io_notify_option_type_data), (3) LsarAddPrivilegesToAccount (lsa_io_privile...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Samba | Samba | 3.0.0 3.0.1 3.0.2 3.0.2a 3.0.10 3.0.11+24 more3.0.12 3.0.13 3.0.14 3.0.14a 3.0.15 3.0.16 3.0.17 3.0.18 3.0.19 3.0.20 3.0.20a 3.0.20b 3.0.21 3.0.21a 3.0.21b 3.0.21c 3.0.22 3.0.23 3.0.23a 3.0.23b 3.0.23c 3.0.23d 3.0.24 3.0.25 |
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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary code via crafted MS-RPC requests involving (1) DFSEnum (netdfs_io_dfs_EnumInfo_d), (2) RFNPCNEX (smb_io_notify_option_type_data), (3) LsarAddPrivilegesToAccount (lsa_io_privilege_set), (4) NetSetFileSecurity (sec_io_acl), or (5) LsarLookupSids/LsarLookupSids2 (lsa_io_trans_names).
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-2446 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-159214-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2007-05-14 |
| 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
Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary code via crafted MS-RPC requests.
The vulnerability is exploited through crafted MS-RPC requests involving specific functions such as DFSEnum, RFNPCNEX, LsarAddPrivilegesToAccount, NetSetFileSecurity, or LsarLookupSids/LsarLookupSids2.
Questions
What is CVE-2007-2446?
Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary code via crafted MS-RPC requests.
What is the CVSS score for CVE-2007-2446?
CVE-2007-2446 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 77.7%.
Is CVE-2007-2446 actively exploited?
Public exploit available for CVE-2007-2446. Exploitation risk elevated.
How do I remediate CVE-2007-2446?
Priority: IMMEDIATE. Advisory: http://www.samba.org/samba/security/CVE-2007-2446.html
What systems are affected by CVE-2007-2446?
CVE-2007-2446 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-06-16.