cve.bz

CVE-2026-0636 legion of the bouncy castle inc. bc-java: LDAP Injection

5.5 mediumEPSS 0.5%Fix available

Medium (5.5) in legion of the bouncy castle inc. bc-java. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcprov-jdk14 1.80.2, 1.81.1, 1.84.

On this page
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.

Severity

CVSS 4.0

5.5 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/S:N/AU:Y/R:A/RE:M/U:Amber

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-90 Improper Neutralization of Special Elements used in an LDAP Query (LDAP Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • org.bouncycastle:bcprov-jdk14 (Maven): fixed in 1.80.2, 1.81.1, 1.84
  • org.bouncycastle:bcprov-jdk15to18 (Maven): fixed in 1.80.2, 1.81.1, 1.84
  • org.bouncycastle:bcprov-jdk18on (Maven): fixed in 1.80.2, 1.81.1, 1.84
  • Debian, Red Hat, openSUSE: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-0636 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-0636?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-0636?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-0636 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.74 before 1.80.2
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.81 before 1.81.1
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.82 before 1.84

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk14>=1.74 <1.80.21.80.2
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk15to18>=1.74 <1.80.21.80.2
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk18on>=1.74 <1.80.21.80.2
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk14>=1.81 <1.81.11.81.1
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk15to18>=1.81 <1.81.11.81.1
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk18on>=1.81 <1.81.11.81.1
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk14>=1.82 <1.841.84
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk15to18>=1.82 <1.841.84
GHSA-c3fc-8qff-9hwxMavenorg.bouncycastle:bcprov-jdk18on>=1.82 <1.841.84

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13bouncycastleno fix listedDEBIAN-CVE-2026-0636
Debian14bouncycastle1.86-1DEBIAN-CVE-2026-0636
Ubuntu25.10, 26.04:LTS, 26.10 and 5 morebouncycastleno fix listedUBUNTU-CVE-2026-0636
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-activemq-artemis, eap8-activemq-artemis-cli, eap8-activemq-artemis-dto and 12 more0:2.40.0-6.redhat_00012.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-angus, eap8-angus-mail0:2.0.5-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-angus-activation0:2.0.3-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-bouncycastle, eap8-bouncycastle-pg, eap8-bouncycastle-pkix and 3 more0:1.84.0-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-eap-product-conf-parent, eap8-eap-product-conf-wildfly-ee-feature-pack0:801.6.0-1.GA_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-guava, eap8-guava-libraries0:33.0.0-3.jre_redhat_00004.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-guava-failureaccess0:1.0.3-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-hal-console0:3.7.19-1.Final_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-hibernate, eap8-hibernate-core, eap8-hibernate-envers0:6.6.48-1.Final_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-hibernate-search, eap8-hibernate-search-engine, eap8-hibernate-search-mapper-orm and 4 more0:7.2.6-1.Final_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-jakarta-activation0:2.1.4-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-jboss-logging0:3.6.2-1.Final_redhat_00001.1.el8eapRHSA-2026:18054
48 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedbouncycastle1.84-1.1openSUSE-SU-2026:10571-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

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 primary impact of this vulnerability is the loss of confidentiality and integrity for directory data. This can allow an attacker to bypass search restrictions and manipulate directory results, potentially leading to unauthorized access or privilege escalation.

Red Hat's mitigation

To mitigate this flaw, sanitize all user-supplied input to remove or escape LDAP special characters before passing it to the LDAPStoreHelper for directory queries. If the input contains unexpected metacharacters such as asterisks, parentheses or backslashes, reject the request or escape the characters.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7.12.7bcprov-jdk18onFixed 2026-05-06RHSA-2026:14276
Red Hat AMQ Broker 7.13.5bcprov-jdk18onFixed 2026-05-06RHSA-2026:14272
Red Hat AMQ Broker 7.14.1bcprov-jdk18onFixed 2026-09-10RHSA-2026:66488
Red Hat Build of Apache Camel 4.14 for Quarkus 3.27bcprov-jdk18onFixed 2026-05-05RHSA-2026:13631
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcprov-debug-jdk15onFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcprov-jdk15onFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcprov-jdk18onFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcprov-lts8onFixed 2026-05-14RHSA-2026:17668
Red Hat build of Quarkus 3.20.6.SP1org.bouncycastle/bcprov-jdk18on:1.84.0.redhat-00001Fixed 2026-05-05RHSA-2026:11720
Red Hat build of Quarkus 3.27.3.SP1org.bouncycastle/bcprov-jdk18on:1.84.0.redhat-00001Fixed 2026-05-05RHSA-2026:11721
Cryostat 4bcprov-jdk18onNot affected
OpenShift Developer Tools and ServicesjenkinsAffected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat AMQ Broker 7bcprov-jdk15onNot affected
Red Hat AMQ Clientsbcprov-jdk15onNot affected
Red Hat AMQ Clientsbcprov-jdk18onAffected
Red Hat build of Apache Camel 4 for Quarkus 3bcprov-jdk18onAffected
Red Hat build of Apicurio Registry 3bcprov-jdk18onNot affected
Red Hat build of Apicurio Registry 3bcprov-lts8onNot affected
Red Hat build of Debezium 3bcprov-ext-jdk15onWill not fix
80 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-0636.

Attack patterns (CAPEC)

  • CAPEC-136 LDAP Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON