Skip to content
Heist/ feed
Back to feed
Medium

389-ds-base: null pointer dereference leads to denial of service

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-2487
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:11 UTC · Revision 1

Source evidence

389-ds-base: null pointer dereference leads to denial of service

core-osv · Original source

Published 18 Mar 2025, 16:25 UTC

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.

osv:CVE-2025-2487
Complete source record
{
  "id": "b1b6a992bf6684bee297f6cd575ad298fe9696f2b05e7f0840040a79b1ce1d8b",
  "url": "https://osv.dev/vulnerability/CVE-2025-2487",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "389-ds-base: null pointer dereference leads to denial of service",
    "summary": "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.",
    "evidence": "osv:CVE-2025-2487",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-2487",
      "aliases": [
        "CVE-2025-2487",
        "GHSA-426r-w669-66gw"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/389ds/389-ds-base",
              "type": "GIT",
              "events": [
                {
                  "introduced": "87efeb29ab66c826c6a7f0455c6ea244a6e85710"
                },
                {
                  "last_affected": "84d6ae0f4a21477644a3defa3a51f5ad8230e418"
                },
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "b7c575e5264237adcf9019048e02ac2c3a427622"
                },
                {
                  "last_affected": "66a9ee1c2eead76dcfbe5dbc3f0309ec3b50cf24"
                },
                {
                  "introduced": "d2e54ccd9c571e1326301fc72410bf166fb44067"
                },
                {
                  "last_affected": "5864298f44e5a1e18e20ffbb7748d58f45c69b0c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "last_affected": "2.4.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.5.0"
                      },
                      {
                        "last_affected": "2.5.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "last_affected": "3.0.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.6.0"
                      },
                      {
                        "last_affected": "2.6.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "389-ds-base-2.6.1",
            "389-ds-base-3.0.6",
            "389-ds-base-2.5.3",
            "389-ds-base-2.6.0",
            "389-ds-base-3.0.5",
            "389-ds-base-2.4.6",
            "389-ds-base-3.0.4",
            "389-ds-base-2.5.2",
            "389-ds-base-2.5.1",
            "389-ds-base-3.0.3",
            "389-ds-base-3.0.2",
            "389-ds-base-3.0.1",
            "389-ds-base-2.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2487.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.615438198Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://github.com/389ds/389-ds-base/",
        "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://github.com/389ds/389-ds-base/security/advisories/GHSA-426r-w669-66gw",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2487.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-2487",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2353071"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-476"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "9040020250325181857.1674d574"
                  },
                  {
                    "fixed": "0:2.5.2-9.el9_5"
                  },
                  {
                    "fixed": "0:2.6.1-8.el9_6"
                  },
                  {
                    "fixed": "0:2.4.5-14.el9_4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2487.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-2487",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507078,
  "published_at": "2025-03-18T16:25:43.712+00:00"
}