{"id":"CVE-2026-0636","published":"2026-04-15T08:59:12Z","modified":"2026-09-18T12:04:45Z","title":"LDAP Injection Vulnerability in LDAPStoreHelper.java","vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","tier":"tail","description":{"text":"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).\n\n This vulnerability is associated with program files LDAPStoreHelper.\n\n\n\nThis issue affects BC-JAVA: from 1.74 before 1.80.2, from 1.81 before 1.81.1, from 1.82 before 1.84.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00548,"percentile":0.46796,"provenance":"source"},"cwes":[{"id":"CWE-90","name":"Improper Neutralization of Special Elements used in an LDAP Query"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%900636","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/d20cdb8430e09224114fec0179a71859929fcbde","tags":["patch"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-0636","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2458641","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0636.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53644","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53645","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:18054","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:53646","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:18055","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60247","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60249","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60248","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60239","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60251","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60246","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60250","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60252","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60259","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60254","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60256","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:14276","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:14272","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:66488","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13631","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:18059","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21772","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:11720","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:11721","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":9.36},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","versions":[">= 1.74, < 1.80.2",">= 1.81, < 1.81.1",">= 1.82, < 1.84"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-15T13:12:14.838595Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk14","vulnerableRanges":[">=1.74, <1.80.2",">=1.81, <1.81.1",">=1.82, <1.84"],"patched":["1.80.2","1.81.1","1.84"],"from":["GHSA-c3fc-8qff-9hwx"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15to18","vulnerableRanges":[">=1.74, <1.80.2",">=1.81, <1.81.1",">=1.82, <1.84"],"patched":["1.80.2","1.81.1","1.84"],"from":["GHSA-c3fc-8qff-9hwx"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk18on","vulnerableRanges":[">=1.74, <1.80.2",">=1.81, <1.81.1",">=1.82, <1.84"],"patched":["1.80.2","1.81.1","1.84"],"from":["GHSA-c3fc-8qff-9hwx"],"provenance":"source"}],"summary":{"text":"An LDAP injection flaw exists in the LDAPStoreHelper.java component of the Bouncy Castle BC-JAVA bcprov library (prov modules), where special characters used in LDAP queries are not properly neutralised. An attacker with network access can exploit it without authentication or user interaction, provided the affected code path is reachable in the deployment and the affected BC-JAVA versions are in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:22Z"},"euvd":{"id":"EUVD-2026-22849","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-legion-of-the-bouncy-castle-inc-bc-java-cve-2023-33201","parents":[{"from":"CVE-2023-33201","to":"CVE-2026-0636","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["prov/src/main/java/org/bouncycastle/jce/provider/X509LDAPCertStoreSpi.java"],"commits":["https://github.com/bcgit/bc-java/commit/e8c409a8389c815ea3fda5e8b94c92fdfe583bcc","https://github.com/bcgit/bc-java/commit/d20cdb8430e09224114fec0179a71859929fcbde"],"basis":"shared function","functions":["engineGetCRLs"]}]}],"packageHistory":[{"cve":"CVE-2024-34447","published":"2024-05-03","fixed":"1.78","kev":false},{"cve":"CVE-2025-8885","published":"2025-08-12","fixed":"1.78","kev":false},{"cve":"CVE-2025-14813","published":"2026-04-15","fixed":"1.84","kev":false},{"cve":"CVE-2026-0636","published":"2026-04-15","fixed":"1.84","kev":false},{"cve":"CVE-2026-5598","published":"2026-04-15","fixed":"1.84","kev":false,"link":{"from":"CVE-2026-0636","to":"CVE-2026-5598","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.bouncycastle:bcprov-jdk14","fromFixed":"1.81.1","toFixed":"1.84","daysApart":0},{"kind":"similar","provenance":"machine","score":0.29,"basis":"same product + description similarity"}]}}],"package":"Maven:org.bouncycastle:bcprov-jdk14"}}