ldap3_proto has LDAP Filter stack exhaustion
The ldap3_proto library contains a vulnerability where LDAP queries are not validated for depth, potentially causing the parser to exhaust the stack. This can lead to a denial of service in applications processing these queries. A patch is available to address this issue. No known exploits are reported in the wild.
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
The ldap3_proto library contains a vulnerability where LDAP queries are not validated for depth, potentially causing the parser to exhaust the stack. This can lead to a denial of service in applications processing these queries. A patch is available to address this issue. No known exploits are reported in the wild.
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
- Aliases
- []
- 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: 08/15/2026, 09:50:35 UTC
Views: 4
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.