CVE-2025-2487389-ds-base: null pointer dereference leads to denial of service
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | 389-ds-base | Fix pending | UBUNTU-CVE-2025-2487 | |
| Ubuntu 26.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2025-2487 | |
| Ubuntu 25.10 | 389-ds-base | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-2487 | |
| Ubuntu 24.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2025-2487 | |
| Ubuntu 22.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2025-2487 | |
| Ubuntu 20.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2025-2487 | |
| Ubuntu 18.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2025-2487 | |
| Ubuntu 16.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2025-2487 | |
| Debian 13 | 389-ds-base | Fixed | 3.1.2+dfsg1-1 | DEBIAN-CVE-2025-2487 |
| Debian 12 | 389-ds-base | Fix pending | DEBIAN-CVE-2025-2487 | |
| Red Hat Enterprise Linux 10 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-bdb | Not affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-snmp | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-lib389 | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base | Fixed | 0:2.5.2-9.el9_5 | RHSA-2025:7395 |
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Fixed | 0:2.5.2-9.el9_5 | RHSA-2025:7395 |
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Fixed | 0:2.6.1-8.el9_6 | RHSA-2025:4491 |
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Fixed | 0:2.5.2-9.el9_5 | RHSA-2025:7395 |
| Red Hat Enterprise Linux 9 | python3-lib389 | Fixed | 0:2.5.2-9.el9_5 | RHSA-2025:7395 |
| Red Hat Enterprise Linux 8 | 389-ds-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | cockpit-389-ds | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | python3-lib389 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | 389-ds-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-snmp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-libs | Will not fix Out of support scope | ||
| AlmaLinux 9 | 389-ds-base | Fixed | 2.6.1-8.el9_6 | ALSA-2025:4491 |
| AlmaLinux 9 | 389-ds-base-devel | Fixed | 2.6.1-8.el9_6 | ALSA-2025:4491 |
| AlmaLinux 9 | 389-ds-base-libs | Fixed | 2.6.1-8.el9_6 | ALSA-2025:4491 |
| AlmaLinux 9 | 389-ds-base-snmp | Fixed | 2.5.2-9.el9_5 | ALSA-2025:7395 |
| AlmaLinux 9 | python3-lib389 | Fixed | 2.6.1-8.el9_6 | ALSA-2025:4491 |
| Rocky Linux 9 | 389-ds-base | Fixed | 0:2.5.2-9.el9_5 | RLSA-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.
- 389-ds-base: affected: 2.4.0 to 2.4.6, 2.5.0 to 2.5.3, 2.6.0 to 2.6.1, 3.0.0 to 3.0.6
- Red Hat Directory Server 12.4 EUS for RHEL 9
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.4 Extended Update Support
- Red Hat Directory Server 12
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Workaround: Currently, no mitigation is available for this vulnerability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2025:3663 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:3670 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:4491 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:7395 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2025:3663
- https://access.redhat.com/errata/RHSA-2025:3670
- https://access.redhat.com/errata/RHSA-2025:4491
- https://access.redhat.com/errata/RHSA-2025:7395
- https://access.redhat.com/security/cve/CVE-2025-2487
- https://bugzilla.redhat.com/show_bug.cgi?id=2353071
- https://github.com/389ds/389-ds-base/security/advisories/GHSA-426r-w669-66gw
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.