# CVE-2021-27212: libldap2: In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertionfailure in slapd can occur in the issuerAndThisU...

CVE-2021-27212 is fixed in 17 products on 1 platform, first by ldap-utils 2.4.45+dfsg-1ubuntu1.10, released February 13, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-27212
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.6611
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 13, 2021

## Description

In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertionfailure in slapd can occur in the issuerAndThisUpdateCheck function via acrafted packet, resulting in a denial of service (daemon exit) via a shorttimestamp. This is related to schema_init.c and checkTime.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ldap-utils Ubuntu 18.04.6 LTS (bionic) | 2.4.45+dfsg-1ubuntu1.10 | [ldap-utils 2.4.45+dfsg-1ubuntu1.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ldap-utils-2.4.45-dfsg-1ubuntu1.10.md) | Feb 13, 2021 |
| Linux | ldap-utils Ubuntu 20.04 LTS (focal) | 2.4.49+dfsg-2ubuntu1.7 | [ldap-utils 2.4.49+dfsg-2ubuntu1.7](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ldap-utils-2.4.49-dfsg-2ubuntu1.7.md) | Feb 13, 2021 |
| Linux | ldap-utils Ubuntu 24.10 (oracular) | 2.4.57+dfsg-2ubuntu1 | [ldap-utils 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-ldap-utils-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | ldap-utils Ubuntu 25.04 (plucky) | 2.4.57+dfsg-2ubuntu1 | [ldap-utils 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-ldap-utils-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | libldap-2.4-2 Ubuntu 18.04.6 LTS (bionic) | 2.4.45+dfsg-1ubuntu1.10 | [libldap-2.4-2 2.4.45+dfsg-1ubuntu1.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libldap-2.4-2-2.4.45-dfsg-1ubuntu1.10.md) | Feb 13, 2021 |
| Linux | libldap-2.4-2 Ubuntu 20.04 LTS (focal) | 2.4.49+dfsg-2ubuntu1.7 | [libldap-2.4-2 2.4.49+dfsg-2ubuntu1.7](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libldap-2.4-2-2.4.49-dfsg-2ubuntu1.7.md) | Feb 13, 2021 |
| Linux | libldap-common Ubuntu 18.04.6 LTS (bionic) | 2.4.45+dfsg-1ubuntu1.10 | [libldap-common 2.4.45+dfsg-1ubuntu1.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libldap-common-2.4.45-dfsg-1ubuntu1.10.md) | Feb 13, 2021 |
| Linux | libldap-common Ubuntu 20.04 LTS (focal) | 2.4.49+dfsg-2ubuntu1.7 | [libldap-common 2.4.49+dfsg-2ubuntu1.7](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libldap-common-2.4.49-dfsg-2ubuntu1.7.md) | Feb 13, 2021 |
| Linux | libldap-common Ubuntu 24.10 (oracular) | 2.4.57+dfsg-2ubuntu1 | [libldap-common 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libldap-common-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | libldap-common Ubuntu 25.04 (plucky) | 2.4.57+dfsg-2ubuntu1 | [libldap-common 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libldap-common-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | libldap2 Ubuntu 24.10 (oracular) | 2.4.57+dfsg-2ubuntu1 | [libldap2 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libldap2-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | libldap2 Ubuntu 25.04 (plucky) | 2.4.57+dfsg-2ubuntu1 | [libldap2 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libldap2-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | openldap amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-clients amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-clients-debuginfo amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-compat amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-compat-debuginfo amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-debuginfo amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-debugsource amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-devel amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-servers amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | openldap-servers-debuginfo amzn 2023 | 2.4.57-6.amzn2023.0.4 | [ALAS2023-2023-177](https://patchblox.com/security/data/fix/linux/alas2023-2023-177.md) | Apr 27, 2023 |
| Linux | slapd Ubuntu 18.04.6 LTS (bionic) | 2.4.45+dfsg-1ubuntu1.10 | [slapd 2.4.45+dfsg-1ubuntu1.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-slapd-2.4.45-dfsg-1ubuntu1.10.md) | Feb 13, 2021 |
| Linux | slapd Ubuntu 20.04 LTS (focal) | 2.4.49+dfsg-2ubuntu1.7 | [slapd 2.4.49+dfsg-2ubuntu1.7](https://patchblox.com/security/data/fix/linux/ubuntu-focal-slapd-2.4.49-dfsg-2ubuntu1.7.md) | Feb 13, 2021 |
| Linux | slapd Ubuntu 24.10 (oracular) | 2.4.57+dfsg-2ubuntu1 | [slapd 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-slapd-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | slapd Ubuntu 25.04 (plucky) | 2.4.57+dfsg-2ubuntu1 | [slapd 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-slapd-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | slapd-contrib Ubuntu 20.04 LTS (focal) | 2.4.49+dfsg-2ubuntu1.7 | [slapd-contrib 2.4.49+dfsg-2ubuntu1.7](https://patchblox.com/security/data/fix/linux/ubuntu-focal-slapd-contrib-2.4.49-dfsg-2ubuntu1.7.md) | Feb 13, 2021 |
| Linux | slapd-contrib Ubuntu 24.10 (oracular) | 2.4.57+dfsg-2ubuntu1 | [slapd-contrib 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-slapd-contrib-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | slapd-contrib Ubuntu 25.04 (plucky) | 2.4.57+dfsg-2ubuntu1 | [slapd-contrib 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-slapd-contrib-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |
| Linux | slapd-smbk5pwd Ubuntu 18.04.6 LTS (bionic) | 2.4.45+dfsg-1ubuntu1.10 | [slapd-smbk5pwd 2.4.45+dfsg-1ubuntu1.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-slapd-smbk5pwd-2.4.45-dfsg-1ubuntu1.10.md) | Feb 13, 2021 |
| Linux | slapd-smbk5pwd Ubuntu 20.04 LTS (focal) | 2.4.49+dfsg-2ubuntu1.7 | [slapd-smbk5pwd 2.4.49+dfsg-2ubuntu1.7](https://patchblox.com/security/data/fix/linux/ubuntu-focal-slapd-smbk5pwd-2.4.49-dfsg-2ubuntu1.7.md) | Feb 13, 2021 |
| Linux | slapd-smbk5pwd Ubuntu 24.10 (oracular) | 2.4.57+dfsg-2ubuntu1 | [slapd-smbk5pwd 2.4.57+dfsg-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-slapd-smbk5pwd-2.4.57-dfsg-2ubuntu1.md) | Jan 16, 2026 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
