MODERATE 6.5

CVE-2026-0636

Bouncy Castle has an LDAP injection

Description

Improper neutralization of special elements used in an LDAP query ('LDAP injection') vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA bcprov on all (prov modules). This vulnerability is associated with program files LDAPStoreHelper.

Issue affecting: BC 1.74 to 1.80.1, BC 1.81, BC 1.82 to BC 1.83.

Fixed versions: BC 1.80.2, BC 1.81.1, BC 1.84

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.bouncycastle » bcprov-jdk14
>= 1.74, < 1.80.2>= 1.81, < 1.81.1>= 1.82, < 1.84
1.80.2, 1.81.1, 1.84
org.bouncycastle » bcprov-jdk15to18
>= 1.74, < 1.80.2>= 1.81, < 1.81.1>= 1.82, < 1.84
1.80.2, 1.81.1, 1.84
org.bouncycastle » bcprov-jdk18on
>= 1.74, < 1.80.2>= 1.81, < 1.81.1>= 1.82, < 1.84
1.80.2, 1.81.1, 1.84

Blast radius

3affected artifacts
43affected versions
25,007dependent artifacts (est.)
1,070,402dependent versions

58% of the dependent artifacts (14,587) still pull an affected version in their latest release.

DepthDependent versions
Direct
52,447
2 hops
214,011
3 hops
272,510
4 hops
337,811
5 hops
157,326
6 hops
36,297

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References