CVEfocus › CVE database › CVE-2025-2487

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

CVSS 4.9 MediumEPSS 1.1% (higher than 66% of CVEs)Published 2025-03-18Updated 2026-11-24Assigner: redhat

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.

CWE-476

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
5Fix pending
3Under investigation
15Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10389-ds-baseFix pendingUBUNTU-CVE-2025-2487
Ubuntu 26.04389-ds-baseUnder investigationUBUNTU-CVE-2025-2487
Ubuntu 25.10389-ds-baseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-2487
Ubuntu 24.04389-ds-baseUnder investigationUBUNTU-CVE-2025-2487
Ubuntu 22.04389-ds-baseUnder investigationUBUNTU-CVE-2025-2487
Ubuntu 20.04389-ds-baseFix pendingUBUNTU-CVE-2025-2487
Ubuntu 18.04389-ds-baseFix pendingUBUNTU-CVE-2025-2487
Ubuntu 16.04389-ds-baseFix pendingUBUNTU-CVE-2025-2487
Debian 13389-ds-baseFixed3.1.2+dfsg1-1DEBIAN-CVE-2025-2487
Debian 12389-ds-baseFix pendingDEBIAN-CVE-2025-2487
Red Hat Enterprise Linux 10389-ds-baseNot affected
Red Hat Enterprise Linux 10389-ds-base-bdbNot affected
Red Hat Enterprise Linux 10389-ds-base-develNot affected
Red Hat Enterprise Linux 10389-ds-base-libsNot affected
Red Hat Enterprise Linux 10389-ds-base-snmpNot affected
Red Hat Enterprise Linux 10python3-lib389Not affected
Red Hat Enterprise Linux 9389-ds-baseFixed0:2.5.2-9.el9_5RHSA-2025:7395
Red Hat Enterprise Linux 9389-ds-base-develFixed0:2.5.2-9.el9_5RHSA-2025:7395
Red Hat Enterprise Linux 9389-ds-base-libsFixed0:2.6.1-8.el9_6RHSA-2025:4491
Red Hat Enterprise Linux 9389-ds-base-snmpFixed0:2.5.2-9.el9_5RHSA-2025:7395
Red Hat Enterprise Linux 9python3-lib389Fixed0:2.5.2-9.el9_5RHSA-2025:7395
Red Hat Enterprise Linux 8389-ds-baseWill not fix
Out of support scope
Red Hat Enterprise Linux 8389-ds-base-develWill not fix
Out of support scope
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 8389-ds-base-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 8389-ds-base-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-389-dsWill not fix
Out of support scope
Red Hat Enterprise Linux 8python3-lib389Will not fix
Out of support scope
Red Hat Enterprise Linux 7389-ds-baseWill not fix
Out of support scope
Red Hat Enterprise Linux 7389-ds-base-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7389-ds-base-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7389-ds-base-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-baseWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-base-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-base-libsWill not fix
Out of support scope
AlmaLinux 9389-ds-baseFixed2.6.1-8.el9_6ALSA-2025:4491
AlmaLinux 9389-ds-base-develFixed2.6.1-8.el9_6ALSA-2025:4491
AlmaLinux 9389-ds-base-libsFixed2.6.1-8.el9_6ALSA-2025:4491
AlmaLinux 9389-ds-base-snmpFixed2.5.2-9.el9_5ALSA-2025:7395
AlmaLinux 9python3-lib389Fixed2.6.1-8.el9_6ALSA-2025:4491
Rocky Linux 9389-ds-baseFixed0:2.5.2-9.el9_5RLSA-2025:7395

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Currently, no mitigation is available for this vulnerability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.