CVEfocus › CVE database › CVE-2025-14905

CVE-2025-14905389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer…

CVSS 7.2 HighEPSS 1.8% (higher than 79% of CVEs)Published 2026-02-23Updated 2026-11-05Assigner: redhat

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-122

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

33Fixed
5Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10389-ds-baseFix pendingUBUNTU-CVE-2025-14905
Ubuntu 26.04389-ds-baseUnder investigationUBUNTU-CVE-2025-14905
Ubuntu 25.10389-ds-baseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-14905
Ubuntu 24.04389-ds-baseUnder investigationUBUNTU-CVE-2025-14905
Ubuntu 22.04389-ds-baseUnder investigationUBUNTU-CVE-2025-14905
Ubuntu 20.04389-ds-baseFix pendingUBUNTU-CVE-2025-14905
Ubuntu 18.04389-ds-baseFix pendingUBUNTU-CVE-2025-14905
Ubuntu 16.04389-ds-baseFix pendingUBUNTU-CVE-2025-14905
Debian 13389-ds-baseFixed3.1.2+dfsg1-1+deb13u1DEBIAN-CVE-2025-14905
Debian 12389-ds-baseFix pendingDEBIAN-CVE-2025-14905
Red Hat Enterprise Linux 10389-ds-baseFixed0:3.1.3-7.el10_1RHSA-2026:3208
Red Hat Enterprise Linux 10389-ds-base-bdbFixed0:3.1.3-7.el10_1RHSA-2026:3208
Red Hat Enterprise Linux 10389-ds-base-develFixed0:3.1.3-7.el10_1RHSA-2026:3208
Red Hat Enterprise Linux 10389-ds-base-libsFixed0:3.1.3-7.el10_1RHSA-2026:3208
Red Hat Enterprise Linux 10389-ds-base-snmpFixed0:3.1.3-7.el10_1RHSA-2026:3208
Red Hat Enterprise Linux 10python3-lib389Fixed0:3.1.3-7.el10_1RHSA-2026:3208
Red Hat Enterprise Linux 9389-ds-baseFixed0:2.7.0-10.el9_7RHSA-2026:3189
Red Hat Enterprise Linux 9389-ds-base-develFixed0:2.7.0-10.el9_7RHSA-2026:3189
Red Hat Enterprise Linux 9389-ds-base-libsFixed0:2.7.0-10.el9_7RHSA-2026:3189
Red Hat Enterprise Linux 9389-ds-base-snmpFixed0:2.7.0-10.el9_7RHSA-2026:3189
Red Hat Enterprise Linux 9python3-lib389Fixed0:2.7.0-10.el9_7RHSA-2026:3189
Red Hat Enterprise Linux 8389-ds-baseFixed0:1.4.3.39-23.module+el8.10.0+24085+b368a310RHSA-2026:5513
Red Hat Enterprise Linux 8389-ds-base-develFixed0:1.4.3.39-23.module+el8.10.0+24085+b368a310RHSA-2026:5513
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsFixed0:1.4.3.39-23.module+el8.10.0+24085+b368a310RHSA-2026:5513
Red Hat Enterprise Linux 8389-ds-base-libsFixed0:1.4.3.39-23.module+el8.10.0+24085+b368a310RHSA-2026:5513
Red Hat Enterprise Linux 8389-ds-base-snmpFixed0:1.4.3.39-23.module+el8.10.0+24085+b368a310RHSA-2026:5513
Red Hat Enterprise Linux 8python3-lib389Fixed0:1.4.3.39-23.module+el8.10.0+24085+b368a310RHSA-2026:5513
Red Hat Enterprise Linux 6389-ds-baseWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-base-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6389-ds-base-libsWill not fix
Out of support scope
AlmaLinux 10python3-lib389Fixed3.1.3-7.el10_1ALSA-2026:3208
AlmaLinux 9389-ds-baseFixed2.7.0-10.el9_7ALSA-2026:3189
AlmaLinux 9389-ds-base-develFixed2.7.0-10.el9_7ALSA-2026:3189
AlmaLinux 9389-ds-base-libsFixed2.7.0-10.el9_7ALSA-2026:3189
AlmaLinux 9389-ds-base-snmpFixed2.7.0-10.el9_7ALSA-2026:3189
AlmaLinux 9python3-lib389Fixed2.7.0-10.el9_7ALSA-2026:3189
AlmaLinux 8389-ds-baseFixed1.4.3.39-23.module_el8.10.0+4139+ef6adba4ALSA-2026:5513
AlmaLinux 8389-ds-base-develFixed1.4.3.39-23.module_el8.10.0+4139+ef6adba4ALSA-2026:5513
AlmaLinux 8389-ds-base-legacy-toolsFixed1.4.3.39-23.module_el8.10.0+4139+ef6adba4ALSA-2026:5513
AlmaLinux 8389-ds-base-libsFixed1.4.3.39-23.module_el8.10.0+4139+ef6adba4ALSA-2026:5513
AlmaLinux 8389-ds-base-snmpFixed1.4.3.39-23.module_el8.10.0+4139+ef6adba4ALSA-2026:5513
AlmaLinux 8python3-lib389Fixed1.4.3.39-23.module_el8.10.0+4139+ef6adba4ALSA-2026:5513
Rocky Linux 10389-ds-baseFixed0:3.1.3-7.el10_1RLSA-2026:3208
Rocky Linux 9389-ds-baseFixed0:2.7.0-10.el9_7RLSA-2026:3189
Rocky Linux 8389-ds-baseFixed0:1.4.3.39-23.module+el8.10.0+40135+69dd2a79RLSA-2026:5513

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: 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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.