CVE-2025-14905 389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer overflow
Remote attackers can trigger a heap buffer overflow in 389-ds-base to execute arbitrary code or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-14905?
CVE-2025-14905 is a high-severity memory corruption vulnerability in Red Hat Directory Server 11.5 E4S for RHEL 8, published on 23 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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).
Weakness: CWE-122
Which versions are affected by CVE-2025-14905?
Linux distribution packages (40)
python3-lib389 AlmaLinux:10 | All versions | 3.1.3-7.el10_1 |
389-ds-base AlmaLinux:8 | All versions | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 |
389-ds-base-devel AlmaLinux:8 | All versions | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 |
389-ds-base-legacy-tools AlmaLinux:8 | All versions | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 |
389-ds-base-libs AlmaLinux:8 | All versions | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 |
389-ds-base-snmp AlmaLinux:8 | All versions | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 |
python3-lib389 AlmaLinux:8 | All versions | 1.4.3.39-23.module_el8.10.0+4139+ef6adba4 |
389-ds-base AlmaLinux:9 | All versions | 2.7.0-10.el9_7 |
389-ds-base-devel AlmaLinux:9 | All versions | 2.7.0-10.el9_7 |
389-ds-base-libs AlmaLinux:9 | All versions | 2.7.0-10.el9_7 |
389-ds-base-snmp AlmaLinux:9 | All versions | 2.7.0-10.el9_7 |
python3-lib389 AlmaLinux:9 | All versions | 2.7.0-10.el9_7 |
389-ds-base Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-debuginfo Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-debugsource Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-devel Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-legacy-tools Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-legacy-tools-debuginfo Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-libs Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-libs-debuginfo Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-snmp Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base-snmp-debuginfo Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
cockpit-389-ds Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
python3-lib389 Red Hat:directory_server:11.9::el8 | All versions | 0:1.4.3.39-21.module+el8dsrv+24083+d25fcbb4 |
389-ds-base Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-debuginfo Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-debugsource Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-devel Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-legacy-tools Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-legacy-tools-debuginfo Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-libs Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-libs-debuginfo Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-snmp Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base-snmp-debuginfo Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
cockpit-389-ds Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
python3-lib389 Red Hat:directory_server_e4s:11.5::el8 | All versions | 0:1.4.3.34-5.module+el8dsrv+24053+0eac3b1a |
389-ds-base Red Hat:directory_server_e4s:11.7::el8 | All versions | 0:1.4.3.34-14.module+el8dsrv+24041+386df666 |
389-ds-base-debuginfo Red Hat:directory_server_e4s:11.7::el8 | All versions | 0:1.4.3.34-14.module+el8dsrv+24041+386df666 |
389-ds-base-debugsource Red Hat:directory_server_e4s:11.7::el8 | All versions | 0:1.4.3.34-14.module+el8dsrv+24041+386df666 |
389-ds-base-devel Red Hat:directory_server_e4s:11.7::el8 | All versions | 0:1.4.3.34-14.module+el8dsrv+24041+386df666 |
How do I fix CVE-2025-14905?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-14905 being exploited?
There is no known exploitation of CVE-2025-14905 in the wild and no public exploit code.
Sources
Also known as ALSA-2026:3189, ALSA-2026:3208, ALSA-2026:5513, AZL-78363, CLSA-2026-1772573644, CLSA-2026-1772574256 and 31 more.