Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-36221

CVE-2020-36221: OpenLDAP Integer Underflow DoS Vulnerability

CVE-2020-36221 is an integer underflow denial of service flaw in OpenLDAP that causes slapd crashes during Certificate Exact Assertion processing. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-36221 Overview

CVE-2020-36221 is an integer underflow vulnerability discovered in OpenLDAP before version 2.4.57. The flaw exists in the Certificate Exact Assertion processing within the slapd daemon, specifically in the serialNumberAndIssuerCheck function located in schema_init.c. When exploited, this vulnerability leads to slapd crashes, resulting in a denial of service condition that can disrupt LDAP directory services.

Critical Impact

Remote attackers can crash OpenLDAP slapd servers without authentication, causing denial of service to dependent authentication and directory services across enterprise environments.

Affected Products

  • OpenLDAP versions prior to 2.4.57
  • Debian Linux 9.0 and 10.0
  • Apple macOS and Mac OS X (multiple versions including 10.14.6 with various security updates)

Discovery Timeline

  • January 26, 2021 - CVE-2020-36221 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-36221

Vulnerability Analysis

This vulnerability is classified as CWE-191 (Integer Underflow). The flaw resides in OpenLDAP's certificate validation logic, specifically within the serialNumberAndIssuerCheck function in schema_init.c. During Certificate Exact Assertion processing, an arithmetic operation can result in an integer underflow condition. When the underflow occurs, it causes the slapd daemon to crash, effectively taking down LDAP services.

The network-accessible nature of this vulnerability means that an unauthenticated attacker can send specially crafted LDAP requests to trigger the integer underflow remotely. No user interaction is required for exploitation, and the attack complexity is low. While the vulnerability does not allow for data exfiltration or modification, the availability impact is significant as it can completely disrupt directory services.

Root Cause

The root cause is an integer underflow in the serialNumberAndIssuerCheck function within schema_init.c. The function performs arithmetic operations on certificate-related data during Certificate Exact Assertion validation without proper bounds checking. When specific input values are provided, the calculation can result in a value wrapping below zero, causing undefined behavior that leads to a crash of the slapd process.

Attack Vector

The attack is network-based and can be executed remotely without requiring authentication or user interaction. An attacker sends a maliciously crafted LDAP request containing certificate assertion data designed to trigger the integer underflow condition. When the vulnerable slapd daemon processes this request, the integer underflow occurs in the serialNumberAndIssuerCheck function, causing the daemon to crash and denying service to legitimate users.

The vulnerability affects systems using OpenLDAP for authentication, authorization, and directory services. Organizations relying on OpenLDAP for centralized user management, single sign-on, or application authentication are at risk of service disruption.

Detection Methods for CVE-2020-36221

Indicators of Compromise

  • Unexpected slapd daemon crashes or restarts in system logs
  • Core dumps or crash reports from slapd with stack traces pointing to schema_init.c or serialNumberAndIssuerCheck
  • Unusual LDAP requests containing malformed certificate assertion data
  • Repeated service interruptions in LDAP-dependent authentication systems

Detection Strategies

  • Monitor slapd process stability and set alerts for unexpected crashes or restarts
  • Implement LDAP query logging to identify malformed or suspicious certificate assertion requests
  • Deploy network intrusion detection rules to detect anomalous LDAP traffic patterns
  • Review system logs for crash signatures related to the schema_init.c module

Monitoring Recommendations

  • Enable comprehensive logging for the OpenLDAP slapd daemon including access and error logs
  • Set up automated monitoring for slapd process health with immediate alerting on crashes
  • Monitor network traffic to LDAP ports (389, 636) for unusual request patterns
  • Implement log aggregation to correlate slapd crashes with incoming LDAP requests

How to Mitigate CVE-2020-36221

Immediate Actions Required

  • Upgrade OpenLDAP to version 2.4.57 or later immediately
  • Apply vendor-specific security patches from Debian (DSA-4845) or Apple (HT212529, HT212530, HT212531)
  • Implement network segmentation to limit exposure of LDAP services
  • Configure firewall rules to restrict LDAP access to trusted networks and hosts only

Patch Information

OpenLDAP has released version 2.4.57 which addresses this vulnerability. The fixes are documented in OpenLDAP Bug #9404 and OpenLDAP Bug #9424. The specific commits addressing the issue are commit 38ac838 and commit 58c1748. The patched release is available at the OpenLDAP Release Tag 2.4.57.

Debian users should apply the security update referenced in Debian Security DSA-4845 and the Debian LTS Announcement. Apple users should refer to Apple Support Document HT212529, HT212530, and HT212531 for macOS updates.

Workarounds

  • Restrict network access to LDAP services using firewall rules to allow only trusted sources
  • Deploy a reverse proxy or load balancer with request filtering capabilities in front of LDAP servers
  • Implement rate limiting on LDAP connections to reduce the impact of potential denial of service attempts
  • Consider disabling Certificate Exact Assertion processing if not required in your environment
bash
# Example: Restrict LDAP access using iptables
iptables -A INPUT -p tcp --dport 389 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 636 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 389 -j DROP
iptables -A INPUT -p tcp --dport 636 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOpenldap

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability47.64%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-191
  • Technical References
  • Full Disclosure May 2021 #64

  • Full Disclosure May 2021 #65

  • Full Disclosure May 2021 #70

  • Apache BookKeeper Issue Thread 1

  • Apache BookKeeper Issue Thread 2

  • Debian LTS Announcement February 2021

  • NetApp Security Advisory 20210226

  • Apple Support Document HT212529

  • Apple Support Document HT212530

  • Apple Support Document HT212531

  • Debian Security DSA-4845
  • Vendor Resources
  • OpenLDAP Bug #9404

  • OpenLDAP Bug #9424

  • OpenLDAP Commit #38ac838

  • OpenLDAP Commit #58c1748

  • OpenLDAP Release Tag 2.4.57
  • Related CVEs
  • CVE-2026-22185: OpenLDAP LMDB DoS Vulnerability

  • CVE-2021-27212: OpenLDAP Denial of Service Vulnerability

  • CVE-2020-25710: OpenLDAP DoS Vulnerability Explained

  • CVE-2020-25709: OpenLDAP DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English