SB2026083171 - Multiple vulnerabilities in Bouncy Castle Java



SB2026083171 - Multiple vulnerabilities in Bouncy Castle Java

Published: August 31, 2026

Security Bulletin ID SB2026083171
CSH Severity
High
Patch available
YES
Number of vulnerabilities 32
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

High 3% Medium 97%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 32 vulnerabilities.


1) Resource exhaustion (CVE-ID: CVE-2026-58063)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


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

The vulnerability exists due to uncontrolled resource consumption in BCFKS keystore load KDF processing when honoring an unbounded cost from an untrusted file. A remote attacker can supply a crafted keystore file to cause a denial of service.


2) Insufficient verification of data authenticity (CVE-ID: CVE-2026-58061)

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to modify plaintext before authentication completes.

The vulnerability exists due to improper order of operations in CCM-family mode decryption when writing plaintext to the caller buffer before tag verification. A remote attacker can supply crafted ciphertext to modify plaintext before authentication completes.


3) Uncontrolled Memory Allocation (CVE-ID: CVE-2026-58060)

CWE-ID: CWE-789 - Uncontrolled Memory Allocation

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled memory allocation in HSS public-key verification when processing an unbounded level count. A remote attacker can provide a crafted public key to cause a denial of service.


4) Inefficient Algorithmic Complexity (CVE-ID: CVE-2026-58059)

CWE-ID: CWE-407 - Inefficient Algorithmic Complexity

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled resource consumption in X.500 distinguished name stringification when escaping strings with quadratic-time behavior. A remote attacker can supply crafted distinguished names to cause a denial of service.


5) Resource exhaustion (CVE-ID: CVE-2026-15055)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled resource consumption in PKCS#8 / PBES2 decryptor KDF processing when honoring an unbounded cost from input. A remote attacker can supply crafted encrypted input to cause a denial of service.


6) Uncontrolled Memory Allocation (CVE-ID: CVE-2026-14682)

CWE-ID: CWE-789 - Uncontrolled Memory Allocation

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled memory allocation in definite-length read processing when performing an unbounded up-front allocation. A remote attacker can supply crafted input with a large declared length to cause a denial of service.


7) Resource exhaustion (CVE-ID: CVE-2026-13586)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled resource consumption in PKCS#12 MAC and bag-decryption KDF processing when handling an excessive iteration count from input. A remote attacker can supply crafted PKCS#12 data to cause a denial of service.


8) Improper Certificate Validation (CVE-ID: CVE-2026-58062)

CWE-ID: CWE-295 - Improper Certificate Validation

CVSSv4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to bypass certificate status validation.

The vulnerability exists due to improper certificate validation in stapled OCSP response processing when accepting a response without binding it to the checked certificate. A remote attacker can supply a crafted stapled OCSP response to bypass certificate status validation.


9) Uncontrolled Recursion (CVE-ID: CVE-2026-13506)

CWE-ID: CWE-674 - Uncontrolled Recursion

CVSSv4: 8.7 [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]


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

The vulnerability exists due to improper state management in the lazy ASN.1 sequence parser when forcing sequence evaluation that resets the nesting-depth guard. A remote attacker can supply crafted ASN.1 data to cause a denial of service.


10) Uncontrolled Memory Allocation (CVE-ID: CVE-2026-12852)

CWE-ID: CWE-789 - Uncontrolled Memory Allocation

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled memory allocation in the MLS wire decoder when allocating attacker-declared opaque length before bounds check. A remote attacker can send crafted MLS input to cause a denial of service.


11) Insufficient verification of data authenticity (CVE-ID: CVE-2026-12817)

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to tamper with decrypted OpenPGP data.

The vulnerability exists due to improper authentication tag validation in OpenPGP AEAD decryption when processing chunk-aligned data. A remote attacker can supply crafted encrypted data to tamper with decrypted OpenPGP data.


12) Improper Verification of Cryptographic Signature (CVE-ID: CVE-2026-12816)

CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to forge message authentication codes.

The vulnerability exists due to improper cryptographic implementation in IESEngine stream-mode MAC processing when deriving keys through a length-dependent KDF split. A remote attacker can supply crafted input to forge message authentication codes.


13) Improper Verification of Cryptographic Signature (CVE-ID: CVE-2026-12803)

CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to forge authenticated ciphertexts across nonces.

The vulnerability exists due to improper cryptographic binding in KCCMBlockCipher MAC processing when AAD is absent. A remote attacker can craft data that exploits the missing nonce binding to forge authenticated ciphertexts across nonces.


14) Insufficient verification of data authenticity (CVE-ID: CVE-2026-12802)

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to tamper with decrypted data.

The vulnerability exists due to improper authentication tag validation in CMS AuthEnvelopedData decryption when processing encrypted data with an invalid tag length. A remote attacker can supply crafted encrypted content to tamper with decrypted data.


15) Uncontrolled Memory Allocation (CVE-ID: CVE-2026-12185)

CWE-ID: CWE-789 - Uncontrolled Memory Allocation

CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


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

The vulnerability exists due to uncontrolled memory allocation in the BKS/UBER keystore parser when allocating from untrusted lengths before integrity check. A remote attacker can supply a crafted keystore file to cause a denial of service.


16) Improper Verification of Cryptographic Signature (CVE-ID: CVE-2026-12860)

CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to bypass RSA PKCS#1 signature verification.

The vulnerability exists due to improper signature verification in RSA PKCS#1 verification when processing the NULL-omitted path. A remote attacker can provide a crafted signature to bypass RSA PKCS#1 signature verification.


17) Input validation error (CVE-ID: CVE-2026-59639)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to bypass CMS signature presence checks.

The vulnerability exists due to improper input validation in CMS verifySignatures when processing SignedData with zero signers. A remote attacker can supply crafted SignedData to bypass CMS signature presence checks.


18) Improper Certificate Validation (CVE-ID: CVE-2026-8763)

CWE-ID: CWE-295 - Improper Certificate Validation

CVSSv4: 6.9 [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]


The vulnerability allows a remote attacker to bypass name constraints validation.

The vulnerability exists due to improper certificate validation in name constraints processing when handling rfc822Name and URI values with a trailing dot. A remote attacker can supply a crafted identifier to bypass name constraints validation.


19) Observable discrepancy (CVE-ID: CVE-2026-59640)

CWE-ID: CWE-203 - Observable discrepancy

CVSSv4: 6.9 [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]


The vulnerability allows a remote attacker to recover information about encrypted OpenPGP data.

The vulnerability exists due to an oracle exposure in OpenPGP CFB quick-check processing when handling symmetric and session-key paths. A remote attacker can submit crafted encrypted data to recover information about encrypted OpenPGP data.


20) Improper Certificate Validation (CVE-ID: CVE-2026-59641)

CWE-ID: CWE-295 - Improper Certificate Validation

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to bypass certificate path validation constraints.

The vulnerability exists due to improper certificate validation in the S/MIME validator when trusting signer-asserted signingTime for path validation. A remote attacker can supply a crafted signed message to bypass certificate path validation constraints.


21) Insufficient verification of data authenticity (CVE-ID: CVE-2026-59642)

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to tamper with CMS AuthenticatedData content.

The vulnerability exists due to improper cryptographic binding in CMS AuthenticatedData processing when authAttrs are present. A remote attacker can supply crafted CMS data to tamper with CMS AuthenticatedData content.


22) Protection mechanism failure (CVE-ID: CVE-2026-59643)

CWE-ID: CWE-693 - Protection Mechanism Failure

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to bypass OpenPGP inline-signature policy enforcement.

The vulnerability exists due to improper handling of policy failures in OpenPGP inline-signature verification when processing policy validation results. A remote attacker can supply crafted signed data to bypass OpenPGP inline-signature policy enforcement.


23) Resource exhaustion (CVE-ID: CVE-2026-59644)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled resource consumption in the MLS hash-ratchet when processing an arbitrary 32-bit generation counter from a sender. A remote attacker can send crafted MLS messages to cause a denial of service.


24) Uncontrolled Recursion (CVE-ID: CVE-2026-59645)

CWE-ID: CWE-674 - Uncontrolled Recursion

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled recursion in the OER parser when processing a self-referential IEEE 1609.2 schema without a depth limit. A remote attacker can supply crafted schema data to cause a denial of service.

The issue is triggered by self-referential IEEE 1609.2 schema content.


25) Uncontrolled Memory Allocation (CVE-ID: CVE-2026-59646)

CWE-ID: CWE-789 - Uncontrolled Memory Allocation

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled memory allocation in the DTLS handshake reassembler when allocating a buffer from an unchecked 24-bit length. A remote attacker can send a crafted DTLS handshake fragment to cause a denial of service.


26) Resource exhaustion (CVE-ID: CVE-2026-59647)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled resource consumption in CRMF/CMP password-MAC processing when honoring an unbounded iteration count. A remote attacker can supply crafted CRMF/CMP data to cause a denial of service.


27) Resource exhaustion (CVE-ID: CVE-2026-59648)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled resource consumption in OpenPGP Argon2 S2K processing when honoring attacker-chosen memory and passes. A remote attacker can supply crafted OpenPGP data to cause a denial of service.


28) Uncontrolled Memory Allocation (CVE-ID: CVE-2026-59649)

CWE-ID: CWE-789 - Uncontrolled Memory Allocation

CVSSv4: 8.7 [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]


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

The vulnerability exists due to uncontrolled memory allocation in OpenPGP user-attribute subpacket parsing when processing a length bounded only by JVM max memory. A remote attacker can supply a crafted subpacket to cause a denial of service.


29) Input validation error (CVE-ID: CVE-2026-59650)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: 6.9 [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]


The vulnerability allows a remote attacker to weaken Diffie-Hellman key agreement security.

The vulnerability exists due to improper input validation in MTI/A0 DH agreement when processing an unvalidated peer value. A remote attacker can supply a crafted peer value to weaken Diffie-Hellman key agreement security.


30) Inadequate Encryption Strength (CVE-ID: CVE-2026-59651)

CWE-ID: CWE-326 - Inadequate Encryption Strength

CVSSv4: 8.7 [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]


The vulnerability allows a remote attacker to bypass keystore integrity protection.

The vulnerability exists due to weak cryptographic key strength in BKS keystore version handling when accepting a legacy version with a 16-bit integrity MAC key. A remote attacker can supply a crafted legacy keystore to bypass keystore integrity protection.


31) LDAP injection (CVE-ID: CVE-2026-59652)

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

CVSSv4: 6.9 [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]


The vulnerability allows a remote attacker to inject arbitrary LDAP filter elements.

The vulnerability exists due to LDAP injection in the legacy jdk1.4 LDAPStoreHelper when constructing LDAP filters from untrusted input. A remote attacker can supply crafted input to inject arbitrary LDAP filter elements.


32) Improper validation of certificate with host mismatch (CVE-ID: CVE-2026-59638)

CWE-ID: CWE-297 - Improper Validation of Certificate with Host Mismatch

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to spoof a trusted hostname.

The vulnerability exists due to improper certificate validation in the JSSE hostname verifier when using CN fallback by default. A remote attacker can present a crafted certificate to spoof a trusted hostname.


Remediation

Install update from vendor's website.