Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability.
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.77% (FIRST EPSS); higher than 55.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: bouncycastle (Debian:10) 1.60-1+deb10u1; bouncycastle (Debian:13) 1.77-1; org.bouncycastle:bcprov-debug-jdk14 (Maven) 1.74.
Low priority for now. Upgrade to bouncycastle (Debian:10) 1.60-1+deb10u1; bouncycastle (Debian:13) 1.77-1; org.bouncycastle:bcprov-debug-jdk14 (Maven) 1.74 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 4, 2023
- Updated
- Jun 17, 2026
- EPSS
- 0.7% · 55th percentile
- CWE
- CWE-295
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| bouncycastle | bc-java | cpe:2.3:a:bouncycastle:bc-java |
Check your site's encryption
This vulnerability is about certificate validation or weak cryptography. The free SSL checker tests your certificate, enabled TLS versions and weak ciphers.
Run the SSL checkAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- bouncycastle bc-javabefore 1.74
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | bouncycastle | before 1.60-1+deb10u1 | 1.60-1+deb10u1 |
| Debian:12 | bouncycastle | from 0 | — |
| Debian:13 | bouncycastle | before 1.77-1 | 1.77-1 |
| Maven | org.bouncycastle:bcprov-debug-jdk14 | from 1.49 · before 1.74 | 1.74 |
| Maven | org.bouncycastle:bcprov-debug-jdk15on | from 1.49 · up to and including 1.70 | — |
| Maven | org.bouncycastle:bcprov-debug-jdk15to18 | before 1.74 | 1.74 |
| Maven | org.bouncycastle:bcprov-debug-jdk18on | before 1.74 | 1.74 |
| Maven | org.bouncycastle:bcprov-ext-jdk14 | from 1.49 · before 1.74 | 1.74 |
| Maven | org.bouncycastle:bcprov-ext-jdk15on | from 1.49 · up to and including 1.70 | — |
| Maven | org.bouncycastle:bcprov-ext-jdk15to18 | before 1.74 | 1.74 |
| Maven | org.bouncycastle:bcprov-ext-jdk18on | before 1.74 | 1.74 |
| Maven | org.bouncycastle:bcprov-jdk14 | from 1.49 · before 1.74 | 1.74 |
| Maven | org.bouncycastle:bcprov-jdk15on | from 1.49 · up to and including 1.70 | — |
| Maven | org.bouncycastle:bcprov-jdk15to18 | before 1.74 | 1.74 |
| Maven | org.bouncycastle:bcprov-jdk18on | before 1.74 | 1.74 |
| openSUSE:Leap 15.4 | bouncycastle | before 1.74-150200.3.21.1 | 1.74-150200.3.21.1 |
| openSUSE:Tumbleweed | bouncycastle | before 1.74-1.1 | 1.74-1.1 |
| Red Hat:jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis | before 0:2.16.0-15.redhat_00049.1.el7eap | 0:2.16.0-15.redhat_00049.1.el7eap |
| Red Hat:jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis-cli | before 0:2.16.0-15.redhat_00049.1.el7eap | 0:2.16.0-15.redhat_00049.1.el7eap |
| Red Hat:jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis-commons | before 0:2.16.0-15.redhat_00049.1.el7eap | 0:2.16.0-15.redhat_00049.1.el7eap |
| Red Hat:jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis-core-client | before 0:2.16.0-15.redhat_00049.1.el7eap | 0:2.16.0-15.redhat_00049.1.el7eap |
| Red Hat:jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis-dto | before 0:2.16.0-15.redhat_00049.1.el7eap | 0:2.16.0-15.redhat_00049.1.el7eap |
| Red Hat:jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis-hornetq-protocol | before 0:2.16.0-15.redhat_00049.1.el7eap | 0:2.16.0-15.redhat_00049.1.el7eap |
| Red Hat:jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis-hqclient-protocol | before 0:2.16.0-15.redhat_00049.1.el7eap | 0:2.16.0-15.redhat_00049.1.el7eap |
+96
Same product
bouncycastle: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-13098BouncyCastle JCE TLS Bleichenbacher/ROBOT60This week
- CVE-2007-6721The Legion of the Bouncy Castle Java Cryptography API before release 1.38, as used in Crypto Provider Package before 1.36, has unknown impac41Plan
- CVE-2018-1000613Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to but not including 1.60 contains a CWE-470: Use of 40Plan
Published before and after this one in the same product
- ← EarlierCVE-2019-17359Oct 8, 2019 · The ASN.1 parser in Bouncy Castle Crypto (aka BC Java) 1.63 can trigger a large attempted memory allocation, and resultant OutOfMemoryError 33Monitor
- ← EarlierCVE-2020-28052Dec 17, 2020 · An issue was discovered in Legion of the Bouncy Castle BC Java 1.65 and 1.66.34Monitor
- Later →CVE-2024-14041Jul 28, 2026 · ML-KEM (Kyber) decapsulation leaks private key information through non-constant-time division in message decoding and ciphertext compression (KyberSlash)32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:bouncycastle | 1.77-1 · Debian:13 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-debug-jdk14 | 1.74 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-debug-jdk15to18 | 1.74 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-debug-jdk18on | 1.74 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-ext-jdk14 | 1.74 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-ext-jdk15to18 | 1.74 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-ext-jdk18on | 1.74 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk14 | 1.74 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk15to18 | 1.74 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk18on | 1.74 | Package registry (OSV) |
| opensuse:bouncycastle | 1.74-150200.3.21.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:eap7-activemq-artemis | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-cli | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-commons | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-core-client | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-dto | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-hornetq-protocol | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-hqclient-protocol | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-jdbc-store | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-jms-client | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-jms-server | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-journal | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-ra | 0:2.16.0-15.redhat_00049.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| suse:bouncycastle | 1.74-150200.3.21.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-295 · Improper Certificate ValidationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvd-primary
Root cause
A certificate validation error is silently swallowed instead of terminating the connection. Often, code added for a test environment makes its way into production.
The bug in code
The whole CWE-295 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
override fun checkServerTrusted(chain: Array<X509Certificate>, type: String) {
// Left empty for the test environment
}Fixed
val client = OkHttpClient.Builder()
.certificatePinner(
CertificatePinner.Builder()
.add("api.sirius.example", "sha256/…")
.build()
).build()Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.