CVE-2025-14905389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer…
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).
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | 389-ds-base | Fix pending | UBUNTU-CVE-2025-14905 | |
| Ubuntu 26.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2025-14905 | |
| Ubuntu 25.10 | 389-ds-base | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-14905 | |
| Ubuntu 24.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2025-14905 | |
| Ubuntu 22.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2025-14905 | |
| Ubuntu 20.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2025-14905 | |
| Ubuntu 18.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2025-14905 | |
| Ubuntu 16.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2025-14905 | |
| Debian 13 | 389-ds-base | Fixed | 3.1.2+dfsg1-1+deb13u1 | DEBIAN-CVE-2025-14905 |
| Debian 12 | 389-ds-base | Fix pending | DEBIAN-CVE-2025-14905 | |
| Red Hat Enterprise Linux 10 | 389-ds-base | Fixed | 0:3.1.3-7.el10_1 | RHSA-2026:3208 |
| Red Hat Enterprise Linux 10 | 389-ds-base-bdb | Fixed | 0:3.1.3-7.el10_1 | RHSA-2026:3208 |
| Red Hat Enterprise Linux 10 | 389-ds-base-devel | Fixed | 0:3.1.3-7.el10_1 | RHSA-2026:3208 |
| Red Hat Enterprise Linux 10 | 389-ds-base-libs | Fixed | 0:3.1.3-7.el10_1 | RHSA-2026:3208 |
| Red Hat Enterprise Linux 10 | 389-ds-base-snmp | Fixed | 0:3.1.3-7.el10_1 | RHSA-2026:3208 |
| Red Hat Enterprise Linux 10 | python3-lib389 | Fixed | 0:3.1.3-7.el10_1 | RHSA-2026:3208 |
| Red Hat Enterprise Linux 9 | 389-ds-base | Fixed | 0:2.7.0-10.el9_7 | RHSA-2026:3189 |
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Fixed | 0:2.7.0-10.el9_7 | RHSA-2026:3189 |
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Fixed | 0:2.7.0-10.el9_7 | RHSA-2026:3189 |
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Fixed | 0:2.7.0-10.el9_7 | RHSA-2026:3189 |
| Red Hat Enterprise Linux 9 | python3-lib389 | Fixed | 0:2.7.0-10.el9_7 | RHSA-2026:3189 |
| Red Hat Enterprise Linux 8 | 389-ds-base | Fixed | 0:1.4.3.39-23.module+el8.10.0+24085+b368a310 | RHSA-2026:5513 |
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Fixed | 0:1.4.3.39-23.module+el8.10.0+24085+b368a310 | RHSA-2026:5513 |
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Fixed | 0:1.4.3.39-23.module+el8.10.0+24085+b368a310 | RHSA-2026:5513 |
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Fixed | 0:1.4.3.39-23.module+el8.10.0+24085+b368a310 | RHSA-2026:5513 |
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Fixed | 0:1.4.3.39-23.module+el8.10.0+24085+b368a310 | RHSA-2026:5513 |
| Red Hat Enterprise Linux 8 | python3-lib389 | Fixed | 0:1.4.3.39-23.module+el8.10.0+24085+b368a310 | RHSA-2026:5513 |
| Red Hat Enterprise Linux 6 | 389-ds-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-libs | Will not fix Out of support scope | ||
| AlmaLinux 10 | python3-lib389 | Fixed | 3.1.3-7.el10_1 | ALSA-2026:3208 |
| AlmaLinux 9 | 389-ds-base | Fixed | 2.7.0-10.el9_7 | ALSA-2026:3189 |
| AlmaLinux 9 | 389-ds-base-devel | Fixed | 2.7.0-10.el9_7 | ALSA-2026:3189 |
| AlmaLinux 9 | 389-ds-base-libs | Fixed | 2.7.0-10.el9_7 | ALSA-2026:3189 |
| AlmaLinux 9 | 389-ds-base-snmp | Fixed | 2.7.0-10.el9_7 | ALSA-2026:3189 |
| AlmaLinux 9 | python3-lib389 | Fixed | 2.7.0-10.el9_7 | ALSA-2026:3189 |
| AlmaLinux 8 | 389-ds-base | Fixed | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 | ALSA-2026:5513 |
| AlmaLinux 8 | 389-ds-base-devel | Fixed | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 | ALSA-2026:5513 |
| AlmaLinux 8 | 389-ds-base-legacy-tools | Fixed | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 | ALSA-2026:5513 |
| AlmaLinux 8 | 389-ds-base-libs | Fixed | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 | ALSA-2026:5513 |
| AlmaLinux 8 | 389-ds-base-snmp | Fixed | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 | ALSA-2026:5513 |
| AlmaLinux 8 | python3-lib389 | Fixed | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 | ALSA-2026:5513 |
| Rocky Linux 10 | 389-ds-base | Fixed | 0:3.1.3-7.el10_1 | RLSA-2026:3208 |
| Rocky Linux 9 | 389-ds-base | Fixed | 0:2.7.0-10.el9_7 | RLSA-2026:3189 |
| Rocky Linux 8 | 389-ds-base | Fixed | 0:1.4.3.39-23.module+el8.10.0+40135+69dd2a79 | RLSA-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.
- Red Hat Directory Server 11.5 E4S for RHEL 8
- Red Hat Directory Server 11.7 E4S for RHEL 8
- Red Hat Directory Server 11.9 for RHEL 8
- Red Hat Directory Server 12.2 E4S for RHEL 9
- Red Hat Directory Server 12.4 EUS for RHEL 9
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.2 Advanced Update Support
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
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:
- https://access.redhat.com/errata/RHSA-2026:3189 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:3208 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:3379 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:3504 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:4207 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:4661 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:3189
- https://access.redhat.com/errata/RHSA-2026:3208
- https://access.redhat.com/errata/RHSA-2026:3379
- https://access.redhat.com/errata/RHSA-2026:3504
- https://access.redhat.com/errata/RHSA-2026:4207
- https://access.redhat.com/errata/RHSA-2026:4661
- https://access.redhat.com/errata/RHSA-2026:4720
- https://access.redhat.com/errata/RHSA-2026:5196
- https://access.redhat.com/errata/RHSA-2026:5511
- https://access.redhat.com/errata/RHSA-2026:5512
- https://access.redhat.com/errata/RHSA-2026:5513
- https://access.redhat.com/errata/RHSA-2026:5514
- https://access.redhat.com/errata/RHSA-2026:5568
- https://access.redhat.com/errata/RHSA-2026:5569
- https://access.redhat.com/errata/RHSA-2026:5576
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.