# CVE-2023-33201: bouncycastle: Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability

CVE-2023-33201 is fixed in 12 products on 1 platform, first by DEBIAN-CVE-2023-33201, released July 5, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-33201
- Priority: Routine
- CVSS: 5.3 (medium)
- EPSS: 0.0077
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 4, 2023

## Description

Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability. The vulnerability only affects applications that use an LDAP CertStore from Bouncy Castle to validate X.509 certificates. During the certificate validation process, Bouncy Castle inserts the certificate's Subject Name into an LDAP search filter without any escaping, which leads to an LDAP injection vulnerability.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bouncycastle Debian 13.5 (trixie) | 1.77-1 | [DEBIAN-CVE-2023-33201](https://patchblox.com/security/data/fix/linux/debian-cve-2023-33201.md) | Jul 5, 2023 |
| Linux | bouncycastle Debian 14 | 1.77-1 | [DEBIAN-CVE-2023-33201](https://patchblox.com/security/data/fix/linux/debian-cve-2023-33201.md) | Jul 5, 2023 |
| Linux | bouncycastle amzn 2023 | 1.70-4.amzn2023.0.3 | [ALAS2023-2023-280](https://patchblox.com/security/data/fix/linux/alas2023-2023-280.md) | Aug 3, 2023 |
| Linux | bouncycastle-javadoc amzn 2023 | 1.70-4.amzn2023.0.3 | [ALAS2023-2023-280](https://patchblox.com/security/data/fix/linux/alas2023-2023-280.md) | Aug 3, 2023 |
| Linux | bouncycastle-mail amzn 2023 | 1.70-4.amzn2023.0.3 | [ALAS2023-2023-280](https://patchblox.com/security/data/fix/linux/alas2023-2023-280.md) | Aug 3, 2023 |
| Linux | bouncycastle-pg amzn 2023 | 1.70-4.amzn2023.0.3 | [ALAS2023-2023-280](https://patchblox.com/security/data/fix/linux/alas2023-2023-280.md) | Aug 3, 2023 |
| Linux | bouncycastle-pkix amzn 2023 | 1.70-4.amzn2023.0.3 | [ALAS2023-2023-280](https://patchblox.com/security/data/fix/linux/alas2023-2023-280.md) | Aug 3, 2023 |
| Linux | bouncycastle-tls amzn 2023 | 1.70-4.amzn2023.0.3 | [ALAS2023-2023-280](https://patchblox.com/security/data/fix/linux/alas2023-2023-280.md) | Aug 3, 2023 |
| Linux | bouncycastle-util amzn 2023 | 1.70-4.amzn2023.0.3 | [ALAS2023-2023-280](https://patchblox.com/security/data/fix/linux/alas2023-2023-280.md) | Aug 3, 2023 |
| Linux | libbcmail-java Ubuntu 18.04.6 LTS (bionic) | 1.59-1ubuntu0.1~esm1 | [libbcmail-java 1.59-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libbcmail-java-1.59-1ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcmail-java Ubuntu 20.04 LTS (focal) | 1.61-1ubuntu0.1~esm1 | [libbcmail-java 1.61-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libbcmail-java-1.61-1ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcmail-java Ubuntu 22.04.1 LTS (jammy) | 1.68-5ubuntu0.1~esm1 | [libbcmail-java 1.68-5ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libbcmail-java-1.68-5ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcpg-java Ubuntu 18.04.6 LTS (bionic) | 1.59-1ubuntu0.1~esm1 | [libbcpg-java 1.59-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libbcpg-java-1.59-1ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcpg-java Ubuntu 20.04 LTS (focal) | 1.61-1ubuntu0.1~esm1 | [libbcpg-java 1.61-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libbcpg-java-1.61-1ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcpg-java Ubuntu 22.04.1 LTS (jammy) | 1.68-5ubuntu0.1~esm1 | [libbcpg-java 1.68-5ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libbcpg-java-1.68-5ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcpkix-java Ubuntu 18.04.6 LTS (bionic) | 1.59-1ubuntu0.1~esm1 | [libbcpkix-java 1.59-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libbcpkix-java-1.59-1ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcpkix-java Ubuntu 20.04 LTS (focal) | 1.61-1ubuntu0.1~esm1 | [libbcpkix-java 1.61-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libbcpkix-java-1.61-1ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcpkix-java Ubuntu 22.04.1 LTS (jammy) | 1.68-5ubuntu0.1~esm1 | [libbcpkix-java 1.68-5ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libbcpkix-java-1.68-5ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcprov-java Ubuntu 18.04.6 LTS (bionic) | 1.59-1ubuntu0.1~esm1 | [libbcprov-java 1.59-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libbcprov-java-1.59-1ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcprov-java Ubuntu 20.04 LTS (focal) | 1.61-1ubuntu0.1~esm1 | [libbcprov-java 1.61-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libbcprov-java-1.61-1ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbcprov-java Ubuntu 22.04.1 LTS (jammy) | 1.68-5ubuntu0.1~esm1 | [libbcprov-java 1.68-5ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libbcprov-java-1.68-5ubuntu0.1-esm1.md) | May 14, 2024 |
| Linux | libbctls-java Ubuntu 22.04.1 LTS (jammy) | 1.68-5ubuntu0.1~esm1 | [libbctls-java 1.68-5ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libbctls-java-1.68-5ubuntu0.1-esm1.md) | May 14, 2024 |

---

Data as of 2026-11-08T00:53:09Z 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.
