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

Summary

CVECVE-2025-14905
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-02-23 16:29:35 UTC
Updated2026-03-31 16:16:27 UTC
DescriptionA 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).

Risk And Classification

Primary CVSS: v3.1 7.2 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.004660000 probability, percentile 0.643730000 (date 2026-04-02)

Problem Types: CWE-122 | CWE-122 Heap-based Buffer Overflow


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS7.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Directory Server 11.5 E4S For RHEL 8 unaffected 8060020260303152239.0ca98e7e * rpm Not specified
CNA Red Hat Red Hat Directory Server 11.7 E4S For RHEL 8 unaffected 8080020260227193008.f969626e * rpm Not specified
CNA Red Hat Red Hat Directory Server 11.9 For RHEL 8 unaffected 8100020260312105752.37ed7c03 * rpm Not specified
CNA Red Hat Red Hat Directory Server 12.2 E4S For RHEL 9 unaffected 9020020260304180546.1674d574 * rpm Not specified
CNA Red Hat Red Hat Directory Server 12.4 EUS For RHEL 9 unaffected 9040020260225135630.1674d574 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 10 unaffected 0:3.1.3-7.el10_1 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support unaffected 0:3.0.6-17.el10_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support unaffected 0:1.3.11.1-11.el7_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 8100020260312103235.25e700aa * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support unaffected 8020020260303204738.dbc46ba7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support unaffected 8040020260303172348.96015a92 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On unaffected 8040020260303172348.96015a92 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support unaffected 8060020260303144613.824efc52 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service unaffected 8060020260303144613.824efc52 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions unaffected 8060020260303144613.824efc52 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service unaffected 8080020260227183930.6dbb3803 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Update Services For SAP Solutions unaffected 8080020260227183930.6dbb3803 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:2.7.0-10.el9_7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 0:2.0.14-5.el9_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Update Services For SAP Solutions unaffected 0:2.2.4-17.el9_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support unaffected 0:2.4.5-24.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support unaffected 0:2.6.1-20.el9_6 * rpm Not specified
CNA Red Hat Red Hat Directory Server 13.1 unaffected sha256:5e49efa2b8764403fad13b81c968b76c7b6400fabd83bf95e2f7667b90e93ab5 * rpm Not specified
CNA Red Hat Red Hat Directory Server 12 Not specified Not specified
CNA Red Hat Red Hat Directory Server 13 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:5512 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:6220 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:4720 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5597 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5569 [email protected] access.redhat.com
access.redhat.com/security/cve/CVE-2025-14905 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5511 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:3504 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5196 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5514 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:4207 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:4661 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5568 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5513 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:3189 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:3379 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5576 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:6268 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:3208 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5598 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: This issue was discovered by Red Hat Security Research Team (Red Hat Inc.). (en)

Additional Advisory Data

SourceTimeEvent
CNA2025-12-18T18:04:56.621ZReported to Red Hat.
CNA2026-02-23T00:00:00.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report