{
  "id": "CVE-2026-15722",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-15722",
  "published_at": "2026-07-31T09:18:50.308Z",
  "title": "389-ds-base: 389-ds-base: pre-authentication stack buffer overflow in get_ruvelement_from_berval() via unbounded replica id parsing",
  "vendor": "Red Hat",
  "product": "Red Hat Directory Server 11.5 E4S for RHEL 8",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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 stack buffer overflow flaw was found in 389 Directory Server (389-ds-base). The get_ruvelement_from_berval() function in repl5_ruv.c copies digit characters from a network-supplied RUV berval into a fixed 16-byte stack buffer without bounds checking. A remote unauthenticated attacker can crash the LDAP server by sending a crafted StartNSDS50ReplicationRequest extended operation containing a replica ID field with more than 16 digit characters. The overflow occurs during payload decoding, before any authorization check. Stack protectors limit impact to denial of service.",
  "cwe": "CWE-121",
  "cpes": [
    "cpe:2.3:a:redhat:directory_server:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:redhat:directory_server:12.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:389_directory_server:-:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 11.5 E4S for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "8060020260908152739.0ca98e7e"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 11.7 E4S for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "8080020260806114250.f969626e"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 11.9 for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "8100020260803140625.37ed7c03"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 12.2 E4S for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "9020020260730155601.1674d574"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Directory Server 12.4 E4S for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "9040020260810131422.1674d574"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:3.2.0-9.el10_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.0 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:3.0.6-20.el10_0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:1.3.11.1-14.el7_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "8100020260806150504.25e700aa"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "8040020260803141511.96015a92"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "8040020260803141511.96015a92"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "8060020260806120442.824efc52"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "8060020260806120442.824efc52"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "8080020260806114228.6dbb3803"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "8080020260806114228.6dbb3803"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:2.8.0-9.el9_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:2.2.4-20.el9_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:2.4.5-27.el9_4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.6.1-23.el9_6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Directory Server 11.5 E4S for RHEL 8 to 8060020260908152739.0ca98e7e or later.",
      "Upgrade Red Hat Directory Server 11.7 E4S for RHEL 8 to 8080020260806114250.f969626e or later.",
      "Upgrade Red Hat Directory Server 11.9 for RHEL 8 to 8100020260803140625.37ed7c03 or later.",
      "Upgrade Red Hat Directory Server 12.2 E4S for RHEL 9 to 9020020260730155601.1674d574 or later.",
      "Upgrade Red Hat Directory Server 12.4 E4S for RHEL 9 to 9040020260810131422.1674d574 or later.",
      "Upgrade Red Hat Enterprise Linux 10 to 0:3.2.0-9.el10_2 or later.",
      "Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:3.0.6-20.el10_0 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.3.11.1-14.el7_9 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 8100020260806150504.25e700aa or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 8040020260803141511.96015a92 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 8040020260803141511.96015a92 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 8060020260806120442.824efc52 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 8060020260806120442.824efc52 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 8080020260806114228.6dbb3803 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 8080020260806114228.6dbb3803 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:2.8.0-9.el9_8 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:2.2.4-20.el9_2 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:2.4.5-27.el9_4 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:2.6.1-23.el9_6 or later."
    ],
    "workarounds": [
      "Disable anonymous access by setting nsslapd-allow-anonymous-access to 'off' or 'rootdse' in cn=config. Alternatively, restrict network access to the LDAP port to trusted replication partners only using firewall rules."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:55421"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:55422"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:55423"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:55424"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:55425"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:55426"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:55530"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:55532"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
