{
  "id": "CVE-2025-14905",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-14905",
  "published_at": "2026-02-23T15:41:47.976Z",
  "title": "389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer overflow",
  "vendor": "Red Hat",
  "product": "Red Hat Directory Server 11.5 E4S for RHEL 8",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in the 389-ds-base server. A heap buffer overflow vulnerability exists in the `schema_attr_enum_callback` function within the `schema.c` file. This occurs because the code incorrectly calculates the buffer size by summing alias string lengths without accounting for additional formatting characters. When a large number of aliases are processed, this oversight can lead to a heap overflow, potentially allowing a remote attacker to cause a Denial of Service (DoS) or achieve Remote Code Execution (RCE).",
  "cwe": "CWE-122",
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 11.5 E4S for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "8060020260303152239.0ca98e7e"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 11.7 E4S for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "8080020260227193008.f969626e"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 11.9 for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "8100020260312105752.37ed7c03"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 12.2 E4S for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "9020020260304180546.1674d574"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 12.4 EUS for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "9040020260225135630.1674d574"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:3.1.3-7.el10_1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.0 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:3.0.6-17.el10_0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:1.3.11.1-11.el7_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "8100020260312103235.25e700aa"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.2 Advanced Update Support",
        "ranges": null,
        "fixed_in": [
          "8020020260303204738.dbc46ba7"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "8040020260303172348.96015a92"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "8040020260303172348.96015a92"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "8060020260303144613.824efc52"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "8060020260303144613.824efc52"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "8060020260303144613.824efc52"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "8080020260227183930.6dbb3803"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "8080020260227183930.6dbb3803"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:2.7.0-10.el9_7"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:2.0.14-5.el9_0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:2.2.4-17.el9_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.4.5-24.el9_4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.6.1-20.el9_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 13.1",
        "ranges": null,
        "fixed_in": [
          "1772040913"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Directory Server 11.5 E4S for RHEL 8 to 8060020260303152239.0ca98e7e or later.",
      "Upgrade Red Hat Directory Server 11.7 E4S for RHEL 8 to 8080020260227193008.f969626e or later.",
      "Upgrade Red Hat Directory Server 11.9 for RHEL 8 to 8100020260312105752.37ed7c03 or later.",
      "Upgrade Red Hat Directory Server 12.2 E4S for RHEL 9 to 9020020260304180546.1674d574 or later.",
      "Upgrade Red Hat Directory Server 12.4 EUS for RHEL 9 to 9040020260225135630.1674d574 or later.",
      "Upgrade Red Hat Enterprise Linux 10 to 0:3.1.3-7.el10_1 or later.",
      "Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:3.0.6-17.el10_0 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.3.11.1-11.el7_9 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 8100020260312103235.25e700aa or later.",
      "Upgrade Red Hat Enterprise Linux 8.2 Advanced Update Support to 8020020260303204738.dbc46ba7 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 8040020260303172348.96015a92 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 8040020260303172348.96015a92 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 8060020260303144613.824efc52 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 8060020260303144613.824efc52 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 8060020260303144613.824efc52 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 8080020260227183930.6dbb3803 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 8080020260227183930.6dbb3803 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:2.7.0-10.el9_7 or later.",
      "Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 0:2.0.14-5.el9_0 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:2.2.4-17.el9_2 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 0:2.4.5-24.el9_4 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:2.6.1-20.el9_6 or later.",
      "Upgrade Red Hat Directory Server 13.1 to 1772040913 or later."
    ],
    "workarounds": [
      "Restrict network access to the 389-ds-base server to only trusted hosts and networks using firewall rules. Additionally, ensure that administrative access to the server is strictly limited to authorized personnel with strong authentication, as exploitation requires high privileges. This reduces the attack surface and the likelihood of an attacker gaining the necessary privileges to trigger the heap overflow."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:3189"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:3208"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:3379"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:3504"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:4207"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:4661"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:4720"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:5196"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
