---
id: CVE-2026-15722
title: A stack buffer overflow flaw was found in 389 Directory Server (389-ds-base)
summary: >-
  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 b…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-121
vendor: redhat
product: directory_server
affected:
  - directory_server = 11.0
  - directory_server = 12.0
  - 389_directory_server
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
published: '2026-07-31'
updated: '2026-08-07'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-15722'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-15722'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2499961'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.0083
epssPercentile: 0.5568
ingestedAt: '2026-08-08T15:23:02.452Z'
---

## Overview

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.

## Affected

- `directory_server = 11.0`
- `directory_server = 12.0`
- `389_directory_server`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
