What’s Vulnerable › Vulnerabilities

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

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

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

Get alerted when CVE-2025-14905 or the next vulnerability affects your stack