CVE-2017-17740
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the...
CVE-2017-17740 is a high vulnerability (CVSS 7.5) in Openldap, published December 18, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 7.02%, the 94th percentile. Fixed in openldap 2.4.46-r0.
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
- Record
CVE-2017-17740- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
- Record
CVE-2017-17740- Updated
- 2026-11-02
EUVDEUVD-2017-8892 No score
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
- Record
EUVD-2017-8892- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h7vm-9jwq-6c9r
7.5
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the...
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
- Record
GHSA-h7vm-9jwq-6c9r- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-17740
7.5
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
- Record
ALPINE-CVE-2017-17740- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-17740
7.5
CVE-2017-17740 does not affect BellSoft software
- Record
BELL-CVE-2017-17740- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
7.5
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
- Record
CVE-2017-17740- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-17740
7.5
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
- Record
DEBIAN-CVE-2017-17740- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2020-0200 No score
Updated openldap packages fix security vulnerabilities
Updated openldap packages fix security vulnerabilities:
When both the nops module and the member of overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation (CVE-2017-17740).
In filter.c in slapd in OpenLDAP before 2.4.50, LDAP search filters with nested boolean expressions can result in denial of service (daemon crash) (CVE-2020-12243).
The nops overlay has been dropped from the package, fixing CVE-2017-17740.
The openldap package has been updated to version 2.4.50, fixing CVE-2020-12243 and several other bugs.
- Record
MGASA-2020-0200- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2157-1 No score
Security update for openldap2
This update for openldap2 fixes the following issues:
Security issue fixed:
- CVE-2019-13565: Fixed an authentication bypass when using SASL authentication and session encryption (bsc#1143194).
- CVE-2019-13057: Fixed an issue with delegated database admin privileges (bsc#1143273).
- CVE-2017-17740: When both the nops module and the member of overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation. (bsc#1073313)
Non-security issues fixed:
- Fixed broken shebang line in openldap_update_modules_path.sh (bsc#1114845).
- Create files in /var/lib/ldap/ during initial start to allow for transactional updates (bsc#1111388)
- Fixed incorrect post script call causing tmpfiles creation not to be run (bsc#1111388).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2157-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2176-1 No score
Security update for openldap2
This update for openldap2 fixes the following issues:
Security issue fixed:
- CVE-2019-13565: Fixed an authentication bypass when using SASL authentication and session encryption (bsc#1143194).
- CVE-2019-13057: Fixed an issue with delegated database admin privileges (bsc#1143273).
- CVE-2017-17740: When both the nops module and the member of overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation. (bsc#1073313)
Non-security issues fixed:
- Fixed broken shebang line in openldap_update_modules_path.sh (bsc#1114845).
- Create files in /var/lib/ldap/ during initial start to allow for transactional updates (bsc#1111388)
- Fixed incorrect post script call causing tmpfiles creation not to be run (bsc#1111388).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2176-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11121-1 No score
libldap-2_4-2-2.4.59-69.3 on GA media
These are all security issues fixed in the libldap-2_4-2-2.4.59-69.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11121-1- Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2017-17740 No score
CVE-2017-17740 in openldap - Patched by Root
Root has patched CVE-2017-17740 in the openldap package for Root:Debian:12. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-12-CVE-2017-17740- Updated
- 2026-11-02
OSVSUSE-SU-2018:4150-1 No score
Security update for openldap2
This update for openldap2 fixes the following issues:
Security issue fixed:
- CVE-2017-17740: When both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation. (bsc#1073313)
- Record
SUSE-SU-2018:4150-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:0931-1 No score
Security update for openldap2
This update for openldap2 fixes the following issues:
Security issues fixed:
- CVE-2017-9287: A double free vulnerability in the mdb backend during search with page size 0 was fixed (bsc#1041764).
- CVE-2017-17740: Fixed a denial of service (slapd crash) via a member MODDN operation that could have been triggered when both the nops module and the memberof overlay are enabled (bsc#1073313).
Non-security issues fixed:
- Fix a regression in handling of non-blocking connections (bsc#1031702)
- Fix an uninitialised variable that causes startup failure (bsc#1037396)
- Fix libldap leaks socket descriptors issue (bsc#1065083)
- Record
SUSE-SU-2019:0931-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:2395-1 No score
Security update for openldap2
This update for openldap2 fixes the following issues:
Security issue fixed:
- CVE-2019-13565: Fixed an authentication bypass when using SASL authentication and session encryption (bsc#1143194).
- CVE-2019-13057: Fixed an issue with delegated database admin privileges (bsc#1143273).
- CVE-2017-17740: When both the nops module and the member of overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation. (bsc#1073313)
Non-security issues fixed:
- Fixed broken shebang line in openldap_update_modules_path.sh (bsc#1114845).
- Create files in /var/lib/ldap/ during initial start to allow for transactional updates (bsc#1111388)
- Fixed incorrect post script call causing tmpfiles creation not to be run (bsc#1111388).
- Record
SUSE-SU-2019:2395-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openldapAlpine:v3.10 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.11 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.12 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.13 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.14 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.15 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.16 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.17 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.18 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.19 |
before 2.4.46-r0 | 2.4.46-r0 |
Show 42 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openldapAlpine:v3.20 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.21 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.22 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.23 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.24 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.7 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.8 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapAlpine:v3.9 |
before 2.4.46-r0 | 2.4.46-r0 |
openldapDebian:12 |
All versions, plus listed versions 1:1.2.12-12.5.13+dfsg-52.5.13+dfsg-5+loong642.5.16+dfsg-12.5.16+dfsg-2 Show 27 moreShow less2.5.17+dfsg-12.5.18+dfsg-12.5.18+dfsg-22.5.18+dfsg-32.5.19+dfsg-12.6.10+dfsg-12.6.13+dfsg-12.6.14+dfsg-12.6.14+dfsg-22.6.2+dfsg-1~exp12.6.2+dfsg-1~exp22.6.3+dfsg-1~exp12.6.4+dfsg-1~exp12.6.5+dfsg-1~exp12.6.6+dfsg-1~exp12.6.6+dfsg-1~exp22.6.7+dfsg-1~exp12.6.8+dfsg-1~exp12.6.8+dfsg-1~exp22.6.8+dfsg-1~exp32.6.8+dfsg-1~exp42.6.9+dfsg-12.6.9+dfsg-1~exp12.6.9+dfsg-1~exp22.6.9+dfsg-22:1.2.12.1-12:1.2.12.1-1.0.1 |
None known |
openldapDebian:13 |
All versions, plus listed versions 1:1.2.12-12.6.10+dfsg-12.6.13+dfsg-12.6.14+dfsg-12.6.14+dfsg-22:1.2.12.1-12:1.2.12.1-1.0.1 |
None known |
openldapDebian:14 |
All versions, plus listed versions 1:1.2.12-12.6.10+dfsg-12.6.13+dfsg-12.6.14+dfsg-12.6.14+dfsg-22:1.2.12.1-12:1.2.12.1-1.0.1 |
None known |
openldapMageia:7 |
before 2.4.50-1.1.mga7 | 2.4.50-1.1.mga7 |
openldapRoot:Debian:12 |
before 2.5.13+dfsg-5.root.io.5 | 2.5.13+dfsg-5.root.io.52.5.13+dfsg-5.root.io.42.5.13+dfsg-5.root.io.22.5.13+dfsg-5.root.io.32.5.13+dfsg-5.root.io.62.5.13+dfsg-5.aikido.7 |
rootio-openldapRoot:Debian:12 |
before 2.5.13+dfsg-5.root.io.5 | 2.5.13+dfsg-5.root.io.52.5.13+dfsg-5.root.io.42.5.13+dfsg-5.root.io.22.5.13+dfsg-5.root.io.32.5.13+dfsg-5.root.io.62.5.13+dfsg-5.aikido.7 |
openldap2SUSE:Linux Enterprise Desktop 12 SP3 |
before 2.4.41-18.43.1 | 2.4.41-18.43.1 |
openldap2SUSE:Linux Enterprise Desktop 12 SP4 |
before 2.4.41-18.43.1 | 2.4.41-18.43.1 |
openldap2SUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 2.4.41-18.43.1 | 2.4.41-18.43.1 |
openldap2SUSE:Linux Enterprise Software Development Kit 12 SP4 |
before 2.4.41-18.43.1 | 2.4.41-18.43.1 |
openldap2SUSE:Linux Enterprise Server 12 SP3 |
before 2.4.41-18.43.1 | 2.4.41-18.43.1 |
openldap2SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.4.41-18.43.1 | 2.4.41-18.43.1 |
openldap2SUSE:Linux Enterprise Server 12 SP4 |
before 2.4.41-18.43.1 | 2.4.41-18.43.1 |
openldap2SUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 2.4.41-18.43.1 | 2.4.41-18.43.1 |
openldap2SUSE:Linux Enterprise Module for Legacy 12 |
before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
openldap2SUSE:Linux Enterprise Server for SAP Applications 12 |
before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
openldap2-clientSUSE:Linux Enterprise Server for SAP Applications 12 |
before 2.4.41-18.24.9.1 | 2.4.41-18.24.9.1 |
openldap2SUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
openldap2-clientSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 2.4.41-18.24.9.1 | 2.4.41-18.24.9.1 |
openldap2SUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
openldap2SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
openldap2SUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
openldap2SUSE:Linux Enterprise Server 12-LTSS |
before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
openldap2-clientSUSE:Linux Enterprise Server 12-LTSS |
before 2.4.41-18.24.9.1 | 2.4.41-18.24.9.1 |
openldap2SUSE:Linux Enterprise Server 12 SP1-LTSS |
before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
openldap2-clientSUSE:Linux Enterprise Server 12 SP1-LTSS |
before 2.4.41-18.24.9.1 | 2.4.41-18.24.9.1 |
openldap2SUSE:Linux Enterprise Module for Basesystem 15 |
before 2.4.46-9.19.2 | 2.4.46-9.19.2 |
openldap2SUSE:Linux Enterprise Module for Basesystem 15 SP1 |
before 2.4.46-9.19.2 | 2.4.46-9.19.2 |
openldap2SUSE:Linux Enterprise Module for Development Tools 15 |
before 2.4.46-9.19.2 | 2.4.46-9.19.2 |
openldap2SUSE:Linux Enterprise Module for Development Tools 15 SP1 |
before 2.4.46-9.19.2 | 2.4.46-9.19.2 |
openldap2SUSE:Linux Enterprise Module for Legacy 15 |
before 2.4.46-9.19.2 | 2.4.46-9.19.2 |
openldap2SUSE:Linux Enterprise Module for Legacy 15 SP1 |
before 2.4.46-9.19.2 | 2.4.46-9.19.2 |
openldap2openSUSE:Leap 15.1 |
before 2.4.46-lp151.10.3.1 | 2.4.46-lp151.10.3.1 |
openldap2openSUSE:Leap 15.0 |
before 2.4.46-lp150.13.1 | 2.4.46-lp150.13.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
lists.opensuse.org/opensuse-security-announce/2019-09/msg00053.html
lists.opensuse.org/opensuse-security-announce/2019-09/msg00058.html
oracle.com/security-alerts/cpuapr2022.html
openldap.org/its/index.cgi/Incoming?id=8759
kc.mcafee.com/corporate/index?page=content&id=SB10365
nvd.nist.gov/vuln/detail/CVE-2017-17740
Show 33 moreShow less
github.com/advisories/GHSA-h7vm-9jwq-6c9r
security.alpinelinux.org/vuln/CVE-2017-17740
docs.bell-sw.com/security/cves/CVE-2017-17740
security-tracker.debian.org/tracker/CVE-2017-17740
advisories.mageia.org/MGASA-2020-0200.html
bugs.mageia.org/show_bug.cgi?id=26569
bugs.mageia.org/show_bug.cgi?id=24076
lists.openldap.org/hyperkitty/list/[email protected]/thread/NQ6OHLWNVRKIJU3HI5YGGAZL54H2RB73
lists.openldap.org/hyperkitty/list/[email protected]/thread/VMMBUCQHEDF6QA4CDOONP2CDQEOR5YQA
lists.openldap.org/hyperkitty/list/[email protected]/thread/FUOYA6YCHBXMLANBJMSO22JD2NB22WGC
lists.opensuse.org/opensuse-updates/2019-09/msg00113.html
debian.org/security/2020/dsa-4666
suse.com/support/update/announcement/2018/suse-su-20184150-1
bugzilla.suse.com/1073313
suse.com/security/cve/CVE-2017-17740
suse.com/support/update/announcement/2019/suse-su-20190931-1
bugzilla.suse.com/1031702
bugzilla.suse.com/1037396
bugzilla.suse.com/1041764
bugzilla.suse.com/1065083
suse.com/security/cve/CVE-2017-9287
suse.com/support/update/announcement/2019/suse-su-20192395-1
bugzilla.suse.com/1111388
bugzilla.suse.com/1114845
bugzilla.suse.com/1143194
bugzilla.suse.com/1143273
suse.com/security/cve/CVE-2019-13057
suse.com/security/cve/CVE-2019-13565
lists.opensuse.org/archives/list/[email protected]/thread/46KFS6OC36UWKEJS7D2YUROL2323KWEB
lists.opensuse.org/archives/list/[email protected]/thread/TQYMYQN54XQCPQJJZEIGGCBW3W7U53IW
suse.com/security/cve/CVE-2015-1545
suse.com/security/cve/CVE-2015-1546
suse.com/security/cve/CVE-2020-8027