The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2026-22185

CVE-2026-22185: OpenLDAP LMDB DoS Vulnerability

CVE-2026-22185 is a denial-of-service flaw in OpenLDAP LMDB that causes mdb_load to crash via malformed input. This post covers the heap buffer underflow issue, affected versions up to 0.9.14, and mitigation steps.

Updated: January 22, 2026

CVE-2026-22185 Overview

CVE-2026-22185 is a heap buffer underflow vulnerability in OpenLDAP Lightning Memory-Mapped Database (LMDB) versions up to and including 0.9.14, prior to commit 8e1fda8. The vulnerability exists in the readline() function of the mdb_load utility. When processing malformed input containing an embedded NUL byte, an unsigned offset calculation can underflow and cause an out-of-bounds read of one byte before the allocated heap buffer. This can cause mdb_load to crash, leading to a limited denial-of-service condition.

Critical Impact

Local attackers can crash the mdb_load utility by supplying specially crafted input files containing embedded NUL bytes, resulting in denial of service against database import operations.

Affected Products

  • OpenLDAP LMDB versions up to and including 0.9.14
  • OpenLDAP LMDB installations prior to commit 8e1fda8
  • Systems using mdb_load utility for database import operations

Discovery Timeline

  • 2026-01-07 - CVE-2026-22185 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2026-22185

Vulnerability Analysis

This vulnerability is classified as CWE-125 (Out-of-bounds Read). The flaw resides in the readline() function within the mdb_load utility, which is used to import data into LMDB databases. The core issue stems from improper handling of unsigned integer arithmetic when processing input data.

When the readline() function encounters malformed input containing an embedded NUL byte at an unexpected position, the offset calculation used to determine buffer positions can underflow. Since the offset variable is unsigned, the underflow wraps around to a very large value, causing the subsequent memory access to read one byte before the start of the allocated heap buffer.

The vulnerability requires local access to exploit, as an attacker must be able to provide a malicious input file to the mdb_load utility. While the impact is limited to denial of service (application crash), it can disrupt database administration and import operations in environments relying on LMDB.

Root Cause

The root cause is an integer underflow vulnerability in the readline() function. When parsing input lines, the function performs arithmetic operations on unsigned integer variables to calculate buffer offsets. The code fails to properly validate that the offset calculation will not underflow when processing input containing embedded NUL bytes at specific positions. This results in an unsigned integer wrapping to a large positive value, leading to an out-of-bounds memory read.

Attack Vector

The attack vector is local, requiring the attacker to have the ability to supply a malicious input file to the mdb_load utility. The exploitation scenario involves:

  1. An attacker crafts a malformed database dump file containing strategically placed embedded NUL bytes
  2. The malicious file is provided as input to the mdb_load utility during database import operations
  3. When readline() processes the malformed input, the unsigned offset underflows
  4. The underflow causes an out-of-bounds read of one byte before the heap buffer
  5. The invalid memory access triggers a crash, denying service to legitimate database import operations

The vulnerability does not require authentication or user interaction beyond providing the malicious input file. Technical details and analysis are available in the OpenLDAP Bug Tracking #10421 and the VulnCheck OpenLDAP Advisory.

Detection Methods for CVE-2026-22185

Indicators of Compromise

  • Unexpected crashes of the mdb_load process during database import operations
  • Core dumps or crash reports from mdb_load indicating segmentation faults or memory access violations
  • Presence of suspicious or malformed database dump files with embedded NUL bytes in unexpected positions
  • Repeated failed database import attempts with no clear explanation

Detection Strategies

  • Monitor mdb_load process execution for abnormal termination signals (SIGSEGV, SIGBUS)
  • Implement file integrity monitoring on database dump files before processing
  • Deploy endpoint detection to identify crash patterns associated with heap memory violations in LMDB utilities
  • Use SentinelOne's behavioral AI to detect exploitation attempts targeting memory corruption vulnerabilities

Monitoring Recommendations

  • Enable detailed logging for LMDB administrative utilities including mdb_load
  • Configure crash reporting and core dump collection for forensic analysis
  • Monitor for repeated execution of mdb_load with different input files, which may indicate exploitation attempts
  • Implement alerting on any process crashes involving LMDB utilities in production environments

How to Mitigate CVE-2026-22185

Immediate Actions Required

  • Update OpenLDAP LMDB to a version that includes commit 8e1fda8 or later
  • Validate and sanitize all input files before processing with mdb_load
  • Restrict access to the mdb_load utility to authorized administrators only
  • Review recent database import operations for any unexplained failures

Patch Information

The vulnerability has been addressed in OpenLDAP LMDB commit 8e1fda8. Organizations should update to the latest version of LMDB that includes this fix. Refer to the OpenLDAP Official Website for official release information and the OpenLDAP Bug Tracking #10421 for detailed patch information.

Additional security advisories and analysis are available from the Full Disclosure Mailing List Post.

Workarounds

  • Restrict execution of mdb_load to trusted input files from verified sources only
  • Implement input validation scripts to scan database dump files for embedded NUL bytes before processing
  • Run mdb_load operations in isolated environments or containers to limit the impact of potential crashes
  • Use file permission controls to prevent unauthorized users from supplying input files to the utility
bash
# Restrict mdb_load execution to specific users
chmod 750 /usr/bin/mdb_load
chown root:ldapadmin /usr/bin/mdb_load

# Verify input file does not contain embedded NUL bytes in text sections
if grep -q $'\\x00' input_file.txt; then
    echo "Warning: Input file contains embedded NUL bytes"
    exit 1
fi

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOpenldap

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-125
  • Technical References
  • OpenLDAP Bug Tracking #10421

  • Full Disclosure Mailing List Post

  • Full Disclosure Mailing List Post

  • OpenLDAP Official Website

  • VulnCheck OpenLDAP Advisory
  • Related CVEs
  • CVE-2021-27212: OpenLDAP Denial of Service Vulnerability

  • CVE-2020-36221: OpenLDAP Integer Underflow DoS 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