LDAP Injection Affecting org.bouncycastle:bcprov-ext-debug-jdk14 package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about LDAP Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGBOUNCYCASTLE-18512809
  • published4 Aug 2026
  • disclosed3 Aug 2026
  • creditUnknown

Introduced: 3 Aug 2026

NewCVE-2026-59652  (opens in a new tab)
CWE-90  (opens in a new tab)

How to fix?

There is no fixed version for org.bouncycastle:bcprov-ext-debug-jdk14.

Overview

Affected versions of this package are vulnerable to LDAP Injection in the parseDN() method of the JDK 1.4 LDAPStoreHelper class, which returns the raw DN component that callers concatenate into an LDAP filter of the form (attr=value) and pass to DirContext.search() without the filterEncode() escaping applied to the main Java sources. An attacker can inject LDAP filter logic and alter the directory queries an application issues by presenting a certificate whose Subject or Issuer CN contains LDAP filter metacharacters. This affects only the bcprov-jdk14 distribution, where the ant/jdk14.xml build overwrites the patched main Java file with the unescaped JDK 1.4 variant, and it requires the application to resolve certificates through this LDAP-backed store.

Note: This is a bypass of the fix for the vulnerability described in CVE-2026-0636.

CVSS Base Scores

version 4.0
version 3.1