# CVE-2007-4138

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2007-09-14 · Modified: 2024-08-07
- Aliases: DEBIAN-CVE-2007-4138
- Record: https://cvemate.com/vulnerability/CVE-2007-4138 · JSON: https://cvemate.com/vulnerability/CVE-2007-4138/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v2.0, NVD) AV:L/AC:M/Au:N/C:C/I:C/A:C
- EPSS: 0.724%, percentile 55.411%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian samba (Debian): \< 3.0.26-1
- samba samba: 3.0.25 \| 3.0.25a \| 3.0.25b \| 3.0.25c

## References

- <http://www.samba.org/samba/security/CVE-2007-4138.html>
- <http://www.redhat.com/support/errata/RHSA-2007-1016.html>
- <http://www.securityfocus.com/bid/25636>
- <http://www.securityfocus.com/archive/1/479078/100/0/threaded>
- <http://www.us-cert.gov/cas/techalerts/TA07-352A.html>
- <http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.419439>
- <http://securityreason.com/securityalert/3135>
- <http://www.vupen.com/english/advisories/2007/3120>
- <http://secunia.com/advisories/26764>
- <http://secunia.com/advisories/26834>
- <http://secunia.com/advisories/26795>
- <http://www.securitytracker.com/id?1018681>
- <https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00201.html>
- <http://docs.info.apple.com/article.html?artnum=307179>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/36560>
- <https://issues.rpath.com/browse/RPL-1705>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10375>
- <http://secunia.com/advisories/26776>
- <http://www.redhat.com/support/errata/RHSA-2007-1017.html>
- <https://security-tracker.debian.org/tracker/CVE-2007-4138>

---

Data as of 2026-12-05T11:10:22.712Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
