{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-2487 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-2487 is a medium-severity vulnerability in Red Hat Directory Server 12, published on 18 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-2487 and fix it if it is affected.\n\nWhat it is: CVE-2025-2487 is a medium-severity vulnerability in Red Hat Directory Server 12, published on 18 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-2487 in the wild and no public exploit code.\n\nAffected product: Red Hat Directory Server 12. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-2487/ (Markdown: https://insights.sbomify.com/CVE-2025-2487/index.md)","id":"CVE-2025-2487","markdown":"https://insights.sbomify.com/CVE-2025-2487/index.md","name":"CVE-2025-2487","record":{"aliases":["ALSA-2025:4491","ALSA-2025:7395","DEBIAN-CVE-2025-2487","GHSA-33fh-4pvq-9x35","GHSA-426r-w669-66gw","OESA-2025-1373","OESA-2025-1374","RHSA-2025:3663","RHSA-2025:3670","RHSA-2025:4491","RHSA-2025:7395","RLSA-2025:4491","RLSA-2025:7395","UBUNTU-CVE-2025-2487","openSUSE-SU-2025:14934-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"LDAP Directory Server","requires_auth":"high_privilege","summary":"A privileged user can cause a denial of service in the 389-ds-base LDAP server by triggering a null pointer dereference during a Modify DN operation.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"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.","ecosystems":["AlmaLinux:9","Red Hat:directory_server_eus:12.4::el9","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::crb","Rocky Linux:9","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"389-ds-base: null pointer dereference leads to denial of service","id":"CVE-2025-2487","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2025"},"n_packages":61,"n_references":7,"next":{"headline":"XSS in Profelis Informatics' SambaBox","id":"CVE-2025-2488"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/almalinux/389-ds-base","source":"ALSA-2025:4491"},{"ecosystem":"AlmaLinux:9","fixed":["2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/almalinux/389-ds-base","source":"ALSA-2025:7395"},{"ecosystem":"AlmaLinux:9","fixed":["2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/almalinux/389-ds-base-devel","source":"ALSA-2025:4491"},{"ecosystem":"AlmaLinux:9","fixed":["2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/almalinux/389-ds-base-devel","source":"ALSA-2025:7395"},{"ecosystem":"AlmaLinux:9","fixed":["2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/almalinux/389-ds-base-libs","source":"ALSA-2025:4491"},{"ecosystem":"AlmaLinux:9","fixed":["2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/almalinux/389-ds-base-libs","source":"ALSA-2025:7395"},{"ecosystem":"AlmaLinux:9","fixed":["2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/almalinux/389-ds-base-snmp","source":"ALSA-2025:4491"},{"ecosystem":"AlmaLinux:9","fixed":["2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/almalinux/389-ds-base-snmp","source":"ALSA-2025:7395"},{"ecosystem":"AlmaLinux:9","fixed":["2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/almalinux/python3-lib389","source":"ALSA-2025:4491"},{"ecosystem":"AlmaLinux:9","fixed":["2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/almalinux/python3-lib389","source":"ALSA-2025:7395"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-devel","purl":"pkg:rpm/redhat/389-ds-base-devel","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-libs-debuginfo","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-snmp-debuginfo","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"cockpit-389-ds","purl":"pkg:rpm/redhat/cockpit-389-ds","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:directory_server_eus:12.4::el9","fixed":["0:2.4.5-12.module+el9dsrv+22976+238a2ead"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/redhat/python3-lib389","source":"RHSA-2025:3670"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base","purl":"pkg:rpm/redhat/389-ds-base","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs","purl":"pkg:rpm/redhat/389-ds-base-libs","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-libs-debuginfo","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-libs-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-libs-debuginfo","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp","purl":"pkg:rpm/redhat/389-ds-base-snmp","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-snmp-debuginfo","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-snmp-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-snmp-debuginfo","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/redhat/python3-lib389","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"python3-lib389","purl":"pkg:rpm/redhat/python3-lib389","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debuginfo","purl":"pkg:rpm/redhat/389-ds-base-debuginfo","source":"RHSA-2025:7395"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:2.5.2-9.el9_5"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2025:4491"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:2.6.1-8.el9_6"],"introduced":["0"],"last_affected":[],"package":"389-ds-base-debugsource","purl":"pkg:rpm/redhat/389-ds-base-debugsource","source":"RHSA-2025:7395"}],"prev":{"headline":"UEFI Shell accessible in AAVMF with Secure Boot enabled on Ubuntu","id":"CVE-2025-2486"},"products":["Red Hat Directory Server 12","Red Hat Directory Server 12.4 EUS for RHEL 9","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.4 Extended Update Support"],"published":"2025-03-18","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-30","vendors":["Red Hat"]},"summary":"A privileged user can cause a denial of service in the 389-ds-base LDAP server by triggering a null pointer dereference during a Modify DN operation.","url":"https://insights.sbomify.com/CVE-2025-2487/"}