What’s Vulnerable › Vulnerabilities
CVE-2025-14905: 389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer overflow
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-23 · updated 2026-06-30
- Weakness: CWE-122
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).
Affected products
- Red Hat Directory Server 11.5 E4S for RHEL 8: all versions — fixed in 8060020260303152239.0ca98e7e
- Red Hat Directory Server 11.7 E4S for RHEL 8: all versions — fixed in 8080020260227193008.f969626e
- Red Hat Directory Server 11.9 for RHEL 8: all versions — fixed in 8100020260312105752.37ed7c03
- Red Hat Directory Server 12: all versions
- Red Hat Directory Server 12.2 E4S for RHEL 9: all versions — fixed in 9020020260304180546.1674d574
- Red Hat Directory Server 12.4 EUS for RHEL 9: all versions — fixed in 9040020260225135630.1674d574
- Red Hat Directory Server 13: all versions
- Red Hat Directory Server 13.1: all versions — fixed in 1772040913
- Red Hat Enterprise Linux 10: all versions — fixed in 0:3.1.3-7.el10_1
- Red Hat Enterprise Linux 10.0 Extended Update Support: all versions — fixed in 0:3.0.6-17.el10_0
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions — fixed in 0:1.3.11.1-11.el7_9
- Red Hat Enterprise Linux 8: all versions — fixed in 8100020260312103235.25e700aa
- Red Hat Enterprise Linux 8.2 Advanced Update Support: all versions — fixed in 8020020260303204738.dbc46ba7
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: all versions — fixed in 8040020260303172348.96015a92
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: all versions — fixed in 8040020260303172348.96015a92
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: all versions — fixed in 8060020260303144613.824efc52
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service: all versions — fixed in 8060020260303144613.824efc52
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: all versions — fixed in 8060020260303144613.824efc52
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service: all versions — fixed in 8080020260227183930.6dbb3803
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions: all versions — fixed in 8080020260227183930.6dbb3803
- Red Hat Enterprise Linux 9: all versions — fixed in 0:2.7.0-10.el9_7
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions: all versions — fixed in 0:2.0.14-5.el9_0
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: all versions — fixed in 0:2.2.4-17.el9_2
- Red Hat Enterprise Linux 9.4 Extended Update Support: all versions — fixed in 0:2.4.5-24.el9_4
- Red Hat Enterprise Linux 9.6 Extended Update Support: all versions — fixed in 0:2.6.1-20.el9_6
How to fix
Upgrade to a fixed version: Red Hat Directory Server 11.5 E4S for RHEL 8 8060020260303152239.0ca98e7e; Red Hat Directory Server 11.7 E4S for RHEL 8 8080020260227193008.f969626e; Red Hat Directory Server 11.9 for RHEL 8 8100020260312105752.37ed7c03; Red Hat Directory Server 12.2 E4S for RHEL 9 9020020260304180546.1674d574; Red Hat Directory Server 12.4 EUS for RHEL 9 9040020260225135630.1674d574; Red Hat Directory Server 13.1 1772040913; Red Hat Enterprise Linux 10 0:3.1.3-7.el10_1; Red Hat Enterprise Linux 10.0 Extended Update Support 0:3.0.6-17.el10_0; Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:1.3.11.1-11.el7_9; Red Hat Enterprise Linux 8 8100020260312103235.25e700aa; Red Hat Enterprise Linux 8.2 Advanced Update Support 8020020260303204738.dbc46ba7; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 8040020260303172348.96015a92. Check the vendor advisory for mitigations.
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
Get alerted when CVE-2025-14905 or the next vulnerability affects your stack