CVE-2026-11788: 389-ds-base: 389-ds-base: null pointer dereference in deref control plugin ber parser

Published Jun 5, 2026
·
Updated

A flaw was found in 389 Directory Server. The dereference control plugin does not check for allocation failure before using a BER structure, allowing an unauthenticated remote attacker to crash the LDAP server when the system is under memory pressure.

Other sources

The dereference control plugin in 389 Directory Server fails to check the return value of berinit() for NULL before use in derefparsectrlvalue() (deref.c). When memory allocation fails under memory pressure, an unauthenticated LDAP client sending a search with the deref control can crash ns-slapd.

The deref plugin is enabled by default. Crash confirmed via GDB fault injection on Fedora 42 (SIGABRT) and CentOS 7 (SIGSEGV on OpenLDAP 2.4). Vulnerable code present since deref plugin introduction in 389-ds-base 1.2.6 (~2010).

Red Hat

Affected Software

9 affected components
389 Project 389-ds-base>=1.2.6
redhat Directory Server=11.0
redhat Directory Server=12.0
redhat Directory Server=13.0
redhat 389 Directory Server
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade 389-ds-base to a version that resolves this vulnerability.

    Fixed in 1.2.6
  2. Configuration

    Disable the dereference control plugin (deref control) in 389 Directory Server to prevent unauthenticated remote LDAP clients from crashing ns-slapd via the deref control under memory pressure.

    389 Directory Server (deref control plugin) deref control plugin enabled by default = disable
  3. Compensating control

    Add a compensating network control to reduce exposure to unauthenticated LDAP search requests that use the deref control (e.g., restrict LDAP access/allow only trusted clients at the firewall/ACL).

Event History

Jun 5, 2026
Data Sourced
via Red Hat·12:25 PM
DescriptionSeverityAffected Software
Jun 9, 2026
CVE Published
via MITRE·01:02 PM
Data Sourced
via MITRE·01:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-11788?

CVE-2026-11788 has a medium severity score of 5.9.

2

What does CVE-2026-11788 affect?

CVE-2026-11788 affects the 389-ds-base component of the 389 Directory Server.

3

How do I fix CVE-2026-11788?

To fix CVE-2026-11788, ensure that you update the 389-ds-base software to the latest version provided by the vendor.

4

What type of vulnerability is CVE-2026-11788?

CVE-2026-11788 is a null pointer dereference vulnerability in the dereference control plugin.

5

Who can exploit CVE-2026-11788?

CVE-2026-11788 can be exploited by an unauthenticated remote attacker.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203