Vulnerability · Published Mar 18, 2025 · Assigned by redhat
CVE-2025-2487389-ds-base: null pointer dereference leads to denial of service
Medium 4.9
In plain English
A medium-severity null pointer dereference in 389-ds-base. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | 389-ds-base | 2.6.1-8.el9_6 | ALSA-2025:7395 |
| AlmaLinux:9 | 389-ds-base | 2.5.2-9.el9_5 | ALSA-2025:4491 |
| AlmaLinux:9 | 389-ds-base-devel | 2.5.2-9.el9_5 | ALSA-2025:4491 |
| AlmaLinux:9 | 389-ds-base-devel | 2.6.1-8.el9_6 | ALSA-2025:7395 |
| AlmaLinux:9 | 389-ds-base-libs | 2.6.1-8.el9_6 | ALSA-2025:7395 |
| AlmaLinux:9 | 389-ds-base-libs | 2.5.2-9.el9_5 | ALSA-2025:4491 |
| AlmaLinux:9 | 389-ds-base-snmp | 2.5.2-9.el9_5 | ALSA-2025:4491 |
| AlmaLinux:9 | 389-ds-base-snmp | 2.6.1-8.el9_6 | ALSA-2025:7395 |
| AlmaLinux:9 | python3-lib389 | 2.6.1-8.el9_6 | ALSA-2025:7395 |
| AlmaLinux:9 | python3-lib389 | 2.5.2-9.el9_5 | ALSA-2025:4491 |
| Debian:12 | 389-ds-base | no fix listed | DEBIAN-CVE-2025-2487 |
| Debian:13 | 389-ds-base | 3.1.2+dfsg1-1 | DEBIAN-CVE-2025-2487 |
| Rocky Linux:9 | 389-ds-base | 0:2.5.2-9.el9_5 | RLSA-2025:4491 |
| Rocky Linux:9 | 389-ds-base | 0:2.6.1-8.el9_6 | RLSA-2025:7395 |
| Ubuntu:22.04:LTS | 389-ds-base | no fix listed | UBUNTU-CVE-2025-2487 |
| Ubuntu:24.04:LTS | 389-ds-base | no fix listed | UBUNTU-CVE-2025-2487 |
| Ubuntu:25.10 | 389-ds-base | no fix listed | UBUNTU-CVE-2025-2487 |
| Ubuntu:26.04:LTS | 389-ds-base | no fix listed | UBUNTU-CVE-2025-2487 |
| Ubuntu:26.10 | 389-ds-base | no fix listed | UBUNTU-CVE-2025-2487 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 389-ds-base | 2.4.0 – through 2.4.62.5.0 – through 2.5.32.6.0 – through 2.6.13.0.0 – through 3.0.6 | |
| Red Hat | Red Hat Directory Server 12.4 EUS for RHEL 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | see references |
| Red Hat | Red Hat Directory Server 12 | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
References
- RHSA-2025:3663 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:3670 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:4491 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:7395 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-2487 vdb-entry, x_refsource_REDHAT
- RHBZ#2353071 issue-tracking, x_refsource_REDHAT
- https://github.com/389ds/389-ds-base/security/advisories/GHSA-426r-w669-66gw