CVE-2026-15041

389-ds-base: 389-ds-base: non-constant-time comparison in pbkdf2-sha256 password verification

Published Jul 8, 2026 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
Description
A flaw was found in 389 Directory Server. The PBKDF2-SHA256 password verification function uses standard memcmp() for comparing password hashes instead of a constant-time comparison function. A remote attacker could potentially use timing measurements of LDAP bind attempts to infer partial hash information, though practical exploitation is extremely difficult due to PBKDF2 computational overhead.

Analysis

AI-generated

Technical impact

The flaw stems from 389 Directory Server’s PBKDF2‑SHA256 password verification, which uses the standard memcmp routine instead of a constant‑time comparison. This design flaw creates a timing side‑channel during LDAP bind attempts, allowing a remote attacker to observe response time differences and potentially deduce partial hash information. The weakness is a CWE‑208 flaw, a time‑based side‑channel vulnerability. Although the theoretical exploitation path exists, the heavy computational load of PBKDF2 makes successful attacks extremely challenging in practice.

Affected Systems

Red Hat Directory Server 11, 12, and 13, and all Red Hat Enterprise Linux packages that contain the Directory Server, including RHEL 6, 7, 8, 9, and the legacy RHEL 10, are impacted.

Risk and Exploitability

The recorded CVSS score is 3.7, indicating low overall severity. The EPSS score of less than 1 % suggests a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The attack vector most likely involves remote LDAP bind traffic to the Directory Server, with an attacker measuring response times to attempt to deduce hash fragments. Because PBKDF2 introduces heavy computation, the feasibility of successful timing attacks remains low.

Remediation

Vendor Workaround

If possible, configure 389 Directory Server to use an alternative password storage scheme (e.g., SSHA512 or GOST-Yescrypt) which uses constant-time comparison.


OpenCVE Recommended Actions

  • Reconfigure 389 Directory Server to use a password scheme that performs constant‑time comparison, such as SSHA512 or GOST‑Yescrypt, removing reliance on PBKDF2‑SHA256 (CWE‑208).
  • If reconfiguration is not practical, migrate existing user password entries from PBKDF2‑SHA256 to a supported constant‑time scheme to eliminate the timing side‑channel.
  • Monitor LDAP bind traffic for suspicious timing patterns and implement rate limiting or network controls to reduce the attacker’s ability to perform precise timing measurements.

Generated by OpenCVE AI on August 3, 2026 at 04:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Redhat redhat Directory Server
Vendors & Products Redhat redhat Directory Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in 389 Directory Server. The PBKDF2-SHA256 password verification function uses standard memcmp() for comparing password hashes instead of a constant-time comparison function. A remote attacker could potentially use timing measurements of LDAP bind attempts to infer partial hash information, though practical exploitation is extremely difficult due to PBKDF2 computational overhead.
Title 389-ds-base: 389-ds-base: non-constant-time comparison in pbkdf2-sha256 password verification
First Time appeared Redhat
Redhat directory Server
Redhat enterprise Linux
Weaknesses CWE-208
CPEs cpe:/a:redhat:directory_server:11
cpe:/a:redhat:directory_server:12
cpe:/a:redhat:directory_server:13
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat directory Server
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-208

    Observable Timing Discrepancy

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 3:22 PM
Reserved
Jul 8, 2026, 10:00 AM
Status
Analyzed
Published
Jul 8, 2026, 11:16 AM
Modified
Nov 25, 2026, 4:17 PM
Severity
Low
Public date
Jul 8, 2026, 9:58 AM