CVE-2026-0636: Bouncy Castle has an LDAP injection
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
Published Apr 17, 2026 · Updated Nov 4, 2026
Affected packages
org.bouncycastle:bcprov-jdk14
- Ecosystem
- Maven
- Affected
- >= 1.74, < 1.80.2
- Fixed in
- 1.80.2
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk14
org.bouncycastle:bcprov-jdk15to18
- Ecosystem
- Maven
- Affected
- >= 1.74, < 1.80.2
- Fixed in
- 1.80.2
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk15to18
org.bouncycastle:bcprov-jdk18on
- Ecosystem
- Maven
- Affected
- >= 1.74, < 1.80.2
- Fixed in
- 1.80.2
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk18on
org.bouncycastle:bcprov-jdk14
- Ecosystem
- Maven
- Affected
- >= 1.81, < 1.81.1
- Fixed in
- 1.81.1
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk14
org.bouncycastle:bcprov-jdk15to18
- Ecosystem
- Maven
- Affected
- >= 1.81, < 1.81.1
- Fixed in
- 1.81.1
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk15to18
org.bouncycastle:bcprov-jdk18on
- Ecosystem
- Maven
- Affected
- >= 1.81, < 1.81.1
- Fixed in
- 1.81.1
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk18on
org.bouncycastle:bcprov-jdk14
- Ecosystem
- Maven
- Affected
- >= 1.82, < 1.84
- Fixed in
- 1.84
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk14
org.bouncycastle:bcprov-jdk15to18
- Ecosystem
- Maven
- Affected
- >= 1.82, < 1.84
- Fixed in
- 1.84
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk15to18
org.bouncycastle:bcprov-jdk18on
- Ecosystem
- Maven
- Affected
- >= 1.82, < 1.84
- Fixed in
- 1.84
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk18on
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to sislampanw.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-0636
- https://github.com/bcgit/bc-java/commit/d20cdb8430e09224114fec0179a71859929fcbde
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%900636
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0636.json
- https://bugzilla.redhat.com/show_bug.cgi?id=2458641
- https://access.redhat.com/security/cve/CVE-2026-0636
- https://access.redhat.com/errata/RHSA-2026:66488
- https://access.redhat.com/errata/RHSA-2026:60259
- https://access.redhat.com/errata/RHSA-2026:60256
- https://access.redhat.com/errata/RHSA-2026:60254
- https://access.redhat.com/errata/RHSA-2026:60252
- https://access.redhat.com/errata/RHSA-2026:60251
- https://access.redhat.com/errata/RHSA-2026:60250
- https://access.redhat.com/errata/RHSA-2026:60249
- https://access.redhat.com/errata/RHSA-2026:60248
- https://access.redhat.com/errata/RHSA-2026:60247
- https://access.redhat.com/errata/RHSA-2026:60246
- https://access.redhat.com/errata/RHSA-2026:60239
- https://access.redhat.com/errata/RHSA-2026:53806
- https://access.redhat.com/errata/RHSA-2026:53646
- https://access.redhat.com/errata/RHSA-2026:53645
- https://access.redhat.com/errata/RHSA-2026:53644
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/errata/RHSA-2026:18059
- https://access.redhat.com/errata/RHSA-2026:18055
- https://access.redhat.com/errata/RHSA-2026:18054
- https://access.redhat.com/errata/RHSA-2026:17668
- https://access.redhat.com/errata/RHSA-2026:14276
- https://access.redhat.com/errata/RHSA-2026:14272
- https://access.redhat.com/errata/RHSA-2026:13631
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-13506
Bouncy Castle: Lazy ASN.1 sequence forcing resets nesting-depth guard
high7.5Aug 3, 2026CVE-2026-8763
Bouncy Castle: Name Constraints bypass via trailing dot in rfc822Name and URI
critical9.1Aug 3, 2026CVE-2025-14813
Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks
critical7.5No fixApr 17, 2026CVE-2026-5598
Bouncy Castle Has Covert Timing Channel Vulnerability
high7.5Apr 17, 2026CVE-2025-8885
Bouncy Castle for Java on All (API modules) allows Excessive Allocation
medium6.3Aug 12, 2025CVE-2024-29857
Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.
medium5.3No fixMay 14, 2024
