Skip to content
Fencer Vulns
high 7.2

CVE-2025-14905 json

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

published 2026-02-23 8 mo ago modified 2026-11-05 3 d ago also EUVD-2025-207660

cvss
7.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

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

Patch / fix

  • Red Hat Red Hat Directory Server 11.5 E4S for RHEL 8 8060020260303152239.0ca98e7e
  • Red Hat Red Hat Directory Server 11.7 E4S for RHEL 8 8080020260227193008.f969626e
  • Red Hat Red Hat Directory Server 11.9 for RHEL 8 8100020260312105752.37ed7c03
  • Red Hat Red Hat Directory Server 12.2 E4S for RHEL 9 9020020260304180546.1674d574
  • Red Hat Red Hat Directory Server 12.4 EUS for RHEL 9 9040020260225135630.1674d574
  • Red Hat Red Hat Enterprise Linux 10 0:3.1.3-7.el10_1
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support 0:3.0.6-17.el10_0
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:1.3.11.1-11.el7_9
  • Red Hat Red Hat Enterprise Linux 8 8100020260312103235.25e700aa
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support 8020020260303204738.dbc46ba7
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 8040020260303172348.96015a92
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 8040020260303172348.96015a92
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 8060020260303144613.824efc52
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service 8060020260303144613.824efc52
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 8060020260303144613.824efc52
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 8080020260227183930.6dbb3803
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 8080020260227183930.6dbb3803
  • Red Hat Red Hat Enterprise Linux 9 0:2.7.0-10.el9_7
  • Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:2.0.14-5.el9_0
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:2.2.4-17.el9_2
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:2.4.5-24.el9_4
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:2.6.1-20.el9_6
  • Red Hat Red Hat Directory Server 13.1 1772040913
  • 389-ds-base Debian 13 3.1.2+dfsg1-1+deb13u1

debian advisories DEBIAN-CVE-2025-14905

  • 389-ds-base RHEL 8 1.4.3.39-23.module+el8.10.0+24085+b368a310
  • python3-lib389 RHEL 8 1.4.3.39-23.module+el8.10.0+24085+b368a310
  • 389-ds-base-libs RHEL 8 1.4.3.39-23.module+el8.10.0+24085+b368a310
  • 389-ds-base-snmp RHEL 8 1.4.3.39-23.module+el8.10.0+24085+b368a310
  • 389-ds-base-legacy-tools RHEL 8 1.4.3.39-23.module+el8.10.0+24085+b368a310
  • 389-ds-base directory server 11.9 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4
  • cockpit-389-ds directory server 11.9 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4
  • python3-lib389 directory server 11.9 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4

red hat advisories RHSA-2026:6268RHSA-2026:6220RHSA-2026:5597RHSA-2026:5598RHSA-2026:5576RHSA-2026:5568

  • 389-ds SLES for SAP applications 16.0, SLES 16.0 3.0.6~git249.6688af9b2-160000.1.1
  • 389-ds SLE Module for Server Applications 15 SP7 2.7.0~git144.f597a91d8-150700.3.13.1
  • 389-ds SLES for SAP 15 SP6, SLES 15 SP6-LTSS, openSUSE Leap 15.6 2.2.10~git200.96444f3c3-150600.8.26.1
  • 389-ds SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 2.2.10~git200.96444f3c3-150500.3.42.1

suse advisories SUSE-SU-2026:20927-1SUSE-SU-2026:0915-1SUSE-SU-2026:0914-1SUSE-SU-2026:0913-1

  • 389-ds openSUSE Tumbleweed 3.1.4+e2562f589-1.1
  • 389-ds openSUSE Leap 16.0 3.0.6~git249.6688af9b2-160000.1.1

opensuse advisories openSUSE-SU-2026:10500-1openSUSE-SU-2026:20415-1

  • 389-ds-base AlmaLinux 8 1.4.3.39-23.module_el8.10.0+4139+ef6adba4
  • python3-lib389 AlmaLinux 8 1.4.3.39-23.module_el8.10.0+4139+ef6adba4
  • 389-ds-base-libs AlmaLinux 8 1.4.3.39-23.module_el8.10.0+4139+ef6adba4
  • 389-ds-base-snmp AlmaLinux 8 1.4.3.39-23.module_el8.10.0+4139+ef6adba4
  • 389-ds-base-legacy-tools AlmaLinux 8 1.4.3.39-23.module_el8.10.0+4139+ef6adba4
  • 389-ds-base AlmaLinux 9 2.7.0-10.el9_7
  • python3-lib389 AlmaLinux 9 2.7.0-10.el9_7
  • 389-ds-base-libs AlmaLinux 9 2.7.0-10.el9_7

almalinux advisories ALSA-2026:5513ALSA-2026:3189ALSA-2026:3208

  • 389-ds-base Rocky Linux 8 1.4.3.39-23.module+el8.10.0+40135+69dd2a79
  • 389-ds-base Rocky Linux 10 3.1.3-7.el10_1
  • 389-ds-base Rocky Linux 9 2.7.0-10.el9_7

rocky linux advisories RLSA-2026:5513RLSA-2026:3208RLSA-2026:3189

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-14905 updated cvss 7.2

389-ds-base: 389-ds-base: Remote Code Execution and Denial of Service via heap buffer overflow

  • Red Hat Directory Server 12 389-ds-base
    affected: workaround, no fix available
  • Red Hat Directory Server 13 389-ds-base
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 389-ds-base, 389-ds-base-libs
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder EUS (v.9.4) 389-ds-base-devel 2.4.5-24.el9_4, 389-ds-base-debuginfo 2.4.5-24.el9_4, 389-ds-base-debugsource 2.4.5-24.el9_4, 389-ds-base-libs-debuginfo 2.4.5-24.el9_4, 389-ds-base-snmp-debuginfo 2.4.5-24.el9_4
    fixed: vendor fix RHSA-2026:4720
  • Red Hat CodeReady Linux Builder EUS (v.9.6) 389-ds-base-devel 2.6.1-20.el9_6, 389-ds-base-debuginfo 2.6.1-20.el9_6, 389-ds-base-debugsource 2.6.1-20.el9_6, 389-ds-base-libs-debuginfo 2.6.1-20.el9_6, 389-ds-base-snmp-debuginfo 2.6.1-20.el9_6
    fixed: vendor fix RHSA-2026:4207
  • Red Hat Directory Server 11.5 E4S for RHEL 8 389-ds-base 1.4.3.34-5.module+el8dsrv+24053+0eac3b1a, cockpit-389-ds 1.4.3.34-5.module+el8dsrv+24053+0eac3b1a, python3-lib389 1.4.3.34-5.module+el8dsrv+24053+0eac3b1a, 389-ds-base-libs 1.4.3.34-5.module+el8dsrv+24053+0eac3b1a, 389-ds-base-snmp 1.4.3.34-5.module+el8dsrv+24053+0eac3b1a, 389-ds-base-legacy-tools 1.4.3.34-5.module+el8dsrv+24053+0eac3b1a
    fixed: vendor fix RHSA-2026:5512
  • Red Hat Directory Server 11.7 E4S for RHEL 8 389-ds-base 1.4.3.34-14.module+el8dsrv+24041+386df666, cockpit-389-ds 1.4.3.34-14.module+el8dsrv+24041+386df666, python3-lib389 1.4.3.34-14.module+el8dsrv+24041+386df666, 389-ds-base-libs 1.4.3.34-14.module+el8dsrv+24041+386df666, 389-ds-base-snmp 1.4.3.34-14.module+el8dsrv+24041+386df666, 389-ds-base-legacy-tools 1.4.3.34-14.module+el8dsrv+24041+386df666
    fixed: vendor fix RHSA-2026:5568
  • Red Hat Directory Server 11.9 for RHEL 8 389-ds-base 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4, cockpit-389-ds 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4, python3-lib389 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4, 389-ds-base-libs 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4, 389-ds-base-snmp 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4, 389-ds-base-legacy-tools 1.4.3.39-21.module+el8dsrv+24083+d25fcbb4
    fixed: vendor fix RHSA-2026:5514
show 22 more
  • Red Hat Directory Server 12.2 E4S for RHEL 9 389-ds-base 2.2.7-14.module+el9dsrv+24059+d750c81f, cockpit-389-ds 2.2.7-14.module+el9dsrv+24059+d750c81f, python3-lib389 2.2.7-14.module+el9dsrv+24059+d750c81f, 389-ds-base-libs 2.2.7-14.module+el9dsrv+24059+d750c81f, 389-ds-base-snmp 2.2.7-14.module+el9dsrv+24059+d750c81f
    fixed: vendor fix RHSA-2026:5569
  • Red Hat Directory Server 12.4 EUS for RHEL 9 389-ds-base 2.4.5-22.module+el9dsrv+24021+288fb6da, cockpit-389-ds 2.4.5-22.module+el9dsrv+24021+288fb6da, python3-lib389 2.4.5-22.module+el9dsrv+24021+288fb6da, 389-ds-base-libs 2.4.5-22.module+el9dsrv+24021+288fb6da, 389-ds-base-snmp 2.4.5-22.module+el9dsrv+24021+288fb6da
    fixed: vendor fix RHSA-2026:4661
  • Red Hat Directory Server 13.1 dirsrv 1772040913
    fixed: vendor fix RHSA-2026:3379
  • Red Hat Enterprise Linux AppStream (v. 8) 389-ds-base 1.4.3.39-23.module+el8.10.0+24085+b368a310, python3-lib389 1.4.3.39-23.module+el8.10.0+24085+b368a310, 389-ds-base-libs 1.4.3.39-23.module+el8.10.0+24085+b368a310, 389-ds-base-snmp 1.4.3.39-23.module+el8.10.0+24085+b368a310, 389-ds-base-legacy-tools 1.4.3.39-23.module+el8.10.0+24085+b368a310
    fixed: vendor fix RHSA-2026:5513
  • Red Hat Enterprise Linux AppStream (v. 9) 389-ds-base 2.7.0-10.el9_7, python3-lib389 2.7.0-10.el9_7, 389-ds-base-libs 2.7.0-10.el9_7, 389-ds-base-snmp 2.7.0-10.el9_7
    fixed: vendor fix RHSA-2026:3189
  • Red Hat Enterprise Linux AppStream (v. 10) 389-ds-base 3.1.3-7.el10_1, python3-lib389 3.1.3-7.el10_1, 389-ds-base-libs 3.1.3-7.el10_1, 389-ds-base-snmp 3.1.3-7.el10_1
    fixed: vendor fix RHSA-2026:3208
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) 389-ds-base 1.4.2.4-19.module+el8.2.0+24058+ed9808c7, python3-lib389 1.4.2.4-19.module+el8.2.0+24058+ed9808c7, 389-ds-base-libs 1.4.2.4-19.module+el8.2.0+24058+ed9808c7, 389-ds-base-snmp 1.4.2.4-19.module+el8.2.0+24058+ed9808c7, 389-ds-base-legacy-tools 1.4.2.4-19.module+el8.2.0+24058+ed9808c7
    fixed: vendor fix RHSA-2026:5196
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) 389-ds-base 1.4.3.34-3.module+el8.4.0+24054+665bc8dc, python3-lib389 1.4.3.34-3.module+el8.4.0+24054+665bc8dc, 389-ds-base-libs 1.4.3.34-3.module+el8.4.0+24054+665bc8dc, 389-ds-base-snmp 1.4.3.34-3.module+el8.4.0+24054+665bc8dc, 389-ds-base-legacy-tools 1.4.3.34-3.module+el8.4.0+24054+665bc8dc
    fixed: vendor fix RHSA-2026:6268
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) 389-ds-base 1.4.3.34-8.module+el8.6.0+24051+60483925, python3-lib389 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-libs 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-snmp 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-legacy-tools 1.4.3.34-8.module+el8.6.0+24051+60483925 Red Hat Enterprise Linux AppStream E4S (v.8.6) 389-ds-base 1.4.3.34-8.module+el8.6.0+24051+60483925, python3-lib389 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-libs 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-snmp 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-legacy-tools 1.4.3.34-8.module+el8.6.0+24051+60483925
    fixed: vendor fix RHSA-2026:5511
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) 389-ds-base 1.4.3.35-17.module+el8.8.0+24040+93041464, python3-lib389 1.4.3.35-17.module+el8.8.0+24040+93041464, 389-ds-base-libs 1.4.3.35-17.module+el8.8.0+24040+93041464, 389-ds-base-snmp 1.4.3.35-17.module+el8.8.0+24040+93041464, 389-ds-base-legacy-tools 1.4.3.35-17.module+el8.8.0+24040+93041464
    fixed: vendor fix RHSA-2026:5576
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) 389-ds-base 2.0.14-5.el9_0, python3-lib389 2.0.14-5.el9_0, 389-ds-base-libs 2.0.14-5.el9_0
    fixed: vendor fix RHSA-2026:5597
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) 389-ds-base 2.2.4-17.el9_2, python3-lib389 2.2.4-17.el9_2, 389-ds-base-libs 2.2.4-17.el9_2
    fixed: vendor fix RHSA-2026:5598
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) 389-ds-base 3.0.6-17.el10_0, python3-lib389 3.0.6-17.el10_0, 389-ds-base-libs 3.0.6-17.el10_0, 389-ds-base-snmp 3.0.6-17.el10_0
    fixed: vendor fix RHSA-2026:3504
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) 389-ds-base 2.4.5-24.el9_4, python3-lib389 2.4.5-24.el9_4, 389-ds-base-libs 2.4.5-24.el9_4
    fixed: vendor fix RHSA-2026:4720
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) 389-ds-base 2.6.1-20.el9_6, python3-lib389 2.6.1-20.el9_6, 389-ds-base-libs 2.6.1-20.el9_6, 389-ds-base-snmp 2.6.1-20.el9_6
    fixed: vendor fix RHSA-2026:4207
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) 389-ds-base 1.4.3.34-3.module+el8.4.0+24054+665bc8dc, python3-lib389 1.4.3.34-3.module+el8.4.0+24054+665bc8dc, 389-ds-base-libs 1.4.3.34-3.module+el8.4.0+24054+665bc8dc, 389-ds-base-snmp 1.4.3.34-3.module+el8.4.0+24054+665bc8dc, 389-ds-base-legacy-tools 1.4.3.34-3.module+el8.4.0+24054+665bc8dc
    fixed: vendor fix RHSA-2026:6268
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) 389-ds-base 1.4.3.34-8.module+el8.6.0+24051+60483925, python3-lib389 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-libs 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-snmp 1.4.3.34-8.module+el8.6.0+24051+60483925, 389-ds-base-legacy-tools 1.4.3.34-8.module+el8.6.0+24051+60483925
    fixed: vendor fix RHSA-2026:5511
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) 389-ds-base 1.4.3.35-17.module+el8.8.0+24040+93041464, python3-lib389 1.4.3.35-17.module+el8.8.0+24040+93041464, 389-ds-base-libs 1.4.3.35-17.module+el8.8.0+24040+93041464, 389-ds-base-snmp 1.4.3.35-17.module+el8.8.0+24040+93041464, 389-ds-base-legacy-tools 1.4.3.35-17.module+el8.8.0+24040+93041464
    fixed: vendor fix RHSA-2026:5576
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) 389-ds-base-devel 2.7.0-10.el9_7, 389-ds-base-debuginfo 2.7.0-10.el9_7, 389-ds-base-debugsource 2.7.0-10.el9_7, 389-ds-base-libs-debuginfo 2.7.0-10.el9_7, 389-ds-base-snmp-debuginfo 2.7.0-10.el9_7
    fixed: vendor fix RHSA-2026:3189
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) 389-ds-base-bdb 3.1.3-7.el10_1
    fixed: vendor fix RHSA-2026:3208
  • Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) 389-ds-base-bdb 3.0.6-17.el10_0
    fixed: vendor fix RHSA-2026:3504
  • Red Hat Enterprise Linux Server (v. 7 ELS) 389-ds-base 1.3.11.1-11.el7_9, 389-ds-base-libs 1.3.11.1-11.el7_9 Red Hat Enterprise Linux Server Optional (v. 7 ELS) 389-ds-base 1.3.11.1-11.el7_9, 389-ds-base-libs 1.3.11.1-11.el7_9, 389-ds-base-snmp 1.3.11.1-11.el7_9
    fixed: vendor fix RHSA-2026:6220

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
8 mo ago

Exploit prediction

1.29% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Red Hat Red Hat Directory Server 11.5 E4S for RHEL 8
  • Red Hat Red Hat Directory Server 11.7 E4S for RHEL 8
  • Red Hat Red Hat Directory Server 11.9 for RHEL 8
  • Red Hat Red Hat Directory Server 12.2 E4S for RHEL 9
  • Red Hat Red Hat Directory Server 12.4 EUS for RHEL 9
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
  • Red Hat Red Hat Directory Server 13.1
  • Red Hat Red Hat Directory Server 12
  • Red Hat Red Hat Directory Server 13
  • Red Hat Red Hat Enterprise Linux 6

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.