CVE-2026-0636 — bcprov-jdk14
Fix: bcgit/bc-java@d20cdb8CVE-2026-0636 is a CWE-90 vulnerability in org.bouncycastle:bcprov-jdk14. A fix is available for org.bouncycastle:bcprov-jdk14 — see the affected versions and patch details below.
LDAP Injection Vulnerability in LDAPStoreHelper.java
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-0636.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Real-World Exposure
org.bouncycastle:bcprov-jdk14☕org.bouncycastle:bcprov-jdk15to18☕org.bouncycastle:bcprov-jdk18onReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.bouncycastle:bcprov-jdk14 | ≥ 1.74&&< 1.84 | 1.84org.bouncycastle:bcprov-jdk14:1.84 |
| ☕Maven | org.bouncycastle:bcprov-jdk15to18 | ≥ 1.74&&< 1.84 | 1.84org.bouncycastle:bcprov-jdk15to18:1.84 |
| ☕Maven | org.bouncycastle:bcprov-jdk18on | ≥ 1.74&&< 1.84 | 1.84org.bouncycastle:bcprov-jdk18on:1.84 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.bouncycastle:bcprov-jdk14, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.bouncycastle:bcprov-jdk14 to 1.84 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-0636 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2026-0636 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2026-0636. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
To exploit this issue, an attacker needs to submit crafted input to an application using the `LDAPStoreHelper` implementation for directory queries. An attack typically requires the application to pass the malicious input directly into a search filter, allowing the attacker to modify the resulting LDAP query. The…
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat AMQ Broker 7.12.7 | bcprov-jdk18on | RHSA-2026:14276 |
| Red Hat AMQ Broker 7.13.5 | bcprov-jdk18on | RHSA-2026:14272 |
| Red Hat AMQ Broker 7.14.1 | bcprov-jdk18on | RHSA-2026:66488 |
| Red Hat Build of Apache Camel 4.14 for Quarkus 3.27 | bcprov-jdk18on | RHSA-2026:13631 |
| Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | bcprov-debug-jdk15on | RHSA-2026:17668 |
| Red Hat build of Quarkus 3.20.6.SP1 | bcprov-jdk18on | RHSA-2026:11720 |
| Red Hat build of Quarkus 3.27.3.SP1 | bcprov-jdk18on | RHSA-2026:11721 |
| Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7 | eap7-activemq-artemis-0:2.16.0-22.redhat_00057.1.el7eap | RHSA-2026:53644 |
Frequently Asked Questions
Is CVE-2026-0636 in your dependencies?
O3 Security finds CVE-2026-0636 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.