Heap-based buffer overflow in 389-ds-base - CVE-2025-14905

 

Heap-based buffer overflow in 389-ds-base - CVE-2025-14905

Published: February 25, 2026


Vulnerability identifier: #VU123263
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-14905
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the schema_attr_enum_callback() function in ldap/servers/slapd/schema.c. A remote user can send specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.



Affected software

389-ds-base
Red Hat Directory Server
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Server Applications Module
openSUSE Leap
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
389-ds-base (Red Hat package)
python3-lib389
389-ds-base-snmp
389-ds-base-libs
389-ds-base-legacy-tools
389-ds-base-devel
389-ds-base
389-ds-snmp
389-ds-devel
libsvrcore0-debuginfo
389-ds-snmp-debuginfo
389-ds-debugsource
lib389
389-ds
389-ds-debuginfo
libsvrcore0

How to mitigate CVE-2025-14905

Install updates from vendor's repository.

389-ds-base (Red Hat package) - addressed in versions 1.3.11.1-11.el7_9, 2.0.14-5.el9_0, 2.2.4-17.el9_2, 2.6.1-20.el9_6, 2.7.0-10.el9_7, 3.0.6-17.el10_0, 3.1.3-7.el10_1
python3-lib389 - update to 1.4.3.39-23.0.1
389-ds-base-snmp - update to 1.4.3.39-23.0.1
389-ds-base-libs - update to 1.4.3.39-23.0.1
389-ds-base-legacy-tools - update to 1.4.3.39-23.0.1
389-ds-base-devel - update to 1.4.3.39-23.0.1
389-ds-base - update to 1.4.3.39-23.0.1
389-ds-snmp - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1
389-ds-devel - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1, 2.7.0~git144.f597a91d8-150700.3.13.1
libsvrcore0-debuginfo - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1, 2.7.0~git144.f597a91d8-150700.3.13.1
389-ds-snmp-debuginfo - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1
389-ds-debugsource - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1, 2.7.0~git144.f597a91d8-150700.3.13.1
lib389 - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1, 2.7.0~git144.f597a91d8-150700.3.13.1
389-ds - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1, 2.7.0~git144.f597a91d8-150700.3.13.1
389-ds-debuginfo - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1, 2.7.0~git144.f597a91d8-150700.3.13.1
libsvrcore0 - addressed in versions 2.0.20~git89.937b1f291-150400.3.48.1, 2.2.10~git200.96444f3c3-150500.3.42.1, 2.2.10~git200.96444f3c3-150600.8.26.1, 2.7.0~git144.f597a91d8-150700.3.13.1

External References

Related Security Bulletins