CVE-2026-0636: Bouncy Castle has an LDAP injection

Published Apr 15, 2026
·
Updated

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.

This issue affects BC-JAVA: from 1.74 before 1.80.2, from 1.81 before 1.81.1, from 1.82 before 1.84.

Other sources

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

— OSV

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.

This issue affects BC-JAVA: from 1.74 before 1.84.

— GitHub

Affected Software

15 affected componentsFixes available
Bouncy Castle BC-JAVA bcprov>=1.74<1.84
maven/org.bouncycastle:bcprov-jdk18on>=1.74<1.84
1.84
maven/org.bouncycastle:bcprov-jdk15to18>=1.74<1.84
1.84
maven/org.bouncycastle:bcprov-jdk14>=1.74<1.84
1.84
IBM Guardium Data Protection<=12.2
maven/org.bouncycastle:bcprov-jdk14>=1.74<1.80.2
1.80.2
maven/org.bouncycastle:bcprov-jdk15to18>=1.74<1.80.2
1.80.2
maven/org.bouncycastle:bcprov-jdk18on>=1.74<1.80.2
1.80.2
maven/org.bouncycastle:bcprov-jdk14>=1.81<1.81.1
1.81.1
maven/org.bouncycastle:bcprov-jdk15to18>=1.81<1.81.1
1.81.1
maven/org.bouncycastle:bcprov-jdk18on>=1.81<1.81.1
1.81.1
maven/org.bouncycastle:bcprov-jdk14>=1.82<1.84
1.84
maven/org.bouncycastle:bcprov-jdk15to18>=1.82<1.84
1.84
maven/org.bouncycastle:bcprov-jdk18on>=1.82<1.84
1.84
debian/bouncycastle<=1.72-2, <=1.80-3
1.86-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk18on to a version that resolves this vulnerability.

    Fixed in 1.84
  2. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk15to18 to a version that resolves this vulnerability.

    Fixed in 1.84
  3. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk14 to a version that resolves this vulnerability.

    Fixed in 1.84
  4. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk14 to a version that resolves this vulnerability.

    Fixed in 1.80.2
  5. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk15to18 to a version that resolves this vulnerability.

    Fixed in 1.80.2
  6. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk18on to a version that resolves this vulnerability.

    Fixed in 1.80.2
  7. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk14 to a version that resolves this vulnerability.

    Fixed in 1.81.1
  8. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk15to18 to a version that resolves this vulnerability.

    Fixed in 1.81.1
  9. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk18on to a version that resolves this vulnerability.

    Fixed in 1.81.1
  10. Upgrade

    Upgrade debian/bouncycastle to a version that resolves this vulnerability.

    Fixed in 1.86-1
  11. Upgrade

    Upgrade BC-JAVA to a version that resolves this vulnerability.

    Fixed in 1.80.2
  12. Upgrade

    Upgrade BC-JAVA to a version that resolves this vulnerability.

    Fixed in 1.81.1
  13. Upgrade

    Upgrade BC-JAVA to a version that resolves this vulnerability.

    Fixed in 1.84

Event History

Apr 15, 2026
CVE Published
via MITRE·08:59 AM
Data Sourced
via MITRE·08:59 AM
DescriptionWeakness
Data Sourced
via Red Hat·10:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeakness
Updated
via MITRE·01:12 PM
Description
Apr 17, 2026
Advisory Published
via GitHub·06:31 PM
Data Sourced
via GitHub·06:31 PM
DescriptionWeaknessAffected Software
Data Sourced
via OSV·06:31 PM
DescriptionSeverityWeaknessAffected Software
May 15, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
May 18, 2026
Updated
via MITRE·11:20 PM
Description
May 19, 2026
Updated
via NVD·12:16 AM
Description
Jun 30, 2026
Updated
via NVD·03:17 AM
SeverityWeakness
Aug 5, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 22, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 26, 2026
Updated
via NVD·09:10 PM
DescriptionSeverityWeakness
Nov 4, 2026
Data Sourced
via GitHub·03:24 AM
Severity
Updated
via GitHub·03:24 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-0636?

CVE-2026-0636 has a severity rating that indicates a medium risk due to potential LDAP injection attacks.

2

How do I fix CVE-2026-0636?

To fix CVE-2026-0636, update your Bouncy Castle BC-JAVA bcprov library to a version above 1.84.

3

What is LDAP injection in the context of CVE-2026-0636?

LDAP injection in the context of CVE-2026-0636 refers to the improper handling of user input in LDAP queries, allowing malicious input to alter query execution.

4

Which versions of Bouncy Castle BC-JAVA bcprov are affected by CVE-2026-0636?

CVE-2026-0636 affects Bouncy Castle BC-JAVA bcprov versions from 1.49 to 1.84.

5

What are the consequences of not addressing CVE-2026-0636?

Failing to address CVE-2026-0636 can lead to unauthorized access or manipulation of LDAP data, compromising application security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203