A flaw was discovered in OpenLDAP before 2.4.57 leading to an invalid pointer free and slapd crash in the saslAuthzTo processing, resulting in denial of service.
The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly.