← Vulnerability feed

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

CVE-2020-36221: OpenLDAP slapd integer underflow crashes on Certificate Exact Assertion

Openldap · Openldap

OpenLDAP before 2.4.57 contains an integer underflow in slapd's Certificate Exact Assertion processing (schema_init.c serialNumberAndIssuerCheck). A crafted certificate assertion triggers the underflow and crashes the daemon, causing denial of service. The flaw is remotely reachable without authentication, so any exposed LDAP service is at risk of repeated outages.

7.5 CVSS 3.1 High EPSS 85% · top 0.3% CWE-191 · CWE-191
7.5CVSS 3.1 base score, v2 5.0
85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
32References
17 Jun 2026Last modified by NVD

Description

An integer underflow was discovered in OpenLDAP before 2.4.57 leading to slapd crashes in the Certificate Exact Assertion processing, resulting in denial of service (schema_init.c serialNumberAndIssuerCheck).

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: high.

high priorityRemote, unauthenticated denial of service with a very high EPSS score, though no KEV listing or documented exploitation.

What it is

OpenLDAP before 2.4.57 contains an integer underflow in slapd's Certificate Exact Assertion processing (schema_init.c serialNumberAndIssuerCheck). A crafted certificate assertion triggers the underflow and crashes the daemon, causing denial of service. The flaw is remotely reachable without authentication, so any exposed LDAP service is at risk of repeated outages.

Impact

An attacker can crash slapd, taking down directory authentication and any services that depend on it. No data confidentiality or integrity loss is described; the effect is availability only.

Attack surface

Reached over the network via the LDAP service (CVSS vector AV:N/AC:L/PR:N/UI:N), with no authentication or user interaction required. The vulnerable path is Certificate Exact Assertion processing in slapd.

Exploitation

Not listed in CISA KEV and no public exploit or ransomware use is documented in the record, but EPSS is very high (0.842 probability, 99.7th percentile), indicating elevated likelihood of attempted exploitation. References are patches, vendor advisories and third-party advisories only.

What to do

  • Upgrade OpenLDAP to 2.4.57 or later, applying the vendor commits 38ac838e and 58c1748e.
  • Apply the Debian DSA-4845 and Apple security updates for affected packages and macOS builds.
  • Restrict network access to slapd so only trusted clients can reach the LDAP listener.
  • Monitor slapd for unexpected restarts and alert on crash loops.

Detection

  • Watch for slapd process crashes or restarts correlated with inbound LDAP traffic.
  • Inspect LDAP requests containing Certificate Exact Assertion filters for malformed or unusual serialNumber/issuer values.
  • Baseline normal LDAP query patterns and alert on anomalous assertion-based searches from untrusted sources.

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

Affected products

4 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=9404 Issue TrackingVendor Advisory
https://bugs.openldap.org/show_bug.cgi?id=9424 Issue TrackingVendor Advisory
https://git.openldap.org/openldap/openldap/-/commit/38ac838e4150c626bbfa0082b7e2cf3a2bb4df31 PatchVendor Advisory
https://git.openldap.org/openldap/openldap/-/commit/58c1748e81c843c5b6e61648d2a4d1d82b47e842 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=9404 Issue TrackingVendor Advisory
https://bugs.openldap.org/show_bug.cgi?id=9424 Issue TrackingVendor Advisory
https://git.openldap.org/openldap/openldap/-/commit/38ac838e4150c626bbfa0082b7e2cf3a2bb4df31 PatchVendor Advisory
https://git.openldap.org/openldap/openldap/-/commit/58c1748e81c843c5b6e61648d2a4d1d82b47e842 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-36221 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-36221), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.