---
id: CVE-2020-36226
title: >-
  A flaw was discovered in OpenLDAP before 2.4.57 leading to a memch->bv_len
  miscalculation and slapd crash in the saslAuthzTo processing, resulting in
  denial of service.
summary: >-
  A flaw was discovered in OpenLDAP before 2.4.57 leading to a memch->bv_len
  miscalculation and slapd crash in the saslAuthzTo processing, resulting in
  denial of service.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: openldap
product: openldap
affected:
  - openldap < 2.4.57
  - debian_linux = 9.0
  - debian_linux = 10.0
  - 'mac_os_x >= 10.14.0, < 10.14.6'
  - mac_os_x = 10.14.6
  - 'macos >= 11.1, < 11.4'
patched:
  - openldap 2.4.57
  - mac_os_x 10.14.6
  - macos 11.4
published: '2021-01-26'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T10:17:36.877'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2020-36226'
references:
  - url: 'http://seclists.org/fulldisclosure/2021/May/64'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2021/May/65'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2021/May/70'
    label: cve@mitre.org
  - url: 'https://bugs.openldap.org/show_bug.cgi?id=9413'
    label: cve@mitre.org
  - url: >-
      https://git.openldap.org/openldap/openldap/-/commit/554dff1927176579d652f2fe60c90e9abbad4c65
    label: cve@mitre.org
  - url: >-
      https://git.openldap.org/openldap/openldap/-/commit/5a2017d4e61a6ddc4dcb4415028e0d08eb6bca26
    label: cve@mitre.org
  - url: >-
      https://git.openldap.org/openldap/openldap/-/commit/c0b61a9486508e5202aa2e0cfb68c9813731b439
    label: cve@mitre.org
  - url: >-
      https://git.openldap.org/openldap/openldap/-/commit/d169e7958a3e0dc70f59c8374bf8a59833b7bdd8
    label: cve@mitre.org
  - url: 'https://git.openldap.org/openldap/openldap/-/tags/OPENLDAP_REL_ENG_2_4_57'
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a7041177497c%40%3Cissues.guacamole.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2021/02/msg00005.html'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20210226-0002/'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT212529'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT212530'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT212531'
    label: cve@mitre.org
  - url: 'https://www.debian.org/security/2021/dsa-4845'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2021/May/64'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2021/May/65'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2021/May/70'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugs.openldap.org/show_bug.cgi?id=9413'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.openldap.org/openldap/openldap/-/commit/554dff1927176579d652f2fe60c90e9abbad4c65
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.openldap.org/openldap/openldap/-/commit/5a2017d4e61a6ddc4dcb4415028e0d08eb6bca26
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.openldap.org/openldap/openldap/-/commit/c0b61a9486508e5202aa2e0cfb68c9813731b439
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.openldap.org/openldap/openldap/-/commit/d169e7958a3e0dc70f59c8374bf8a59833b7bdd8
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.openldap.org/openldap/openldap/-/tags/OPENLDAP_REL_ENG_2_4_57'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a7041177497c%40%3Cissues.guacamole.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2021/02/msg00005.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20210226-0002/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT212529'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT212530'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT212531'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.debian.org/security/2021/dsa-4845'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.04184
epssPercentile: 0.90711
ingestedAt: '2026-10-14T10:25:41.186Z'
---

## Overview

A flaw was discovered in OpenLDAP before 2.4.57 leading to a memch->bv_len miscalculation and slapd crash in the saslAuthzTo processing, resulting in denial of service.

## Affected

- `openldap < 2.4.57`
- `debian_linux = 9.0`
- `debian_linux = 10.0`
- `mac_os_x >= 10.14.0, < 10.14.6`
- `mac_os_x = 10.14.6`
- `macos >= 11.1, < 11.4`

## Remediation

Upgrade past the affected range:

- `openldap 2.4.57`
- `mac_os_x 10.14.6`
- `macos 11.4`
