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-2025-14905

CVE-2025-14905: 389 Directory Server RCE Vulnerability

CVE-2025-14905 is a heap buffer overflow in 389-ds-base server that enables remote code execution. Attackers can exploit schema processing flaws to trigger DoS or RCE. This article covers technical details and mitigation.

Published: February 27, 2026

CVE-2025-14905 Overview

A heap buffer overflow vulnerability has been identified in the 389-ds-base directory server. The flaw exists in the schema_attr_enum_callback function within the schema.c file, where improper buffer size calculation leads to memory corruption when processing attribute aliases. This vulnerability occurs because the code sums alias string lengths without accounting for additional formatting characters required during processing. When a large number of aliases are processed, this miscalculation can trigger a heap overflow condition.

Critical Impact

Remote attackers can exploit this heap overflow to cause Denial of Service (DoS) or potentially achieve Remote Code Execution (RCE) on affected 389-ds-base directory servers.

Affected Products

  • 389-ds-base directory server
  • Red Hat Enterprise Linux systems running 389-ds-base
  • Red Hat Directory Server deployments

Discovery Timeline

  • 2026-02-23 - CVE-2025-14905 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2025-14905

Vulnerability Analysis

This vulnerability is classified as CWE-122 (Heap-based Buffer Overflow). The flaw manifests in the schema handling component of the 389-ds-base server, specifically within the schema_attr_enum_callback function. During attribute schema processing, the function allocates a buffer based on the combined length of alias strings. However, the calculation fails to include space for delimiter characters, separators, and null terminators that are added during the enumeration process.

When an attacker provides a schema definition with numerous aliases, the accumulated formatting overhead exceeds the allocated buffer space. This results in heap memory being overwritten beyond the intended boundary, corrupting adjacent heap metadata and potentially other critical data structures.

Root Cause

The root cause is an off-by-many error in buffer size calculation within schema.c. The schema_attr_enum_callback function iterates through attribute aliases and calculates the required buffer size by summing the strlen() of each alias. This calculation neglects to account for separator characters (such as commas or spaces) inserted between aliases and any prefix/suffix formatting characters required by the schema format. As the number of aliases increases, the deficit between allocated and required space grows, eventually causing a heap buffer overflow.

Attack Vector

This vulnerability is exploitable over the network by authenticated attackers with high privileges (based on the CVSS vector indicating PR:H). An attacker with administrative or schema modification privileges on the directory server can craft malicious schema entries containing excessive attribute aliases. When the server processes these schema definitions—either during schema replication, LDAP schema modification operations, or server restart with corrupted schema files—the vulnerable function is triggered.

The overflow can corrupt heap management structures, potentially leading to:

  • Immediate service crash (Denial of Service)
  • Controlled memory corruption enabling arbitrary code execution
  • Persistent DoS if malicious schema is stored and triggers on each server restart

Detection Methods for CVE-2025-14905

Indicators of Compromise

  • Unexpected crashes of the ns-slapd directory server process with heap corruption errors
  • Core dumps showing memory corruption in schema_attr_enum_callback or related schema functions
  • Abnormal LDAP schema modification attempts with unusually large numbers of attribute aliases
  • Server log entries indicating schema parsing failures or memory allocation errors

Detection Strategies

  • Monitor directory server logs for repeated crashes or memory-related error messages
  • Implement LDAP audit logging to track schema modification operations and identify suspicious activity
  • Deploy memory corruption detection tools (such as AddressSanitizer in test environments) to identify overflow conditions
  • Review schema entries for attributes with an unusually high number of aliases

Monitoring Recommendations

  • Configure alerting for ns-slapd process crashes and automatic restart events
  • Enable detailed LDAP access logging to capture schema modification requests
  • Monitor system memory usage and heap allocation patterns for the directory service
  • Implement file integrity monitoring on schema configuration files

How to Mitigate CVE-2025-14905

Immediate Actions Required

  • Apply the security patches provided in Red Hat Security Advisories immediately
  • Restrict schema modification privileges to only essential administrative accounts
  • Review existing schema definitions for attributes with excessive alias configurations
  • Consider temporarily disabling remote schema modification capabilities if patching is delayed

Patch Information

Red Hat has released security advisories addressing this vulnerability. Affected systems should be updated using the appropriate advisory:

  • Red Hat Security Advisory RHSA-2026:3189
  • Red Hat Security Advisory RHSA-2026:3208
  • Red Hat Security Advisory RHSA-2026:3379

Additional technical details are available in the Red Hat CVE Analysis for CVE-2025-14905 and Red Hat Bugzilla Report #2423624.

Workarounds

  • Limit schema modification privileges to only highly trusted administrators until patches can be applied
  • Implement network-level access controls to restrict LDAP administrative operations to trusted management networks
  • Deploy intrusion detection rules to identify and block LDAP requests with abnormally large schema definitions
  • Consider running the directory server in a containerized or sandboxed environment to limit the impact of potential exploitation
bash
# Restrict schema modification access via ACL configuration
# Add to your 389-ds-base configuration to limit schema write access
dn: cn=schema
changetype: modify
add: aci
aci: (targetattr = "*")(version 3.0; acl "Restrict Schema Modifications"; deny (write) userdn != "ldap:///uid=schema-admin,ou=admins,dc=example,dc=com";)

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/Tech389 Ds Base

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • Red Hat Security Advisory RHSA-2026:3189

  • Red Hat Security Advisory RHSA-2026:3208

  • Red Hat Security Advisory RHSA-2026:3379

  • Red Hat CVE Analysis CVE-2025-14905

  • Red Hat Bugzilla Report #2423624
  • Related CVEs
  • CVE-2025-2487: 389-ds-base LDAP Server 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