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.
- Published
- May 29, 2017
- Updated
- Jun 16, 2026
- EPSS
- 7.2% · 94th percentile
- CWE
- CWE-415
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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
| Vendor | Product | CPE |
|---|---|---|
| openldap | openldap | cpe:2.3:a:openldap:openldap |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| mcafee | policy auditor | cpe:2.3:a:mcafee:policy_auditor |
| oracle | blockchain platform | cpe:2.3:a:oracle:blockchain_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | openldap | before 2.4.44-r5 | 2.4.44-r5 |
| Alpine:v3.3 | openldap | before 2.4.44-r1 | 2.4.44-r1 |
| Alpine:v3.4 | openldap | before 2.4.44-r2 | 2.4.44-r2 |
| Alpine:v3.5 | openldap | before 2.4.44-r4 | 2.4.44-r4 |
| Debian:12 | openldap | before 2.4.44+dfsg-5 | 2.4.44+dfsg-5 |
| Debian:7 | openldap | before 2.4.31-2+deb7u3 | 2.4.31-2+deb7u3 |
| Debian:8 | openldap | before 2.4.40+dfsg-1+deb8u3 | 2.4.40+dfsg-1+deb8u3 |
| Red Hat:enterprise_linux:7::client | openldap | before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
| Red Hat:enterprise_linux:7::client | openldap-clients | before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
| Red Hat:enterprise_linux:7::client | openldap-debuginfo | before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
| Red Hat:enterprise_linux:7::client | openldap-devel | before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
| Red Hat:enterprise_linux:7::client | openldap-servers | before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
| Red Hat:enterprise_linux:7::client | openldap-servers-sql | before 0:2.4.44-5.el7 | 0:2.4.44-5.el7 |
| SUSE:Linux Enterprise Desktop 12 SP2 | openldap2 | before 2.4.41-18.29.1 | 2.4.41-18.29.1 |
| SUSE:Linux Enterprise Module for Legacy 12 | openldap2 | before 2.4.41-18.24.9.7 | 2.4.41-18.24.9.7 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | openldap2-client | before 2.4.41-18.24.9.1 | 2.4.41-18.24.9.1 |
Same product
openldap: all recordsOther 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, vi58Plan
- 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, r55Plan
- CVE-2020-36221An integer underflow was discovered in OpenLDAP before 2.4.57 leading to slapd crashes in the Certificate Exact Assertion processing, result55Plan
- 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 de53Plan
- 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, w53Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:openldap | 2.4.44-r5 · Alpine:v3.10 | Package registry (OSV) |
| debian:openldap | 2.4.44+dfsg-5 · Debian:12 | Package registry (OSV) |
| red hat:openldap | 0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openldap-clients | 0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openldap-debuginfo | 0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openldap-devel | 0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openldap-servers | 0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openldap-servers-sql | 0:2.4.44-5.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:openldap2 | 2.4.41-18.29.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:openldap2-client | 2.4.41-18.24.9.1 · SUSE:Linux Enterprise Server for SAP Applications 12 | Package 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.
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.
Credits
All researchersFinders, 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 FreeCVSS 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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.debian.org/security/2017/dsa-3868
- www.securityfocus.com/bid/98736
- www.securitytracker.com/id/1038591
- access.redhat.com/errata/RHSA-2017:1852
- bugs.debian.org/863563
- kc.mcafee.com/corporate/index?page=content&id=SB10365
- www.oracle.com/security-alerts/cpuapr2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.