Skip to content
Noroxi
CVE-2017-9287· NVD / CVE Program· CNA mitre

servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability.

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.

MediumCVSS 6.5 · v3.1—No exploit Fix available
Published
May 29, 2017
Updated
Jun 16, 2026
EPSS
7.2% · 94th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 7.2%

Affected systems

VendorProduct
openldapopenldap
debiandebian linux
redhatenterprise linux desktop
redhatenterprise linux eus
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server tus
redhatenterprise linux workstation
mcafeepolicy auditor
oracleblockchain platform

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux8.0
  • mcafee policy auditorbefore 6.5.1
  • openldap openldapup to 2.4.44 inclusive
  • oracle blockchain platformbefore 21.1.2
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux eus7.4
  • redhat enterprise linux eus7.5
  • redhat enterprise linux eus7.6
  • redhat enterprise linux eus7.7
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus7.4
  • redhat enterprise linux server aus7.6
  • redhat enterprise linux server aus7.7
  • redhat enterprise linux server tus7.6
  • redhat enterprise linux server tus7.7
  • redhat enterprise linux workstation7.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10openldapbefore 2.4.44-r52.4.44-r5
Alpine:v3.3openldapbefore 2.4.44-r12.4.44-r1
Alpine:v3.4openldapbefore 2.4.44-r22.4.44-r2
Alpine:v3.5openldapbefore 2.4.44-r42.4.44-r4
Debian:12openldapbefore 2.4.44+dfsg-52.4.44+dfsg-5
Debian:7openldapbefore 2.4.31-2+deb7u32.4.31-2+deb7u3
Debian:8openldapbefore 2.4.40+dfsg-1+deb8u32.4.40+dfsg-1+deb8u3
Red Hat:enterprise_linux:7::clientopenldapbefore 0:2.4.44-5.el70:2.4.44-5.el7
Red Hat:enterprise_linux:7::clientopenldap-clientsbefore 0:2.4.44-5.el70:2.4.44-5.el7
Red Hat:enterprise_linux:7::clientopenldap-debuginfobefore 0:2.4.44-5.el70:2.4.44-5.el7
Red Hat:enterprise_linux:7::clientopenldap-develbefore 0:2.4.44-5.el70:2.4.44-5.el7
Red Hat:enterprise_linux:7::clientopenldap-serversbefore 0:2.4.44-5.el70:2.4.44-5.el7
Red Hat:enterprise_linux:7::clientopenldap-servers-sqlbefore 0:2.4.44-5.el70:2.4.44-5.el7
SUSE:Linux Enterprise Desktop 12 SP2openldap2before 2.4.41-18.29.12.4.41-18.29.1
SUSE:Linux Enterprise Module for Legacy 12openldap2before 2.4.41-18.24.9.72.4.41-18.24.9.7
SUSE:Linux Enterprise Server for SAP Applications 12openldap2-clientbefore 2.4.41-18.24.9.12.4.41-18.24.9.1

Other highest-scoring records for the same primary product.

  • CVE-2022-29155In OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2, a SQL injection vulnerability exists in the experimental back-sql backend to slapd, vi
    58Plan
  • CVE-2020-36228An integer underflow was discovered in OpenLDAP before 2.4.57 leading to a slapd crash in the Certificate List Exact Assertion processing, r
    55Plan
  • CVE-2020-36221An integer underflow was discovered in OpenLDAP before 2.4.57 leading to slapd crashes in the Certificate Exact Assertion processing, result
    55Plan
  • CVE-2020-36227A flaw was discovered in OpenLDAP before 2.4.57 leading to an infinite loop in slapd with the cancel_extop Cancel operation, resulting in de
    53Plan
  • CVE-2020-36222A flaw was discovered in OpenLDAP before 2.4.57 leading to an assertion failure in slapd in the saslAuthzTo validation, resulting in denial
    53Plan
  • CVE-2006-5779OpenLDAP before 2.3.29 allows remote attackers to cause a denial of service (daemon crash) via LDAP BIND requests with long authcid names, w
    53Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:openldap2.4.44-r5 · Alpine:v3.10Package registry (OSV)
debian:openldap2.4.44+dfsg-5 · Debian:12Package registry (OSV)
red hat:openldap0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openldap-clients0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openldap-debuginfo0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openldap-devel0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openldap-servers0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openldap-servers-sql0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:openldap22.4.41-18.29.1 · SUSE:Linux Enterprise Desktop 12 SP2Package registry (OSV)
suse:openldap2-client2.4.41-18.24.9.1 · SUSE:Linux Enterprise Server for SAP Applications 12Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-415 · Double Free

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records