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

Published Dec 18, 2025
·
Updated

A flaw was found in the 389-ds-base server. A heap buffer overflow vulnerability exists in the schemaattrenumcallback 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).

Other sources

A vulnerability was found in the ds-389-base server, specifically in the schema.c file which was then verified as exploitable in the running server. There is a heap buffer overflow that can be exploited to execute a DoS and potential RCE. The vulnerability is possible through the function schemaattrenumcallback, the code calculates size by summing the lengths of alias strings but fails to account for the formatting characters added during printing. It relies on a static "magic number" of 256 to absorb this overhead. When the number of aliases is large enough, the cumulative overhead of 3 bytes per alias exceeds the 256-byte margin, leading to a heap overflow.

Red Hat

Affected Software

1 affected component
redhat/389-ds-base

Event History

Dec 18, 2025
Data Sourced
via Red Hat·06:08 PM
DescriptionSeverityAffected Software
Feb 23, 2026
CVE Published
via MITRE·03:41 PM
Data Sourced
via MITRE·03:41 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:29 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-14905?

The severity of CVE-2025-14905 is critical due to its potential for remote code execution and denial of service.

2

How do I fix CVE-2025-14905?

To fix CVE-2025-14905, upgrade to the latest version of 389-ds-base that addresses this vulnerability.

3

What systems are affected by CVE-2025-14905?

CVE-2025-14905 affects the 389-ds-base server, specifically versions of Red Hat's 389-ds-base without the patch.

4

What is the impact of CVE-2025-14905?

The impact of CVE-2025-14905 includes the risk of remote code execution and the possibility of a denial of service attack.

5

Which specific function is responsible for the vulnerability CVE-2025-14905?

The vulnerability CVE-2025-14905 is caused by a heap buffer overflow in the `schema_attr_enum_callback` function within the `schema.c` file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203