Heap-based Buffer Overflow Affecting 389-ds-base package, versions <3.1.2+dfsg1-1+deb13u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.14% (64th 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-ECHOLATEST-389DSBASE-17963665
  • published14 Jul 2026
  • disclosed23 Feb 2026

Introduced: 23 Feb 2026

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

How to fix?

Upgrade Echo:latest 389-ds-base to version 3.1.2+dfsg1-1+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream 389-ds-base package and not the 389-ds-base package as distributed by Echo. See How to fix? for Echo:latest 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