Red Hat Directory Server 11.5 E4S for RHEL 8
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).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 8060020260303152239.0ca98e7e
Fixed in 8080020260227193008.f969626e
Fixed in 8100020260312105752.37ed7c03
Fixed in 9020020260304180546.1674d574
Fixed in 9040020260225135630.1674d574
Fixed in 0:3.1.3-7.el10_1
Fixed in 0:3.0.6-17.el10_0
Fixed in 0:1.3.11.1-11.el7_9
Fixed in 8100020260312103235.25e700aa
Fixed in 8020020260303204738.dbc46ba7
Fixed in 8040020260303172348.96015a92
Fixed in 8040020260303172348.96015a92
Fixed in 8060020260303144613.824efc52
Fixed in 8060020260303144613.824efc52
Fixed in 8060020260303144613.824efc52
Fixed in 8080020260227183930.6dbb3803
Fixed in 8080020260227183930.6dbb3803
Fixed in 0:2.7.0-10.el9_7
Fixed in 0:2.0.14-5.el9_0
Fixed in 0:2.2.4-17.el9_2
Fixed in 0:2.4.5-24.el9_4
Fixed in 0:2.6.1-20.el9_6
Fixed in 1772040913
Mitigation
Upgrade Red Hat Directory Server 11.5 E4S for RHEL 8 to 8060020260303152239.0ca98e7e or later.
Upgrade Red Hat Directory Server 11.7 E4S for RHEL 8 to 8080020260227193008.f969626e or later.
Upgrade Red Hat Directory Server 11.9 for RHEL 8 to 8100020260312105752.37ed7c03 or later.
Upgrade Red Hat Directory Server 12.2 E4S for RHEL 9 to 9020020260304180546.1674d574 or later.
Upgrade Red Hat Directory Server 12.4 EUS for RHEL 9 to 9040020260225135630.1674d574 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:3.1.3-7.el10_1 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:3.0.6-17.el10_0 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.3.11.1-11.el7_9 or later.
Upgrade Red Hat Enterprise Linux 8 to 8100020260312103235.25e700aa or later.
Upgrade Red Hat Enterprise Linux 8.2 Advanced Update Support to 8020020260303204738.dbc46ba7 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 8040020260303172348.96015a92 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 8040020260303172348.96015a92 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 8060020260303144613.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 8060020260303144613.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 8060020260303144613.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 8080020260227183930.6dbb3803 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 8080020260227183930.6dbb3803 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:2.7.0-10.el9_7 or later.
Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 0:2.0.14-5.el9_0 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:2.2.4-17.el9_2 or later.
Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 0:2.4.5-24.el9_4 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:2.6.1-20.el9_6 or later.
Upgrade Red Hat Directory Server 13.1 to 1772040913 or later.
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.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:3189
- Vendor advisory access.redhat.com/errata/RHSA-2026:3208
- Vendor advisory access.redhat.com/errata/RHSA-2026:3379
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:3504
- Vendor advisory access.redhat.com/errata/RHSA-2026:4207
- Vendor advisory access.redhat.com/errata/RHSA-2026:4661
- Vendor advisory access.redhat.com/errata/RHSA-2026:4720
- Vendor advisory access.redhat.com/errata/RHSA-2026:5196
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.