Heap-based Buffer Overflow Affecting 389-ds-base-libs package, versions <0:3.1.3-7.el10_1


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
1.18% (67th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS10-389DSBASELIBS-15337970
  • published24 Feb 2026
  • disclosed1 Jan 2025

Introduced: 1 Jan 2025

CVE-2025-14905  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:10 389-ds-base-libs to version 0:3.1.3-7.el10_1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream 389-ds-base-libs package and not the 389-ds-base-libs package as distributed by Centos. See How to fix? for Centos:10 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1