SB2026052529 - Multiple vulnerabilities in Bouncy Castle for Java



SB2026052529 - Multiple vulnerabilities in Bouncy Castle for Java

Published: May 25, 2026 Updated: May 25, 2026

Security Bulletin ID SB2026052529
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 4
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 4 vulnerabilities.


1) LDAP injection (CVE-ID: CVE-2026-0636)

CWE-ID: CWE-90 - Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to manipulate LDAP queries.

The vulnerability exists due to improper neutralization of special elements used in an LDAP query in LDAPStoreHelper when processing user-supplied input for LDAP queries. A remote attacker can supply crafted input to manipulate LDAP queries.

This issue is associated with the prov modules.


2) Use of a broken or risky cryptographic algorithm (CVE-ID: CVE-2026-5588)

CWE-ID: CWE-327 - Use of a Broken or Risky Cryptographic Algorithm

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to bypass signature verification.

The vulnerability exists due to use of a broken or risky cryptographic algorithm in the PKIX draft CompositeVerifier when processing composite signatures. A remote attacker can provide an empty signature sequence to bypass signature verification.


3) Resource exhaustion (CVE-ID: CVE-2026-3505)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled resource consumption in the bcpg PGP AEAD processing when parsing crafted PGP data with an unbounded AEAD chunk size. A remote attacker can send specially crafted PGP data to cause a denial of service.

Exploitation leads to pre-authentication resource exhaustion.


4) Incorrect calculation (CVE-ID: CVE-2025-14813)

CWE-ID: CWE-682 - Incorrect Calculation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to cause cryptographic operations to fail.

The vulnerability exists due to improper implementation in G3413CTRBlockCipher when encrypting or decrypting more than 255 blocks. A remote attacker can supply data that exceeds this limit to cause cryptographic operations to fail.

The issue affects the GOST-R-3413-2015 CTR mode implementation because it uses a single-byte counter instead of a counter size aligned with the algorithm definition.


Remediation

Install update from vendor's website.