Loading advisory.
Loading advisory.
Bouncy Castle For Java LDAP injection vulnerability
Bouncy Castle provides the X509LDAPCertStoreSpi.java class which can be used in conjunction with the CertPath API for validating certificate paths.
Published 2023-07-05 00:00 UTC · Modified 2026-09-10 03:49 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.bouncycastle:bcprov-jdk18on | Maven | < 1.74 versions 1.71, 1.71.1, 1.72, 1.73 | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-jdk15to18 | Maven | < 1.74 versions 1.63, 1.64, 1.65, 1.66, 1.67, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73 | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-jdk14 | Maven | >= 1.49, < 1.74 versions 1.49, 1.50, 1.51, 1.53, 1.54, 1.55, 1.56, 1.57, 1.58, 1.59, 1.60, 1.61, 1.62, 1.63, 1.64, 1.65, 1.67, 1.68, 1.69, 1.70 and 3 more | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-ext-jdk14 | Maven | >= 1.49, < 1.74 versions 1.49, 1.50, 1.51, 1.53, 1.54, 1.56, 1.57, 1.58, 1.60, 1.64, 1.65, 1.67, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73 | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-ext-jdk15to18 | Maven | < 1.74 versions 1.64, 1.67, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73 | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-ext-jdk18on | Maven | < 1.74 versions 1.71, 1.72, 1.73 | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-debug-jdk14 | Maven | >= 1.49, < 1.74 versions 1.55, 1.59, 1.60, 1.64, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73 | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-debug-jdk15to18 | Maven | < 1.74 versions 1.64, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73 | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-debug-jdk18on | Maven | < 1.74 versions 1.71, 1.72, 1.73 | 1.74 | No single command for Maven. Update to 1.74 in your build file. |
| org.bouncycastle:bcprov-jdk15on | Maven | >= 1.49, <= 1.70 versions 1.49, 1.50, 1.51, 1.52, 1.53, 1.54, 1.55, 1.56, 1.57, 1.58, 1.59, 1.60, 1.61, 1.62, 1.63, 1.64, 1.65, 1.65.01, 1.66, 1.67 and 3 more | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-ext-jdk15on | Maven | >= 1.49, <= 1.70 versions 1.49, 1.50, 1.51, 1.52, 1.53, 1.54, 1.55, 1.56, 1.57, 1.58, 1.59, 1.60, 1.61, 1.62, 1.63, 1.64, 1.65, 1.66, 1.67, 1.68 and 2 more | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-debug-jdk15on | Maven | >= 1.49, <= 1.70 versions 1.52, 1.53, 1.55, 1.56, 1.57, 1.58, 1.59, 1.60, 1.61, 1.62, 1.63, 1.64, 1.65, 1.66, 1.67, 1.68, 1.69, 1.70 | No patch yet | No command until a fix exists. |
Bouncy Castle provides the X509LDAPCertStoreSpi.java class which can be used in conjunction with the CertPath API for validating certificate paths. Pre-1.73 the implementation did not check the X.500 name of any certificate, subject, or issuer being passed in for LDAP wild cards, meaning the presence of a wild car may lead to Information Disclosure.
A potential attack would be to generate a self-signed certificate with a subject name that contains special characters, e.g: CN=Subject*)(objectclass=. This will be included into the filter and provides the attacker ability to specify additional attributes in the search query. This can be exploited as a blind LDAP injection: an attacker can enumerate valid attribute values using the boolean blind injection technique. The exploitation depends on the structure of the target LDAP directory, as well as what kind of errors are exposed to the user.
Changes to the X509LDAPCertStoreSpi.java class add the additional checking of any X.500 name used to correctly escape wild card characters.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.008 on 2026-11-24 to 0.008 on 2026-12-01, over 3 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.008 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.008 | v2026.06.15 |
| 2026-12-01 | 0.008 | 0.007 | v2026.06.15 |