nss-pam-ldapd FD_SETSIZE buffer overflow

nsspamldapd-fdsetsize-bo (82175) The risk level is classified as HighHigh Risk


nss-pam-ldapd is vulnerable to a stack-based buffer overflow, caused by an array indexing error when handling FD_SETSIZE macro. A remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.


Base Score: 7.5
  Access Vector: Network
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
Temporal Score: 5.5
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed


Gain Access


Upgrade to the latest version of nss-pam-ldapd (0.7.18 or 0.8.11 or later), available from the Arthur de Jong Web site. See References.


  • Arthur de Jong Web page: nss-pam-ldapd: NSS and PAM modules for lookups using LDAP.
  • Red Hat Bugzilla Bug 909119: CVE-2013-0288 nss-pam-ldapd: FD_SET array index error, leading to stack-based buffer overflow.
  • BID-58007: nss-pam-ldapd 'FD_SET()' Function Stack Buffer Overflow Vulnerability
  • CVE-2013-0288: nss-pam-ldapd before 0.7.18 and 0.8.x before 0.8.11 allows context-dependent attackers to cause a denial of service (application crash) and possibly execute arbitrary code by performing a name lookup on an application with a large number of open file descriptors, which triggers a stack-based buffer overflow related to incorrect use of the FD_SET macro.
  • DSA-2628: nss-pam-ldapd -- buffer overflow
  • RHSA-2013-0590: Important: nss-pam-ldapd security update
  • SA52212: nss-pam-ldapd File Descriptor Handling Buffer Overflow Vulnerability

Platforms Affected:

  • Arthur de Jong nss-pam-ldapd 0.7.17
  • Arthur de Jong nss-pam-ldapd 0.8.10
  • RedHat Enterprise Linux 6 Server
  • RedHat Enterprise Linux 6 Workstation
  • RedHat Enterprise Linux Desktop 6
  • RedHat Enterprise Linux HPC Node 6


Feb 19, 2013

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page