In Bouncy Castle for Java before 1.86, the MLS implementation (org.bouncycastle.mls) holds RFC 9420's uint32 leaf_index in a signed int, so a wire value with the top bit set decodes to a negative number. That is a legitimate encoding rather than malformed input, and it must still...
Vendor
bouncycastle vulnerabilities
82 published CVES affecting bouncycastle, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 82
- Critical
- 6
- High
- 56
- Medium
- 19
- Low
- 1
- Unscored
- 0
- CISA KEV
- 0
Products
- bc-java 53
- bouncy castle for java lts 28
- bc-csharp 22
- fips java api 14
- bcpg-fips 5
- bcpkix-fips 5
- bctls-fips 3
- bouncy castle for java 2
- legion-of-the-bouncy-castle-java-crytography-api 2
- bc c .net 1
- bc-fja 1
- bcjmail-fips 1
- bcmail-fips 1
- bcutil-fips 1
- bouncy castle crypto package 1
- bouncy castle fips .net api 1
- bouncy-castle-crypto-package 1
- bouncycastle/bcprov-jdk14 1
- bouncycastle/bcprov-jdk15 1
- bouncycastle/bcprov-jdk16 1
- legion-of-the-bouncy-castle 1
- legion-of-the-bouncy-castle-c-cryptography-api 1
- the bouncy castle crypto package for java 1
Latest bouncycastle CVEs
Newest publication first · page 1 of 4
-
HighCVSS 8.7 EPSS 0.42%
-
CVE-2026-103604 Quadratic-time escaping when converting X.509 distinguished names to strings
PublishedHighCVSS 8.7 EPSS 0.32%Inefficient algorithmic complexity in X.509 distinguished name string conversion (X509Name.ToString and IetfUtilities.ValueToString) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker to cause a denial of service through CPU exhaus...
-
HighCVSS 8.7 EPSS 0.52%
Memory allocation with excessive size value in the HSS/LMS signature code (HssPublicKeyParameters, HssSignature) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker who can supply both an HSS public key and a signature to cause a de...
-
CVE-2026-103602 Name constraints bypass via trailing dot in rfc822Name, dNSName and URI hosts
PublishedHighCVSS 8.2 EPSS 0.23%Improper certificate validation in PkixNameConstraintValidator in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who controls, or can obtain certificates from, a name-constrained intermediate CA to have certificates accepted during PKIX certification p...
-
HighCVSS 8.2 EPSS 0.30%
Release of unverified plaintext in the CCM (CcmBlockCipher) and DSTU 7624 CCM (KCcmBlockCipher) AEAD modes in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker to obtain decryptions of ciphertexts of their choosing via forged messages sent to an app...
-
HighCVSS 8.7 EPSS 0.36%
Uncontrolled recursion in the ASN.1 parser (Asn1InputStream, Asn1StreamParser) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker to cause a denial of service via a crafted ASN.1 encoding of deeply nested constructed elements (for...
-
HighCVSS 7.1 EPSS 0.38%
Allocation of resources without limits in password-based private-key decryption (PbeUtilities.GenerateCipherParameters) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply an encrypted private key, such as a PKCS#8 EncryptedPrivateKeyInfo...
-
HighCVSS 8.2 EPSS 0.21%
Improper certificate validation in the directoryName name-constraint check (PkixNameConstraintValidator.WithinDNSubtree) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who controls, or can have certificates issued by, a name-constrained intermediate...
-
HighCVSS 8.2 EPSS 0.21%
Improper certificate validation in PkixNameConstraintValidator (ExtractHostFromURL) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a name-constrained subordinate CA, or anyone able to obtain certificates with chosen subjectAltName URIs from such a CA, to bypass...
-
CVE-2026-63575 PKCS#12 key derivation loops about 2^32 times on a zero or negative iteration count
PublishedHighCVSS 7.1 EPSS 0.22%Loop with unreachable exit condition in the PKCS#12 key derivation (Pkcs12ParametersGenerator) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply a PKCS#12 (PFX) file, or a PKCS#8 encrypted private key that uses a PKCS#12 password-based e...
-
CVE-2026-63574 Unbounded allocation from OpenPGP signature and user attribute subpacket lengths
PublishedHighCVSS 8.7 EPSS 0.43%Memory allocation with excessive size value in the OpenPGP signature and user attribute subpacket parsers (SignatureSubpacketsParser.ReadPacket, UserAttributeSubpacketsParser.ReadPacket) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote, unauthenticated a...
-
HighCVSS 8.2 EPSS 0.30%
Observable discrepancy in the CMS RSA PKCS#1 v1.5 key-transport unwrap (KeyTransRecipientInformation.UnwrapKey) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker who holds a captured CMS EnvelopedData message, and who can submit many modified mes...
-
CVE-2026-63572 Unbounded MAC and bag-decryption iteration counts when loading PKCS#12 files
PublishedHighCVSS 7.1 EPSS 0.38%Allocation of resources without limits in PKCS#12 keystore loading (Pkcs12Store.Load) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply a PKCS#12 (PFX) file to cause a denial of service through CPU exhaustion via an iteration count close...
-
HighCVSS 8.7 EPSS 0.14%
Improper verification of cryptographic signature in the attribute certificate path validator (PkixAttrCertPathValidator, also used by PkixAttrCertPathBuilder) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker to have a forged X.509 attribute cert...
-
HighCVSS 7.1 EPSS 0.23%
Loop with unreachable exit condition in Pkcs12Store.GetCertificateChain in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply a crafted PKCS#12 file to an application that loads it and requests a key entry's certificate chain to cause a deni...
-
CriticalCVSS 9.1 EPSS 0.33%
Improper input validation in DHAgreement.CalculateAgreement (MTI/A0 two-pass Diffie-Hellman) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an on-path attacker to make the local party compute an agreed value the attacker already knows, defeating the key authent...
-
CVE-2026-63568 Unbounded CMP/CRMF password-based MAC iteration count allows CPU exhaustion
PublishedHighCVSS 8.7 EPSS 0.36%Allocation of resources without limits or throttling in the CMP/CRMF password-based MAC verifier (PKMacBuilder) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker to cause a denial of service through CPU exhaustion via a CMP messag...
-
HighCVSS 8.2 EPSS 0.45%
Observable discrepancy in IesEngine.DecryptBlock in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker who has captured an IES or ECIES ciphertext, and who can submit modified ciphertexts for decryption under the same key pair, to recover its plainte...
-
HighCVSS 8.7 EPSS 0.43%
Memory allocation with excessive size value in the DTLS handshake reassembly (DtlsReliableHandshake, DtlsReassembler) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated DTLS peer to cause a denial of service through memory exhaustion via cr...
-
HighCVSS 8.2 EPSS 0.15%
Exposure of the message authentication key through the encryption keystream in the stream mode of IesEngine (an IesEngine constructed without a block cipher) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker who has observed one encrypted message...
-
HighCVSS 8.7 EPSS 0.22%
Missing cryptographic step in the DSTU 7624 CCM mode implementation (KCcmBlockCipher) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can observe encrypted messages of known or chosen content to forge ciphertexts with valid authentication tags, v...
-
CVE-2026-15999 AES-CCM decryption accepts zero or out-of-range tag length, bypassing authentication
PublishedHighCVSS 8.2 EPSS 0.22%Improper validation of integrity check value in the AES-CCM implementation (CcmParameters and CcmBlockCipher) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an on-path attacker to modify CCM-encrypted content without detection via an AlgorithmIdentifier whose C...
-
MediumCVSS 5.3 EPSS 0.62%
In Bouncy Castle for Java before 1.85, PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS). This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3...
-
HighCVSS 8.7 EPSS 0.49% PoC
In Bouncy Castle for Java before 1.85, Lazy ASN.1 sequence forcing resets nesting-depth guard. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X...
-
HighCVSS 8.7 EPSS 0.17%
In Bouncy Castle for Java before 1.85, RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path. This issue also affects Bouncy Castle for Java LTS before 2.73.12.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.