LDAP Injection Vulnerability in LDAPStoreHelper.java

Summary

CVECVE-2026-0636
StatePUBLISHED
Assignerbcorg
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-15 10:16:38 UTC
Updated2026-07-16 12:17:00 UTC
DescriptionImproper 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.

Risk And Classification

Primary CVSS: v4.0 5.5 MEDIUM from 91579145-5d7b-4cc5-b925-a0262ff19630

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:A/V:X/RE:M/U:Amber

EPSS: 0.005270000 probability, percentile 0.411850000 (date 2026-07-20)

Problem Types: CWE-90 | CWE-90 CWE-90 Improper neutralization of special elements used in an LDAP query ('LDAP injection') | CWE-90 Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')


VersionSourceTypeScoreSeverityVector
4.091579145-5d7b-4cc5-b925-a0262ff19630Secondary5.5MEDIUMCVSS: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/C...
4.0CNACVSS5.5MEDIUMCVSS: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...
3.1ADPCVSS6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:A/V:X/RE:M/U:Amber

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Legion Of The Bouncy Castle Inc. BC-JAVA affected 1.74 1.80.2 maven all
CNA Legion Of The Bouncy Castle Inc. BC-JAVA affected 1.81 1.81.1 maven all
CNA Legion Of The Bouncy Castle Inc. BC-JAVA affected 1.82 1.84 maven all
ADP Red Hat Red Hat AMQ Broker 7.12.7 Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7.13.5 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4.14 For Quarkus 3.27 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4.18.1 For Spring Boot 3.5.14 unaffected debug-jdk15on * rpm Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4.18.1 For Spring Boot 3.5.14 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4.18.1 For Spring Boot 3.5.14 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4.18.1 For Spring Boot 3.5.14 Not specified Not specified
ADP Red Hat Red Hat Build Of Quarkus 3.20.6.SP1 Not specified Not specified
ADP Red Hat Red Hat Build Of Quarkus 3.27.3.SP1 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 unaffected ext-jdk15on * rpm Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 unaffected ext-jdk18on * rpm Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 For RHEL 8 unaffected 0:1.84.0-1.redhat_00001.1.el8eap * rpm Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 For RHEL 9 unaffected 0:1.84.0-1.redhat_00001.1.el9eap * rpm Not specified
ADP Red Hat Red Hat OpenShift Dev Spaces 3.28 unaffected 1779528224 * rpm Not specified
ADP Red Hat Red Hat OpenShift Dev Spaces 3.28 unaffected 1779359423 * rpm Not specified
ADP Red Hat Cryostat 4 Not specified Not specified
ADP Red Hat OpenShift Developer Tools And Services Not specified Not specified
ADP Red Hat OpenShift Developer Tools And Services Not specified Not specified
ADP Red Hat OpenShift Developer Tools And Services Not specified Not specified
ADP Red Hat OpenShift Developer Tools And Services Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7 Not specified Not specified
ADP Red Hat Red Hat AMQ Clients Not specified Not specified
ADP Red Hat Red Hat AMQ Clients Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4 For Quarkus 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Apicurio Registry 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Apicurio Registry 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Debezium 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Debezium 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Debezium 3 Not specified Not specified
ADP Red Hat Red Hat Data Grid 8 Not specified Not specified
ADP Red Hat Red Hat Data Grid 8 Not specified Not specified
ADP Red Hat Red Hat Data Grid 8 Not specified Not specified
ADP Red Hat Red Hat Data Grid 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Red Hat Process Automation 7 Not specified Not specified
ADP Red Hat Red Hat Process Automation 7 Not specified Not specified
ADP Red Hat Red Hat Satellite 6 Not specified Not specified
ADP Red Hat Red Hat Satellite 6 Not specified Not specified
ADP Red Hat Red Hat Single Sign-On 7 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 2 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 2 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 3 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 3 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:11721 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:14276 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:18054 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:17668 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:18059 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0636.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:13631 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/bcgit/bc-java/commit/d20cdb8430e09224114fec0179a71859929fcbde 91579145-5d7b-4cc5-b925-a0262ff19630 github.com
access.redhat.com/errata/RHSA-2026:21772 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:11720 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-0636 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:14272 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%900636 91579145-5d7b-4cc5-b925-a0262ff19630 github.com
access.redhat.com/errata/RHSA-2026:18055 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Prasanth Sundararajan ([email protected]) (en)

Additional Advisory Data

SourceTimeEvent
ADP2026-04-15T10:01:32.911ZReported to Red Hat.
ADP2026-04-15T08:59:12.677ZMade public.

Solutions

ADP: RHSA-2026:18054: Red Hat JBoss EAP 8.1 for RHEL 8

ADP: RHSA-2026:18055: Red Hat JBoss EAP 8.1 for RHEL 9

ADP: RHSA-2026:14276: Red Hat AMQ Broker 7.12.7

ADP: RHSA-2026:14272: Red Hat AMQ Broker 7.13.5

ADP: RHSA-2026:13631: Red Hat Build of Apache Camel 4.14 for Quarkus 3.27

ADP: RHSA-2026:18059: Red Hat JBoss Enterprise Application Platform 8.1

ADP: RHSA-2026:21772: Red Hat OpenShift Dev Spaces 3.28

ADP: RHSA-2026:17668: Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14

ADP: RHSA-2026:11720: Red Hat build of Quarkus 3.20.6.SP1

ADP: RHSA-2026:11721: Red Hat build of Quarkus 3.27.3.SP1

Workarounds

ADP: 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report