Skip to main content
VulnerabilityPublished

CVE-2026-59652: Legion of the Bouncy Castle BC-JAVA · LDAP Injection

Affects Legion of the Bouncy Castle BC-JAVASource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.9 Medium : upgrade to 1.85 when convenient.

Data as of 31 Oct 2026, 08:20 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.85
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade BC-JAVA and bcprov to 1.85.

Affected software

ProductAffectedFixed in
Legion of the Bouncy Castle Inc.BC-JAVAAffected
  • <1.85
Fixed in
  • 1.85
GitHubbcprovpkg:github/bcprovOther threatsAffected
  • <1.85
Fixed in
  • 1.85

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Avoid using the legacy jdk1.4 LDAPStoreHelper component if possible or apply additional input validation controls to mitigate injection risks.

Description

CVE-2026-59652 is an LDAP injection vulnerability in the Bouncy Castle for Java library (BC-JAVA) affecting versions before 1.85. The issue occurs in the legacy jdk1.4 LDAPStoreHelper component, where improper neutralization of special elements in LDAP queries allows injection. This vulnerability has a medium severity with a CVSS score of 6.9.

References

Community reviews

Loading reviews…