cve.bz

CVE-2025-2487 NULL Pointer Dereference

4.9 mediumEPSS 0.6%Fix available

Medium (4.9). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Directory Server 12.4 EUS for RHEL 9: fixed in 9040020250325181857.1674d574
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:2.5.2-9.el9_5
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:2.6.1-8.el9_6
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support: fixed in 0:2.4.5-14.el9_4
  • Debian, Red Hat, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-2487 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-2487?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-2487?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-2487 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Directory Server 12.4 EUS for RHEL 99040020250325181857.1674d574
Red Hat Enterprise Linux 90:2.5.2-9.el9_5
Red Hat Enterprise Linux 90:2.6.1-8.el9_6
Red Hat Enterprise Linux 9.4 Extended Update Support0:2.4.5-14.el9_4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12389-ds-baseno fix listedDEBIAN-CVE-2025-2487
Debian13389-ds-base3.1.2+dfsg1-1DEBIAN-CVE-2025-2487
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 more389-ds-baseno fix listedUBUNTU-CVE-2025-2487
Red Hatdirectory_server_eus:12.4::el9389-ds-base, cockpit-389-ds, python3-lib389 and 7 more0:2.4.5-12.module+el9dsrv+22976+238a2eadRHSA-2025:3670
Red Hatenterprise_linux:9::appstream389-ds-base, python3-lib389, 389-ds-base-libs and 5 more0:2.5.2-9.el9_5RHSA-2025:4491
Red Hatenterprise_linux:9::appstream389-ds-base, python3-lib389, 389-ds-base-libs and 5 more0:2.6.1-8.el9_6RHSA-2025:7395
Red Hatenterprise_linux:9::crb389-ds-base-devel, 389-ds-base-debuginfo, 389-ds-base-debugsource and 2 more0:2.5.2-9.el9_5RHSA-2025:4491
Red Hatenterprise_linux:9::crb389-ds-base-devel, 389-ds-base-debuginfo, 389-ds-base-debugsource and 2 more0:2.6.1-8.el9_6RHSA-2025:7395
Red Hatrhel_eus:9.4::appstream389-ds-base, python3-lib389, 389-ds-base-libs and 4 more0:2.4.5-14.el9_4RHSA-2025:3663
Red Hatrhel_eus:9.4::crb389-ds-base-devel, 389-ds-base-debuginfo, 389-ds-base-debugsource and 2 more0:2.4.5-14.el9_4RHSA-2025:3663
openSUSETumbleweed389-ds3.1.2~git55.7fbd4526-1.1openSUSE-SU-2025:14934-1
AlmaLinux9389-ds-base, python3-lib389, 389-ds-base-libs and 2 more2.5.2-9.el9_5ALSA-2025:4491
AlmaLinux9389-ds-base, python3-lib389, 389-ds-base-libs and 2 more2.6.1-8.el9_6ALSA-2025:7395
Rocky Linux9389-ds-base0:2.5.2-9.el9_5RLSA-2025:4491
Rocky Linux9389-ds-base0:2.6.1-8.el9_6RLSA-2025:7395

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this as a Moderate severity since the impact is limited to privileged users who can perform the operations, leading to an impact on server Availability.

This issue is not reproducible in Red Hat Enterprise Linux (RHEL) 10 due to the way the RHEL 10 database write operations are serialized, therefore, it is not affected.

389-ds-base has been fixed in RHEL 9.5. Starting from RHDS 12.5, it uses 389-ds-base from RHEL-9.5. Hence, it's actually not-affected and fix will be picked after rebase from RHEL-9.5.

Red Hat's mitigation

Currently, no mitigation is available for this vulnerability.

ProductPackageStateAdvisory
Red Hat Directory Server 12.4 EUS for RHEL 9redhat-ds:12-9040020250325181857.1674d574Fixed 2025-04-08RHSA-2025:3670
Red Hat Enterprise Linux 9389-ds-base-0:2.5.2-9.el9_5Fixed 2025-05-06RHSA-2025:4491
Red Hat Enterprise Linux 9389-ds-base-0:2.6.1-8.el9_6Fixed 2025-05-13RHSA-2025:7395
Red Hat Enterprise Linux 9.4 Extended Update Support389-ds-base-0:2.4.5-14.el9_4Fixed 2025-04-08RHSA-2025:3663
Red Hat Directory Server 12redhat-ds:12/389-ds-baseNot affected
Red Hat Enterprise Linux 10389-ds-baseNot affected
Red Hat Enterprise Linux 6389-ds-baseOut of support scope
Red Hat Enterprise Linux 7389-ds-baseOut of support scope
Red Hat Enterprise Linux 8389-ds:1.4/389-ds-baseOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-2487.

References

Check your stackJSON