← Vulnerability feed

Vulnerability record · CVE-2020-36227 · published 26 January 2021

CVE-2020-36227: OpenLDAP slapd infinite loop in cancel_extop Cancel operation

Openldap · Openldap

OpenLDAP before 2.4.57 contains an infinite loop in slapd triggered by the cancel_extop Cancel operation, causing denial of service. The flaw is a CWE-835 loop-with-unreachable-exit-condition issue in the LDAP server daemon. It matters because a single crafted request can hang the directory service, affecting authentication and directory lookups for all dependent systems.

7.5 CVSS 3.1 High EPSS 77% · top 0.5% CWE-835 · CWE-835
7.5CVSS 3.1 base score, v2 5.0
77%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
28References
17 Jun 2026Last modified by NVD

Description

A flaw was discovered in OpenLDAP before 2.4.57 leading to an infinite loop in slapd with the cancel_extop Cancel operation, resulting in denial of service.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityUnauthenticated network-reachable denial of service with a high EPSS score and available patch, though no KEV listing or confirmed in-the-wild exploitation is documented.

What it is

OpenLDAP before 2.4.57 contains an infinite loop in slapd triggered by the cancel_extop Cancel operation, causing denial of service. The flaw is a CWE-835 loop-with-unreachable-exit-condition issue in the LDAP server daemon. It matters because a single crafted request can hang the directory service, affecting authentication and directory lookups for all dependent systems.

Impact

An attacker can drive slapd into an infinite loop, consuming CPU and making the LDAP service unresponsive, denying directory access to legitimate users and applications. No data confidentiality or integrity impact is described; the effect is availability loss.

Attack surface

Reachable over the network via the LDAP protocol (CVSS vector AV:N/AC:L/PR:N/UI:N), so no authentication or user interaction is required per the vector. The attack targets the cancel_extop Cancel extended operation handled by slapd.

Exploitation

Not listed in CISA KEV and no ransomware usage documented, but EPSS is 0.77738 (99.5th percentile), indicating a high modeled likelihood of exploitation activity. References include vendor advisories and a patch commit, but no public exploit code is cited in the record.

What to do

  • Upgrade OpenLDAP to 2.4.57 or later, which contains the fix commit 9d0e8485f3113505743baabf1167e01e4558ccf5.
  • Apply vendor updates for downstream distributions and products (Debian DSA-4845, Apple HT212529/HT212530/HT212531, NetApp advisory).
  • Restrict network access to slapd LDAP ports to trusted clients and management networks where feasible.
  • Monitor slapd CPU and process health so a hung daemon is detected and restarted quickly.
  • If patching is delayed, consider rate limiting or filtering the cancel extended operation at the network or proxy layer.

Detection

  • Alert on slapd processes sustaining high CPU with no corresponding request throughput, indicating a possible infinite loop.
  • Monitor for repeated or malformed cancel_extop Cancel extended operation requests in LDAP logs or network traffic.
  • Track slapd availability and restart events; correlate with LDAP client connection failures.
  • Watch for LDAP traffic from unexpected or untrusted source addresses targeting the directory service.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://seclists.org/fulldisclosure/2021/May/64 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2021/May/65 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2021/May/70 Mailing ListThird Party Advisory
https://bugs.openldap.org/show_bug.cgi?id=9428 Issue TrackingVendor Advisory
https://git.openldap.org/openldap/openldap/-/commit/9d0e8485f3113505743baabf1167e01e4558ccf5 PatchVendor Advisory
https://git.openldap.org/openldap/openldap/-/tags/OPENLDAP_REL_ENG_2_4_57 Release NotesVendor Advisory
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.ap
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.ap
https://lists.debian.org/debian-lts-announce/2021/02/msg00005.html Mailing ListThird Party Advisory
https://security.netapp.com/advisory/ntap-20210226-0002/ Third Party Advisory
https://support.apple.com/kb/HT212529 Third Party Advisory
https://support.apple.com/kb/HT212530 Third Party Advisory
https://support.apple.com/kb/HT212531 Third Party Advisory
https://www.debian.org/security/2021/dsa-4845 Third Party Advisory
http://seclists.org/fulldisclosure/2021/May/64 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2021/May/65 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2021/May/70 Mailing ListThird Party Advisory
https://bugs.openldap.org/show_bug.cgi?id=9428 Issue TrackingVendor Advisory
https://git.openldap.org/openldap/openldap/-/commit/9d0e8485f3113505743baabf1167e01e4558ccf5 PatchVendor Advisory
https://git.openldap.org/openldap/openldap/-/tags/OPENLDAP_REL_ENG_2_4_57 Release NotesVendor Advisory
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.ap
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.ap
https://lists.debian.org/debian-lts-announce/2021/02/msg00005.html Mailing ListThird Party Advisory
https://security.netapp.com/advisory/ntap-20210226-0002/ Third Party Advisory
https://support.apple.com/kb/HT212529 Third Party Advisory
https://support.apple.com/kb/HT212530 Third Party Advisory
https://support.apple.com/kb/HT212531 Third Party Advisory
https://www.debian.org/security/2021/dsa-4845 Third Party Advisory

Track CVE-2020-36227 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-43300Apple iOS, iPadOS and macOS out-of-bounds write via malicious imageAn out-of-bounds write in Apple iOS, iPadOS and macOS is triggered when processing a malicious image file, causing memory corruption. Apple states th…KEVEPSS 22%analysed10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2025-24085Apple iOS, iPadOS, macOS, tvOS, visionOS, watchOS Use-After-Free Privilege EscalationA use-after-free flaw in Apple's operating systems was fixed through improved memory management in iOS 18.3, iPadOS 18.3 and 17.7.6, macOS Sequoia 15…KEVEPSS 18%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-65400Apple macOS Screen Sharing authentication bypassAn improper authentication flaw in Apple macOS Screen Sharing allows a network attacker to authenticate without valid credentials. Apple fixed it via…KEVEPSS 1.2%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed

Source: NIST National Vulnerability Database (record CVE-2020-36227), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.