Public vulnerability disclosure

CVE-2025-14905

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

publishedCWE-122

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).

Technical severity7.2 highCVSS 3.1 · CNA: redhat
Published2026-02-23Source updated 2026-11-05
Collected2026-11-052 attributed sources

Fixes and workarounds

Workaround

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.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Red Hat Directory Server 11.5 E4S for RHEL 8
Red Hat
redhat-ds:11
https://access.redhat.com/downloads/content/package-browser/
≥ 8060020260303152239.0ca98e7e; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Directory Server 11.7 E4S for RHEL 8
Red Hat
redhat-ds:11
https://access.redhat.com/downloads/content/package-browser/
≥ 8080020260227193008.f969626e; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Directory Server 11.9 for RHEL 8
Red Hat
redhat-ds:11
https://access.redhat.com/downloads/content/package-browser/
≥ 8100020260312105752.37ed7c03; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Directory Server 12.2 E4S for RHEL 9
Red Hat
redhat-ds:12
https://access.redhat.com/downloads/content/package-browser/
≥ 9020020260304180546.1674d574; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Directory Server 12.4 EUS for RHEL 9
Red Hat
redhat-ds:12
https://access.redhat.com/downloads/content/package-browser/
≥ 9040020260225135630.1674d574; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
≥ 0:3.1.3-7.el10_1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
≥ 0:3.0.6-17.el10_0; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.11.1-11.el7_9; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8100020260312103235.25e700aa; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.2 Advanced Update Support
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8020020260303204738.dbc46ba7; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8040020260303172348.96015a92; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8040020260303172348.96015a92; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8060020260303144613.824efc52; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8060020260303144613.824efc52; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8060020260303144613.824efc52; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8080020260227183930.6dbb3803; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
389-ds:1.4
https://access.redhat.com/downloads/content/package-browser/
≥ 8080020260227183930.6dbb3803; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.7.0-10.el9_7; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.0.14-5.el9_0; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.4-17.el9_2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.4 Extended Update Support
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.4.5-24.el9_4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.6.1-20.el9_6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Directory Server 13.1
Red Hat
dirsrv/dirsrv-container-rhel10
https://catalog.redhat.com/software/containers/
≥ 1772040913; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Directory Server 12
Red Hat
redhat-ds:12/389-ds-base
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Directory Server 13
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 6
Red Hat
389-ds-base
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.2
high
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HCNA: redhat

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide