CVE-2025-14905: 389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer overflow
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).
Security readout for executives and security teams
Plain-English summary
CVE-2025-14905 is a high-severity flaw in 389-ds-base, used by Red Hat Directory Server and RHEL directory services. A specially handled schema alias condition can overflow memory, causing service failure or potentially code execution. Business urgency is highest where directory services are exposed to users with administrative or high-privilege access.
Executive priority
Treat as a high-priority infrastructure update, not an emergency internet-wide event based on current evidence. Directory services support authentication and business operations, so outages or compromise can have broad impact. Patch affected Red Hat directory servers within normal high-severity remediation timelines, faster for critical identity infrastructure.
Technical view
The issue is a heap buffer overflow in schema_attr_enum_callback in schema.c. Buffer size is miscalculated when processing many aliases because formatting characters are not accounted for. Red Hat scores it CVSS 7.2: network attack vector, low complexity, no user interaction, but high privileges required, with high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is limited to affected Red Hat 389-ds-base or redhat-ds package streams listed by Red Hat, including RHEL 7 ELS, RHEL 8, RHEL 9, RHEL 10, and Red Hat Directory Server 11.x/12.x variants. Systems not running 389-ds-base or Red Hat Directory Server are not indicated as affected by the provided sources.
Exploitation context
The source bundle does not show CISA KEV listing or public active exploitation. The CVSS vector requires high privileges, so realistic abuse likely depends on an attacker already having elevated directory-related access. Impact remains serious because successful exploitation may crash the directory service or potentially execute code.
Researcher notes
Key constraints: network-reachable, low complexity, high privileges required. The vulnerable path involves schema alias enumeration and heap allocation sizing. Provided sources identify affected Red Hat package streams and RHSA references, but do not provide exploit status, proof-of-concept evidence, or non-Red Hat affected products.
Mitigation direction
Apply the applicable Red Hat security advisory update for each affected product stream.
Prioritize internet-accessible or business-critical directory servers first.
If immediate patching is delayed, review Red Hat guidance for supported workarounds or compensating controls.
Restrict administrative access to directory services to trusted networks and accounts.
Monitor directory server stability until remediation is complete.
Validation and detection
Inventory systems running 389-ds-base, redhat-ds:11, or redhat-ds:12 packages.
Compare installed package versions against Red Hat’s affected product list and advisories.
Confirm the relevant RHSA update is installed for each product stream.
Review directory server logs for unexplained crashes or schema-processing errors.
Document exceptions where vendor guidance or update availability is unclear.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-122: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
5Timeline events
1ADP providers
22Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.