CVE-2007-4138: The Winbind nss_info extension (nsswitch/idmap_ad.c) in idmap_ad.so in Samba 3.0.25 through 3.0.25c, when the "winbind nss info" option is…
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.72% (FIRST EPSS); higher than 54.6% of all records.
- Fixed version: samba (Debian:12) 3.0.26-1; cifs-utils (openSUSE:Tumbleweed) 6.13-1.3; samba (openSUSE:Tumbleweed) 4.14.6+git.182.2205d5224e3-1.1.
Low priority for now. Upgrade to samba (Debian:12) 3.0.26-1; cifs-utils (openSUSE:Tumbleweed) 6.13-1.3; samba (openSUSE:Tumbleweed) 4.14.6+git.182.2205d5224e3-1.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The Winbind nss_info extension (nsswitch/idmap_ad.c) in idmap_ad.so in Samba 3.0.25 through 3.0.25c, when the "winbind nss info" option is set to rfc2307 or sfu, grants all local users the privileges of gid 0 when the (1) RFC2307 or (2) Services for UNIX (SFU) primary group attribute is not defined.
- Published
- Sep 13, 2007
- Updated
- Jun 16, 2026
- EPSS
- 0.7% · 54th percentile
- CWE
- CWE-264
Report tools
Action score
27
Low priority for now.
- CVSS
- 27 / 40 · 6.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- samba samba3.0.25
- samba samba3.0.25a
- samba samba3.0.25b
- samba samba3.0.25c
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | samba | before 3.0.26-1 | 3.0.26-1 |
| openSUSE:Tumbleweed | cifs-utils | before 6.13-1.3 | 6.13-1.3 |
| openSUSE:Tumbleweed | samba | before 4.14.6+git.182.2205d5224e3-1.1 | 4.14.6+git.182.2205d5224e3-1.1 |
| Red Hat:enterprise_linux:4::as | samba | before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
| Red Hat:enterprise_linux:4::as | samba-client | before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
| Red Hat:enterprise_linux:4::as | samba-common | before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
| Red Hat:enterprise_linux:4::as | samba-debuginfo | before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
| Red Hat:enterprise_linux:4::as | samba-swat | before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
| Red Hat:enterprise_linux:5::client | samba | before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
| Red Hat:enterprise_linux:5::client | samba-client | before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
| Red Hat:enterprise_linux:5::client | samba-common | before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
| Red Hat:enterprise_linux:5::client | samba-debuginfo | before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
| Red Hat:enterprise_linux:5::client | samba-swat | before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious…KEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x…66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1…66This week
Published before and after this one in the same product
- ← EarlierCVE-2007-2446May 14, 2007 · 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…63This week
- ← EarlierCVE-2007-2447May 14, 2007 · The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands via shell…40Plan
- Later →CVE-2007-4572Nov 16, 2007 · Stack-based buffer overflow in nmbd in Samba 3.0.0 through 3.0.26a, when configured as a Primary or Backup Domain controller, allows remote…39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:samba | 3.0.26-1 · Debian:12 | Package registry (OSV) |
| opensuse:cifs-utils | 6.13-1.3 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:samba | 4.14.6+git.182.2205d5224e3-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:samba | 0:3.0.25b-1.el4_6.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba-client | 0:3.0.25b-1.el4_6.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba-common | 0:3.0.25b-1.el4_6.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba-debuginfo | 0:3.0.25b-1.el4_6.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba-swat | 0:3.0.25b-1.el4_6.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-264 · Permissions, Privileges, and Access ControlsCVSS vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (18 more)Show less
- secunia.com/advisories/26764
- secunia.com/advisories/26776
- secunia.com/advisories/26795
- secunia.com/advisories/26834
- securityreason.com/securityalert/3135
- slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.419439
- www.redhat.com/support/errata/RHSA-2007-1016.html
- www.redhat.com/support/errata/RHSA-2007-1017.html
- www.samba.org/samba/security/CVE-2007-4138.html
- www.securityfocus.com/archive/1/479078/100/0/threaded
- www.securityfocus.com/bid/25636
- www.securitytracker.com/id?1018681
- www.us-cert.gov/cas/techalerts/TA07-352A.html
- www.vupen.com/english/advisories/2007/3120
- exchange.xforce.ibmcloud.com/vulnerabilities/36560
- issues.rpath.com/browse/RPL-1705
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10375
- www.redhat.com/archives/fedora-package-announce/2007-September/msg00201.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.