CVE-2025-14905
389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer overflow
Mitigation
- Vendor 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.
Who should check
- Anyone running Red Hat Directory Server 11.5 E4S for RHEL 8 all versions
- Anyone running Red Hat Directory Server 11.7 E4S for RHEL 8 all versions
- Anyone running Red Hat Directory Server 11.9 for RHEL 8 all versions
- Anyone running Red Hat Directory Server 12.2 E4S for RHEL 9 all versions
- Anyone running Red Hat Directory Server 12.4 EUS for RHEL 9 all versions
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 10.0 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions
Vulnerability facts
- Affected
- Red Hat Directory Server 11.5 E4S for RHEL 8 all versions; Red Hat Directory Server 11.7 E4S for RHEL 8 all versions; Red Hat Directory Server 11.9 for RHEL 8 all versions; Red Hat Directory Server 12.2 E4S for RHEL 9 all versions; Red Hat Directory Server 12.4 EUS for RHEL 9 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10.0 Extended Update Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.8 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.4 Extended Update Support all versions; Red Hat Enterprise Linux 9.6 Extended Update Support all versions; Red Hat Directory Server 13.1 all versions; Red Hat Directory Server 12 all versions; Red Hat Directory Server 13 all versions; Red Hat Enterprise Linux 6
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.79% chance of exploitation in 30 days (percentile 79, 2026-11-26)
- CWE
- CWE-122
- Modified
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-14905. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-14905.md Affected: Red Hat Directory Server 11.5 E4S for RHEL 8 all versions; Red Hat Directory Server 11.7 E4S for RHEL 8 all versions; Red Hat Directory Server 11.9 for RHEL 8 all versions; Red Hat Directory Server 12.2 E4S for RHEL 9 all versions; Red Hat Directory Server 12.4 EUS for RHEL 9 all versions; Red Hat … Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Red Hat Directory Server 11.5 E4S for RHEL 8, Red Hat Directory Server 11.7 E4S for RHEL 8, Red Hat Directory Server 11.9 for RHEL 8, Red Hat Directory Server 12.2 E4S for RHEL 9, Red Hat Directory Server 12.4 EUS for RHEL 9, Red Hat Enterprise Linux 10: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2026:3189
- https://access.redhat.com/errata/RHSA-2026:3208
- https://access.redhat.com/errata/RHSA-2026:3379
- https://access.redhat.com/errata/RHSA-2026:3504
- https://access.redhat.com/errata/RHSA-2026:4207
- https://access.redhat.com/errata/RHSA-2026:4661
- https://access.redhat.com/errata/RHSA-2026:4720
- https://access.redhat.com/errata/RHSA-2026:5196
- https://access.redhat.com/errata/RHSA-2026:5511
- https://access.redhat.com/errata/RHSA-2026:5512
- https://access.redhat.com/errata/RHSA-2026:5513
- https://access.redhat.com/errata/RHSA-2026:5514
- https://access.redhat.com/errata/RHSA-2026:5568
- https://access.redhat.com/errata/RHSA-2026:5569
- https://access.redhat.com/errata/RHSA-2026:5576
- https://access.redhat.com/errata/RHSA-2026:5597
- https://access.redhat.com/errata/RHSA-2026:5598
- https://access.redhat.com/errata/RHSA-2026:6220
- https://access.redhat.com/errata/RHSA-2026:6268
FAQ
Is CVE-2025-14905 being exploited?
There is no confirmed exploitation: CVE-2025-14905 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.79% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-14905?
High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-14905?
Red Hat Directory Server 11.5 E4S for RHEL 8 all versions; Red Hat Directory Server 11.7 E4S for RHEL 8 all versions; Red Hat Directory Server 11.9 for RHEL 8 all versions; Red Hat Directory Server 12.2 E4S for RHEL 9 all versions; Red Hat Directory Server 12.4 EUS for RHEL 9 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10.0 Extended Update Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.8 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.4 Extended Update Support all versions; Red Hat Enterprise Linux 9.6 Extended Update Support all versions; Red Hat Directory Server 13.1 all versions; Red Hat Directory Server 12 all versions; Red Hat Directory Server 13 all versions; Red Hat Enterprise Linux 6.
Is there a fix for CVE-2025-14905?
No fixed version is listed in the sources yet. Vendor 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.
How do I check if I'm affected by CVE-2025-14905?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.