VendorsBouncy Castlebc-javaall versions
Vulnerabilities

Bouncy Castle Bouncycastle BC-java

Ranked by severity, then by exploit likelihood. Click a CVE ID for its full record.

52CVEs
CVE-2007-6721
The Legion of the Bouncy Castle Java Cryptography API before release 1.38, as used in Crypto Provider Package before 1.36, has unknown impact and remote attack vectors related to "a Bleichenbacher vulnerability in simple RSA CMS signatures without signed attributes."
Published 2009-03-30 · Modified
10.0EPSS 0.024
CVE-2018-1000613
Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to but not including 1.60 contains a CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in XMSS/XMSS^MT private key deserialization that can result in Deserializing an XMSS/XMSS^MT private key can result in the execution of unexpected code. This attack appear to be exploitable via A handcrafted private key can include references to unexpected classes which will be picked up from the class path for the executing application. This vulnerability appears to have been fixed in 1.60 and later.
Published 2018-07-09 · Modified
9.8EPSS 0.048
CVE-2026-8763
Name Constraints bypass via trailing dot in rfc822Name and URI
Published 2026-08-03 · Analyzed
9.3EPSS 0.005
CVE-2026-59650
MTI/A0 DH agreement exponentiates unvalidated peer value
Published 2026-08-03 · Analyzed
9.3EPSS 0.004
CVE-2026-59638
JSSE hostname verifier CN-fallback enabled by default despite documented opt-in
Published 2026-08-03 · Analyzed
9.3EPSS 0.003
CVE-2026-58062
Stapled OCSP response accepted without binding to the checked certificate
Published 2026-08-03 · Analyzed
9.3EPSS 0.003
CVE-2026-58060
HSS public-key level count unbounded, enabling huge allocation on verify
Published 2026-08-03 · Analyzed
8.7EPSS 0.006
CVE-2026-59646
DTLS handshake reassembler allocates buffer from unchecked 24-bit length
Published 2026-08-03 · Analyzed
8.7EPSS 0.006
CVE-2026-59649
OpenPGP user-attribute subpacket length bounded only by JVM max memory
Published 2026-08-03 · Analyzed
8.7EPSS 0.005
CVE-2026-59645
OER parser recurses without depth limit on self-referential IEEE 1609.2 schema
Published 2026-08-03 · Analyzed
8.7EPSS 0.005
CVE-2026-59644
MLS hash-ratchet honours arbitrary 32-bit generation counter from sender
Published 2026-08-03 · Analyzed
8.7EPSS 0.005
CVE-2026-58059
Quadratic-time escaping when stringifying X.500 distinguished names
Published 2026-08-03 · Analyzed
8.7EPSS 0.005
CVE-2026-13506
Lazy ASN.1 sequence forcing resets nesting-depth guard
Published 2026-08-03 · Analyzed
8.7EPSS 0.004
CVE-2026-59640
OpenPGP CFB quick-check oracle active on symmetric/session-key paths
Published 2026-08-03 · Analyzed
8.7EPSS 0.003
CVE-2026-14682
Possible OOM from unbounded up-front allocation on a definite-length read
Published 2026-08-03 · Analyzed
8.7EPSS 0.003
CVE-2026-12852
MLS wire decoder allocates attacker-declared opaque length before bounds check
Published 2026-08-03 · Analyzed
8.7EPSS 0.003
CVE-2026-59639
CMS verifySignatures returns true for SignedData with zero signers
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-59643
OpenPGP inline-signature policy failures silently ignored
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-58061
CCM-family modes write plaintext to caller buffer before tag check
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-59641
S/MIME validator trusts signer-asserted signingTime for path validation
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-12803
KCCMBlockCipher MAC does not bind nonce when AAD is absent (cross-nonce AEAD forgery)
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-59642
CMS AuthenticatedData content not bound to MAC when authAttrs present
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-12816
IESEngine stream-mode MAC forgery via length-dependent KDF split
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-12817
OpenPGP AEAD decryption skips final tag on chunk-aligned data
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-12860
RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path
Published 2026-08-03 · Analyzed
8.7EPSS 0.002
CVE-2026-12802
CMS AuthEnvelopedData fails to enforce tag-length on decryption
Published 2026-08-03 · Analyzed
8.7EPSS 0.001
CVE-2026-12185
BKS/UBER keystore allocates from untrusted lengths before integrity check
Published 2026-08-03 · Undergoing Analysis
8.6EPSS 0.003
CVE-2024-14041
ML-KEM (Kyber) decapsulation leaks private key information through non-constant-time division in message decoding and ciphertext compression (KyberSlash)
Published 2026-07-28 · Analyzed
8.2EPSS 0.003
CVE-2026-15055
PKCS#8 / PBES2 decryptors honour unbounded KDF cost from input
Published 2026-08-03 · Analyzed
8.2EPSS 0.003
CVE-2020-28052
An issue was discovered in Legion of the Bouncy Castle BC Java 1.65 and 1.66. The OpenBSDBCrypt.checkPassword utility method compared incorrect data when checking the password, allowing incorrect passwords to indicate they were matching with previously hashed ones that were different.
Published 2020-12-18 · Modified
8.1EPSS 0.072
CVE-2017-13098
BouncyCastle JCE TLS Bleichenbacher/ROBOT
Published 2017-12-13 · Modified
7.5EPSS 0.243
CVE-2019-17359
The ASN.1 parser in Bouncy Castle Crypto (aka BC Java) 1.63 can trigger a large attempted memory allocation, and resultant OutOfMemoryError error, via crafted ASN.1 data. This is fixed in 1.64.
Published 2019-10-08 · Modified
7.5EPSS 0.090
CVE-2018-1000180
Bouncy Castle BC 1.54 - 1.59, BC-FJA 1.0.0, BC-FJA 1.0.1 and earlier have a flaw in the Low-level interface to RSA key pair generator, specifically RSA Key Pairs generated in low-level API with added certainty may have less M-R tests than expected. This appears to be fixed in versions BC 1.60 beta 4 and later, BC-FJA 1.0.2 and later.
Published 2018-06-05 · Modified
7.5EPSS 0.036
CVE-2016-1000343
In the Bouncy Castle JCE Provider version 1.55 and earlier the DSA key pair generator generates a weak private key if used with default values. If the JCA key pair generator is not explicitly initialised with DSA parameters, 1.55 and earlier generates a private value assuming a 1024 bit key size. In earlier releases this can be dealt with by explicitly passing parameters to the key pair generator.
Published 2018-06-04 · Modified
7.5EPSS 0.032
CVE-2016-1000340
In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was introduced in the implementation of squaring for several raw math classes have been fixed (org.bouncycastle.math.raw.Nat???). These classes are used by our custom elliptic curve implementations (org.bouncycastle.math.ec.custom.**), so there was the possibility of rare (in general usage) spurious calculations for elliptic curve scalar multiplications. Such errors would have been detected with high probability by the output validation for our scalar multipliers.
Published 2018-06-04 · Modified
7.5EPSS 0.023
CVE-2016-1000342
In the Bouncy Castle JCE Provider version 1.55 and earlier ECDSA does not fully validate ASN.1 encoding of signature on verification. It is possible to inject extra elements in the sequence making up the signature and still have it validate, which in some cases may allow the introduction of 'invisible' data into a signed structure.
Published 2018-06-04 · Modified
7.5EPSS 0.018
CVE-2026-13586
PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS)
Published 2026-08-03 · Analyzed
7.5EPSS 0.004
CVE-2026-59651
BKS keystore accepts legacy version with 16-bit integrity MAC key
Published 2026-08-03 · Analyzed
7.5EPSS 0.002
CVE-2016-1000352
In the Bouncy Castle JCE Provider version 1.55 and earlier the ECIES implementation allowed the use of ECB mode. This mode is regarded as unsafe and support for it has been removed from the provider.
Published 2018-06-04 · Modified
7.4EPSS 0.022
CVE-2016-1000344
In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES implementation allowed the use of ECB mode. This mode is regarded as unsafe and support for it has been removed from the provider.
Published 2018-06-04 · Modified
7.4EPSS 0.022
1 / 2Next →