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
    • 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-27497

CVE-2025-27497: OpenDJ LDAP Directory Service DoS Flaw

CVE-2025-27497 is a denial-of-service vulnerability in OpenDJ LDAPv3 directory service that renders servers unresponsive when alias loops are dereferenced. This article covers technical details, affected versions, and fixes.

Published: May 11, 2026

CVE-2025-27497 Overview

CVE-2025-27497 is a denial-of-service (DoS) vulnerability in OpenDJ, an LDAPv3 compliant directory service maintained by the Open Identity Platform. Versions prior to 4.9.3 enter an unresponsive state when processing an ldapsearch request against an alias entry that participates in an alias loop, provided the request uses alias dereferencing set to always. The server stops responding to all subsequent LDAP requests without crashing or generating restart events. Operators must manually restart the process to recover service. The flaw is tracked under CWE-835: Loop with Unreachable Exit Condition.

Critical Impact

An unauthenticated network attacker can render an OpenDJ directory service unresponsive to all LDAP requests by issuing a single search query against a looped alias entry.

Affected Products

  • OpenIdentityPlatform OpenDJ versions prior to 4.9.3
  • Any LDAP-dependent application relying on a vulnerable OpenDJ backend
  • Identity and access management stacks using OpenDJ as an authentication directory

Discovery Timeline

  • 2025-03-05 - CVE-2025-27497 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-27497

Vulnerability Analysis

The vulnerability resides in the local backend search operation handler of OpenDJ. When an LDAP client submits a search request with the derefAliases flag set to always, the server resolves alias entries to their target distinguished names (DNs) before evaluating the search base. If two or more alias entries reference each other in a cycle, the dereferencing routine follows the chain indefinitely. The search thread never exits the resolution loop, which blocks the worker and prevents the server from processing additional LDAP requests.

The condition does not corrupt directory data. The Berkeley DB JE backend remains consistent, and a controlled restart returns the service to a healthy state. However, the affected process must be terminated externally because the LDAP listener no longer responds to administrative requests.

Root Cause

The root cause is a missing cycle-detection check in LocalBackendSearchOperation.java. The pre-patch code dereferenced alias entries iteratively without tracking which DNs had already been visited. The fix introduces a HashSet<DN> to record visited alias DNs and aborts dereferencing when a repeat entry is encountered, eliminating the infinite loop.

Attack Vector

Exploitation requires network reachability to the LDAP listener and the ability to issue a search request. No authentication is required when anonymous binds or self-service search are permitted on the targeted naming context. An attacker who can create or influence directory entries can plant the alias loop, after which any consumer of the directory that performs alias dereferencing can trigger the condition. A single crafted search request is sufficient to disable the service.

java
// Patch excerpt: LocalBackendSearchOperation.java
// Adds visited-DN tracking to break alias dereference loops.
 * Copyright 2008-2010 Sun Microsystems, Inc.
 * Portions Copyright 2011-2016 ForgeRock AS.
- * Portions Copyright 2024 3A Systems, LLC.
+ * Portions Copyright 2024-2025 3A Systems, LLC.
 */
package org.opends.server.workflowelement.localbackend;

+import java.util.HashSet;
+import java.util.Set;
import java.util.concurrent.atomic.AtomicBoolean;

import org.forgerock.i18n.slf4j.LocalizedLogger;

Source: OpenDJ commit 08aee47

Detection Methods for CVE-2025-27497

Indicators of Compromise

  • LDAP search requests containing derefAliases=always targeting alias entries on a vulnerable OpenDJ instance
  • Directory entries of objectClass: alias whose aliasedObjectName attribute forms a cycle with another alias entry
  • OpenDJ worker threads stuck in LocalBackendSearchOperation frames with no progression in access logs

Detection Strategies

  • Audit the directory for alias entries and verify that no aliasedObjectName chain forms a cycle
  • Alert on sudden cessation of OpenDJ access log entries while the JVM process remains alive
  • Inspect search request traffic for repeated derefAliases=3 (always) values originating from unexpected clients

Monitoring Recommendations

  • Track LDAP response latency and request throughput per backend; flag prolonged zero-throughput windows
  • Monitor OpenDJ JVM thread states for workers blocked inside alias resolution call paths
  • Forward OpenDJ access and error logs to a centralized analytics platform and correlate with service-availability probes

How to Mitigate CVE-2025-27497

Immediate Actions Required

  • Upgrade all OpenDJ instances to version 4.9.3 or later, which contains the official fix
  • Restrict network exposure of the LDAP listener to trusted clients using firewall or service mesh policies
  • Review existing alias entries and remove or correct any aliasedObjectName references that form loops

Patch Information

The vulnerability is fixed in OpenDJ 4.9.3. The corrective change is committed in OpenDJ commit 08aee47 and documented in GitHub Security Advisory GHSA-93qr-h8pr-4593. The patch adds a HashSet-based visited-DN tracker inside the local backend search operation to terminate alias dereferencing when a cycle is detected.

Workarounds

  • Disable anonymous search access and require authentication on naming contexts that contain alias entries
  • Configure client applications to use derefAliases=never or derefAliases=finding instead of always where feasible
  • Apply access control instructions (ACIs) that block write access to aliasedObjectName for non-administrative accounts to prevent attacker-introduced loops
bash
# Verify installed OpenDJ version and upgrade path
./bin/status --offline | grep -i version

# After upgrading, validate alias entries for cycles
ldapsearch -H ldap://opendj.example.com -D "cn=Directory Manager" -W \
  -b "dc=example,dc=com" "(objectClass=alias)" dn aliasedObjectName

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOpendj

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-835
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-93qr-h8pr-4593
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
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