Heap-based Buffer Overflow Affecting 389-ds-base-libs package, versions <0:1.3.10.2-17.amzn2.0.5


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

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-AMZN2-389DSBASELIBS-15751572
  • published23 Mar 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 Amazon-Linux:2 389-ds-base-libs to version 0:1.3.10.2-17.amzn2.0.5 or higher.
This issue was patched in ALAS2-2026-3205.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2 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