CVE-2017-9287
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free...
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
- Record
CVE-2017-9287- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:N/I:N/A:P - Weakness
- CWE-415
- Updated
- 2026-11-02
CVE List No score
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
- Record
CVE-2017-9287- Updated
- 2026-11-02
EUVDEUVD-2017-18223 No score
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
- Record
EUVD-2017-18223- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rf87-xm6q-rwxc
6.5
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free...
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
- Record
GHSA-rf87-xm6q-rwxc- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-415
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-9287
6.5
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
- Record
ALPINE-CVE-2017-9287- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-9287
6.5
CVE-2017-9287 does not affect BellSoft software
- Record
BELL-CVE-2017-9287- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSV
6.5
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
- Record
CVE-2017-9287- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-9287
6.5
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
- Record
DEBIAN-CVE-2017-9287- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2017:1852
6.5
Red Hat Security Advisory: openldap security, bug fix, and enhancement update
- Record
RHSA-2017:1852- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-9287
6.5
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
- Record
UBUNTU-CVE-2017-9287- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0033 No score
Updated openldap packages fix security vulnerability
A double-free flaw was found in the way OpenLDAP's slapd server using the MDB backend handled LDAP searches. A remote attacker with access to search the directory could potentially use this flaw to crash slapd by issuing a specially crafted LDAP search query (CVE-2017-9287).
The openldap package has been updated to version 2.4.45 to fix this issue and other bugs.
- Record
MGASA-2018-0033- Updated
- 2026-11-02
OSVSUSE-SU-2017:1567-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)
Non security bugs fixed:
- Let OpenLDAP read system-wide certificates by default and don't hide the error if the user-specified CA location cannot be read. (bsc#1009470)
- Fix an uninitialised variable that causes startup failure (bsc#1037396)
- Fix an issue with transaction management that can cause server crash (bsc#972331)
- Record
SUSE-SU-2017:1567-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
OSVUSN-3307-1 No score
openldap vulnerability
Karsten Heymann discovered that OpenLDAP incorrectly handled certain search requests. A remote attacker could use this issue to cause slapd to crash, resulting in a denial of service.
- Record
USN-3307-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openldapAlpine:v3.10 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.11 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.12 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.13 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.14 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.15 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.16 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.17 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.18 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.19 |
before 2.4.44-r5 | 2.4.44-r5 |
Show 61 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openldapAlpine:v3.20 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.21 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.22 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.23 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.24 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.3 |
before 2.4.44-r1 | 2.4.44-r1 |
openldapAlpine:v3.4 |
before 2.4.44-r2 | 2.4.44-r2 |
openldapAlpine:v3.5 |
before 2.4.44-r4 | 2.4.44-r4 |
openldapAlpine:v3.6 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.7 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.8 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapAlpine:v3.9 |
before 2.4.44-r5 | 2.4.44-r5 |
openldapDebian:12 |
before 2.4.44+dfsg-5 | 2.4.44+dfsg-5 |
openldapDebian:13 |
before 2.4.44+dfsg-5 | 2.4.44+dfsg-5 |
openldapDebian:14 |
before 2.4.44+dfsg-5 | 2.4.44+dfsg-5 |
openldapDebian:7 |
before 2.4.31-2+deb7u3, plus listed versions 2.4.31-1+nmu22.4.31-22.4.31-2+deb7u12.4.31-2+deb7u2 |
2.4.31-2+deb7u3 |
openldapDebian:8 |
before 2.4.40+dfsg-1+deb8u3, plus listed versions 2.4.40+dfsg-12.4.40+dfsg-1+deb8u12.4.40+dfsg-1+deb8u2 |
2.4.40+dfsg-1+deb8u3 |
openldapMageia:5 |
before 2.4.45-1.mga5 | 2.4.45-1.mga5 |
openldap-debuginfoRed Hat:enterprise_linux:7::client |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-develRed Hat:enterprise_linux:7::client |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-serversRed Hat:enterprise_linux:7::client |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-servers-sqlRed Hat:enterprise_linux:7::client |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldapRed Hat:enterprise_linux:7::client |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-clientsRed Hat:enterprise_linux:7::client |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-develRed Hat:enterprise_linux:7::computenode |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-serversRed Hat:enterprise_linux:7::computenode |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-servers-sqlRed Hat:enterprise_linux:7::computenode |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldapRed Hat:enterprise_linux:7::computenode |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-clientsRed Hat:enterprise_linux:7::computenode |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-debuginfoRed Hat:enterprise_linux:7::server |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-servers-sqlRed Hat:enterprise_linux:7::server |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldapRed Hat:enterprise_linux:7::server |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-clientsRed Hat:enterprise_linux:7::server |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-develRed Hat:enterprise_linux:7::server |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-serversRed Hat:enterprise_linux:7::server |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-servers-sqlRed Hat:enterprise_linux:7::workstation |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldapRed Hat:enterprise_linux:7::workstation |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-clientsRed Hat:enterprise_linux:7::workstation |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-develRed Hat:enterprise_linux:7::workstation |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap-serversRed Hat:enterprise_linux:7::workstation |
before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
openldap2SUSE:Linux Enterprise Desktop 12 SP2 |
before 2.4.41-18.29.1 | 2.4.41-18.29.1 |
openldap2SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.4.41-18.29.1 | 2.4.41-18.29.1 |
openldap2SUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 2.4.41-18.29.1 | 2.4.41-18.29.1 |
openldap2SUSE:Linux Enterprise Server 12 SP2 |
before 2.4.41-18.29.1 | 2.4.41-18.29.1 |
openldap2SUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.4.41-18.29.1 | 2.4.41-18.29.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 |
openldapUbuntu:14.04:LTS |
before 2.4.31-1+nmu2ubuntu8.4, plus listed versions 2.4.31-1+nmu2ubuntu32.4.31-1+nmu2ubuntu42.4.31-1+nmu2ubuntu52.4.31-1+nmu2ubuntu82.4.31-1+nmu2ubuntu8.12.4.31-1+nmu2ubuntu8.22.4.31-1+nmu2ubuntu8.3 |
2.4.31-1+nmu2ubuntu8.4 |
openldapUbuntu:16.04:LTS |
before 2.4.42+dfsg-2ubuntu3.2, plus listed versions 2.4.41+dfsg-1ubuntu22.4.41+dfsg-1ubuntu32.4.42+dfsg-2ubuntu12.4.42+dfsg-2ubuntu32.4.42+dfsg-2ubuntu3.1 |
2.4.42+dfsg-2ubuntu3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-9287 is a medium vulnerability (CVSS 6.5) in Openldap, published May 29, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 7.14%, the 94th percentile. Fixed in openldap 2.4.44-r5.
References
securityfocus.com/bid/98736
debian.org/security/2017/dsa-3868
access.redhat.com/errata/RHSA-2017:1852
securitytracker.com/id/1038591
oracle.com/security-alerts/cpuapr2022.html
kc.mcafee.com/corporate/index?page=content&id=SB10365
Show 31 moreShow less
openldap.org/its?findid=8655
bugs.debian.org/863563
nvd.nist.gov/vuln/detail/CVE-2017-9287
github.com/advisories/GHSA-rf87-xm6q-rwxc
security.alpinelinux.org/vuln/CVE-2017-9287
docs.bell-sw.com/security/cves/CVE-2017-9287
security-tracker.debian.org/tracker/CVE-2017-9287
advisories.mageia.org/MGASA-2018-0033.html
bugs.mageia.org/show_bug.cgi?id=21003
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.4_Release_Notes/index.html
bugzilla.redhat.com/show_bug.cgi?id=1405354
bugzilla.redhat.com/show_bug.cgi?id=1432907
bugzilla.redhat.com/show_bug.cgi?id=1456712
security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1852.json
access.redhat.com/security/cve/CVE-2017-9287
cve.org/CVERecord?id=CVE-2017-9287
suse.com/support/update/announcement/2017/suse-su-20171567-1
bugzilla.suse.com/1009470
bugzilla.suse.com/1037396
bugzilla.suse.com/1041764
bugzilla.suse.com/972331
suse.com/security/cve/CVE-2017-9287
suse.com/support/update/announcement/2019/suse-su-20190931-1
bugzilla.suse.com/1031702
bugzilla.suse.com/1065083
bugzilla.suse.com/1073313
suse.com/security/cve/CVE-2017-17740
ubuntu.com/security/CVE-2017-9287
ubuntu.com/security/notices/USN-3307-1
ubuntu.com/security/notices/USN-3307-2