ldap3_proto has LDAP Filter stack exhaustion
### Impact LDAP queries are not validated for depth, which can cause the parser (both PEG and ASN) to exhaust the stack. This *may* cause a denial of service in applications that process queries. ### Workarounds N/A ### References Related to GHSA-r5fr-9gmv-jggh
AI Analysis
Technical Summary
ldap3_proto suffers from a stack exhaustion vulnerability due to lack of depth validation in LDAP query parsing. Both PEG and ASN parsers can exhaust the stack when processing deeply nested queries, potentially causing denial of service. This vulnerability is tracked as GHSA-qcxq-75wr-5cm8 and relates to CWE-674 (Excessive Control Loop Iteration) and CWE-770 (Allocation of Resources Without Limits or Throttling). A fix has been made available in versions 0.7.1 and later.
Potential Impact
Applications using vulnerable versions of ldap3_proto (<0.7.1) may be susceptible to denial of service caused by stack exhaustion when processing crafted LDAP queries with excessive depth. This can disrupt service availability but does not indicate code execution or data compromise.
Mitigation Recommendations
Upgrade ldap3_proto to version 0.7.1 or later where this stack exhaustion vulnerability has been fixed. No other workarounds are available or recommended.
ldap3_proto has LDAP Filter stack exhaustion
Description
### Impact LDAP queries are not validated for depth, which can cause the parser (both PEG and ASN) to exhaust the stack. This *may* cause a denial of service in applications that process queries. ### Workarounds N/A ### References Related to GHSA-r5fr-9gmv-jggh
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ldap3_proto suffers from a stack exhaustion vulnerability due to lack of depth validation in LDAP query parsing. Both PEG and ASN parsers can exhaust the stack when processing deeply nested queries, potentially causing denial of service. This vulnerability is tracked as GHSA-qcxq-75wr-5cm8 and relates to CWE-674 (Excessive Control Loop Iteration) and CWE-770 (Allocation of Resources Without Limits or Throttling). A fix has been made available in versions 0.7.1 and later.
Potential Impact
Applications using vulnerable versions of ldap3_proto (<0.7.1) may be susceptible to denial of service caused by stack exhaustion when processing crafted LDAP queries with excessive depth. This can disrupt service availability but does not indicate code execution or data compromise.
Mitigation Recommendations
Upgrade ldap3_proto to version 0.7.1 or later where this stack exhaustion vulnerability has been fixed. No other workarounds are available or recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qcxq-75wr-5cm8
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a7ff5f6bf8831d5398800b5
Added to database: 08/15/2026, 05:15:34 UTC
Last enriched: 08/15/2026, 05:41:30 UTC
Last updated: 09/27/2026, 20:34:02 UTC
Views: 59
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.