CVE-2007-4138
The Winbind nss_info extension (nsswitch/idmap_ad.c) in idmap_ad.so in Samba 3.0.25 through 3.0...
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.
Exploit likelihood
What each source reports
NVD Score used
6.9
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.
- Record
CVE-2007-4138- CVSS 2.0
- 6.9 Medium
AV:L/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-4138- Updated
- 2026-11-02
EUVDEUVD-2007-4122 No score
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.
- Record
EUVD-2007-4122- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-74rm-gxr2-j77h No score
The Winbind nss_info extension (nsswitch/idmap_ad.c) in idmap_ad.so in Samba 3.0.25 through 3.0...
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.
- Record
GHSA-74rm-gxr2-j77h- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2007-4138- Updated
- 2026-11-02
OSVDEBIAN-CVE-2007-4138 No score
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.
- Record
DEBIAN-CVE-2007-4138- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10683-1 No score
cifs-utils-6.13-1.3 on GA media
These are all security issues fixed in the cifs-utils-6.13-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10683-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11365-1 No score
ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media
These are all security issues fixed in the ctdb-4.14.6+git.182.2205d5224e3-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11365-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sambaDebian:12 |
before 3.0.26-1 | 3.0.26-1 |
sambaDebian:13 |
before 3.0.26-1 | 3.0.26-1 |
sambaDebian:14 |
before 3.0.26-1 | 3.0.26-1 |
sambaRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-clientRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-commonRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-swatRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
sambaRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-clientRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
samba-commonRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-swatRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
sambaRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-clientRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-commonRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-swatRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
sambaRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-clientRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-commonRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
samba-swatRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el4_6.2 | 0:3.0.25b-1.el4_6.2 |
sambaRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
samba-clientRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
samba-commonRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
samba-debuginfoRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
samba-swatRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
sambaRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
samba-clientRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
samba-commonRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
samba-debuginfoRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
samba-swatRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:3.0.25b-1.el5_1.2 | 0:3.0.25b-1.el5_1.2 |
cifs-utilsopenSUSE:Tumbleweed From an advisory covering 16 CVEs |
before 6.13-1.3 | 6.13-1.3 |
sambaopenSUSE:Tumbleweed From an advisory covering 66 CVEs |
before 4.14.6+git.182.2205d5224e3-1.1 | 4.14.6+git.182.2205d5224e3-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| affected, aliases, facts, references, title | GitHub Advisories, OSV | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-4138 is a medium vulnerability (CVSS 6.9) in Samba, published September 14, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.72%, the 54th percentile. Fixed in samba 3.0.26-1.
References
samba.org/samba/security/CVE-2007-4138.html
redhat.com/support/errata/RHSA-2007-1016.html
securityfocus.com/bid/25636
securityfocus.com/archive/1/479078/100/0/threaded
us-cert.gov/cas/techalerts/TA07-352A.html
slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.419439
Show 101 moreShow less
securityreason.com/securityalert/3135
vupen.com/english/advisories/2007/3120
secunia.com/advisories/26764
secunia.com/advisories/26834
secunia.com/advisories/26795
securitytracker.com/id?1018681
redhat.com/archives/fedora-package-announce/2007-September/msg00201.html
docs.info.apple.com/article.html?artnum=307179
exchange.xforce.ibmcloud.com/vulnerabilities/36560
issues.rpath.com/browse/RPL-1705
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10375
secunia.com/advisories/26776
redhat.com/support/errata/RHSA-2007-1017.html
nvd.nist.gov/vuln/detail/CVE-2007-4138
github.com/advisories/GHSA-74rm-gxr2-j77h
security-tracker.debian.org/tracker/CVE-2007-4138
access.redhat.com/errata/RHSA-2007:1016
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=286271
bugzilla.redhat.com/show_bug.cgi?id=294631
bugzilla.redhat.com/show_bug.cgi?id=358831
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_1016.json
access.redhat.com/security/cve/CVE-2007-4138
cve.org/CVERecord?id=CVE-2007-4138
access.redhat.com/security/cve/CVE-2007-4572
cve.org/CVERecord?id=CVE-2007-4572
nvd.nist.gov/vuln/detail/CVE-2007-4572
access.redhat.com/security/cve/CVE-2007-5398
cve.org/CVERecord?id=CVE-2007-5398
nvd.nist.gov/vuln/detail/CVE-2007-5398
access.redhat.com/errata/RHSA-2007:1017
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_1017.json
suse.com/security/cve/CVE-2006-1059
suse.com/security/cve/CVE-2006-3403
suse.com/security/cve/CVE-2007-0452
suse.com/security/cve/CVE-2007-2444
suse.com/security/cve/CVE-2007-2446
suse.com/security/cve/CVE-2007-2447
suse.com/security/cve/CVE-2007-4138
suse.com/security/cve/CVE-2007-4572
suse.com/security/cve/CVE-2007-5398
suse.com/security/cve/CVE-2007-6015
suse.com/security/cve/CVE-2008-1105
suse.com/security/cve/CVE-2008-3789
suse.com/security/cve/CVE-2008-4314
suse.com/security/cve/CVE-2009-0022
suse.com/security/cve/CVE-2020-14342
suse.com/security/cve/CVE-2021-20208
suse.com/security/cve/CVE-2016-2123
suse.com/security/cve/CVE-2016-2125
suse.com/security/cve/CVE-2016-2126
suse.com/security/cve/CVE-2017-11103
suse.com/security/cve/CVE-2017-12150
suse.com/security/cve/CVE-2017-12151
suse.com/security/cve/CVE-2017-12163
suse.com/security/cve/CVE-2017-14746
suse.com/security/cve/CVE-2017-15275
suse.com/security/cve/CVE-2017-2619
suse.com/security/cve/CVE-2017-7494
suse.com/security/cve/CVE-2018-1050
suse.com/security/cve/CVE-2018-1057
suse.com/security/cve/CVE-2018-10858
suse.com/security/cve/CVE-2018-10918
suse.com/security/cve/CVE-2018-10919
suse.com/security/cve/CVE-2018-1139
suse.com/security/cve/CVE-2018-1140
suse.com/security/cve/CVE-2018-14629
suse.com/security/cve/CVE-2018-16841
suse.com/security/cve/CVE-2018-16851
suse.com/security/cve/CVE-2018-16852
suse.com/security/cve/CVE-2018-16853
suse.com/security/cve/CVE-2018-16857
suse.com/security/cve/CVE-2018-16860
suse.com/security/cve/CVE-2019-10197
suse.com/security/cve/CVE-2019-10218
suse.com/security/cve/CVE-2019-12435
suse.com/security/cve/CVE-2019-12436
suse.com/security/cve/CVE-2019-14833
suse.com/security/cve/CVE-2019-14847
suse.com/security/cve/CVE-2019-14861
suse.com/security/cve/CVE-2019-14870
suse.com/security/cve/CVE-2019-14902
suse.com/security/cve/CVE-2019-14907
suse.com/security/cve/CVE-2019-19344
suse.com/security/cve/CVE-2019-3824
suse.com/security/cve/CVE-2019-3870
suse.com/security/cve/CVE-2019-3880
suse.com/security/cve/CVE-2020-10700
suse.com/security/cve/CVE-2020-10704
suse.com/security/cve/CVE-2020-10730
suse.com/security/cve/CVE-2020-10745
suse.com/security/cve/CVE-2020-10760
suse.com/security/cve/CVE-2020-14303
suse.com/security/cve/CVE-2020-14318
suse.com/security/cve/CVE-2020-14323
suse.com/security/cve/CVE-2020-14383
suse.com/security/cve/CVE-2020-1472
suse.com/security/cve/CVE-2020-27840
suse.com/security/cve/CVE-2021-20254
suse.com/security/cve/CVE-2021-20277