In OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2, a SQL injection vulnerability exists in the experimental back-sql backend to slapd, via a SQL statement within an LDAP query. This can occur during an LDAP search operation when the search filter is processed, due to a lack of proper escaping.
https://www.debian.org/security/2022/dsa-5140
https://security.netapp.com/advisory/ntap-20220609-0007/
https://lists.debian.org/debian-lts-announce/2022/05/msg00032.html