CVE-2025-2487: 389-ds-base: null pointer dereference leads to denial of service

Published Mar 18, 2025
·
Updated

A flaw was found in 389-ds-base. The problem occurs when issuing a Modify DN LDAP operation through the ldap protocol (using a TCP-IP or Unix socket as defined in the LDAP RFC https://datatracker.ietf.org/doc/html/rfc4511#section-4.9) If it moves an ldap entry in the DIT at the same time that a failing operation impacts its parent entry.

Other sources

A flaw was found in the 389-ds-base LDAP Server. This issue occurs when issuing a Modify DN LDAP operation through the ldap protocol, when the function return value is not tested and a NULL pointer is dereferenced. If a privileged user performs a ldap MODDN operation after a failed operation, it could lead to a Denial of Service (DoS) or system crash.

NVD

Affected Software

1 affected component
389 Project 389-ds-base

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable or restrict Modify DN (MODDN) LDAP operations or remove modify DN privileges from accounts that do not require them until a vendor-provided fix is available.

    389-ds-base (LDAP server) Modify DN (MODDN) operations = disabled or restricted to trusted administrators
  2. Compensating control

    Restrict access to the LDAP service (LDAP over TCP or Unix socket) to trusted management hosts/IPs using firewall rules, host-based ACLs, or socket permissions to prevent untrusted users or networks from issuing MODDN operations until a fix is applied.

Event History

Mar 18, 2025
Data Sourced
via Red Hat·02:27 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·04:25 PM
Data Sourced
via MITRE·04:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-2487?

CVE-2025-2487 has been classified with a high severity rating due to its potential impact on LDAP operations.

2

How do I fix CVE-2025-2487?

To fix CVE-2025-2487, it is recommended to update the 389-ds-base package to the latest version provided by Red Hat.

3

What systems are affected by CVE-2025-2487?

CVE-2025-2487 affects systems running the Red Hat Directory Server version of 389-ds-base.

4

What specific operations are vulnerable in CVE-2025-2487?

CVE-2025-2487 specifically affects the Modify DN LDAP operation when performed through the LDAP protocol.

5

Is there a workaround for CVE-2025-2487?

Currently, no specific workaround is provided for CVE-2025-2487; updating the software is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203