{"cve":"CVE-2023-33201","nvd":{"published":"2023-07-05T03:15:09.197","modified":"2026-06-17T06:01:17.860","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-295"],"references":["https://bouncycastle.org","https://github.com/bcgit/bc-java/commit/e8c409a8389c815ea3fda5e8b94c92fdfe583bcc","https://github.com/bcgit/bc-java/wiki/CVE-2023-33201","https://lists.debian.org/debian-lts-announce/2023/08/msg00000.html","https://security.netapp.com/advisory/ntap-20230824-0008/"],"products":["bouncycastle:bc-java"],"source":"nvd","synced_at":"2026-10-19T21:38:30.124994567+00:00"},"epss":{"cve":"CVE-2023-33201","score":0.00772,"percentile":0.55712,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hr8g-6v94-x4m9","url":"https://osv.dev/vulnerability/GHSA-hr8g-6v94-x4m9","summary":"Bouncy Castle For Java LDAP injection vulnerability","modified":"2026-09-10T03:49:42.995735819Z","packages":[{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","ranges":["<1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","ranges":["<1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","ranges":[">=1.49 <1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-ext-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk14","ranges":[">=1.49 <1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-ext-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk15to18","ranges":["<1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-ext-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk18on","ranges":["<1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-debug-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-debug-jdk14","ranges":[">=1.49 <1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-debug-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-debug-jdk15to18","ranges":["<1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-debug-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-debug-jdk18on","ranges":["<1.74"],"fixed":["1.74"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","ranges":[">=1.49 <=1.70"],"fixed":[]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-ext-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk15on","ranges":[">=1.49 <=1.70"],"fixed":[]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-debug-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-debug-jdk15on","ranges":[">=1.49 <=1.70"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}