CVE-2026-9064: 389 Ds Unbounded Ldap Controls

LDAP controls are parsed from a BER sequence without enforcing a maximum limit per operation. An attacker can supply numerous controls within a single message, causing excessive memory and CPU consumption. Apply an explicit limit check before allocating control boundaries.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-9064-389-ds-unbounded-ldap-controls --engine opengrep

Description

LDAP controls are parsed from a BER sequence without enforcing a maximum limit per operation. An attacker can supply numerous controls within a single message, causing excessive memory and CPU consumption. Apply an explicit limit check before allocating control boundaries.