OpenLDAP is a suite of LDAP-related applications and development tools. It includes slapd (the standalone LDAP server), slurpd (the standalone LDAP replication server), various LDAP libraries, utilities and example clients.
slurpd contains a buffer overflow when reading very long hostnames from the status file.
By injecting an overly long hostname in the status file, an attacker could possibly cause the execution of arbitrary code with the permissions of the user running slurpd.
There is no known workaround at this time.
All openLDAP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-nds/openldap-2.3.22"