Bouncycastle vulnerabilities
Every CVE BreachSpider tracks for Bouncycastle, with affected versions, the vendor's fix and the advisory. Send a device's exact version to learn which of these apply to it.
CVEs85
Critical (CVSS 9+)5
High (7 to 8.9)50
Known-exploited0
Bouncycastle products with the most CVEs
Bc-Java 52Bouncy Castle For Java Lts 28Fips Java Api 14Bcpg-Fips 5Bcpkix-Fips 5Bctls-Fips 3Bouncy-Castle-Crypto-Package 2Bc-Csharp 1Bcjmail-Fips 1Bcmail-Fips 1Bcutil-Fips 1Bouncy Castle Fips .Net Api 1Bouncy Castle For Java 1Legion-Of-The-Bouncy-Castle 1Legion-Of-The-Bouncy-Castle-C#-Cryptography-Api 1Legion-Of-The-Bouncy-Castle-Java-Crytography-Api 1The Bouncy Castle Crypto Package For Java 1
A product appearing here does not mean every version is affected. Each CVE lists the affected versions; the free check answers for the version you run.
Bouncycastle's own CVEs by priority
CVE-2007-672110.0The Legion of the Bouncy Castle Java Cryptography API before release 1.38, as used in C...CVE-2026-87639.1In Bouncy Castle for Java before 1.85, Name Constraints bypass via trailing dot in rfc8...CVE-2026-596509.1In Bouncy Castle for Java before 1.85, MTI/A0 DH agreement exponentiates unvalidated pe...CVE-2026-580629.1In Bouncy Castle for Java before 1.85, Stapled OCSP response accepted without binding t...CVE-2026-128178.6In Bouncy Castle for Java before 1.85, OpenPGP AEAD decryption skips final tag on chunk...CVE-2026-121858.6In Bouncy Castle for Java before 1.85, BKS/UBER keystore allocates from untrusted lengt...CVE-2026-150558.2In Bouncy Castle for Java before 1.85, PKCS#8 / PBES2 decryptors honour unbounded KDF c...CVE-2026-635787.5Allocation of resources without limits in password-based private-key decryption (PbeUti...CVE-2026-635777.5Improper certificate validation in the directoryName name-constraint check (PkixNameCon...CVE-2026-635767.5Improper certificate validation in PkixNameConstraintValidator (ExtractHostFromURL) in ...CVE-2026-635757.5Loop with unreachable exit condition in the PKCS#12 key derivation (Pkcs12ParametersGen...CVE-2026-635747.5Memory allocation with excessive size value in the OpenPGP signature and user attribute...CVE-2026-635737.5Observable discrepancy in the CMS RSA PKCS#1 v1.5 key-transport unwrap (KeyTransRecipie...CVE-2026-635727.5Allocation of resources without limits in PKCS#12 keystore loading (Pkcs12Store.Load) i...CVE-2026-635717.5Improper verification of cryptographic signature in the attribute certificate path vali...CVE-2026-635707.5Loop with unreachable exit condition in Pkcs12Store.GetCertificateChain in Legion of th...CVE-2026-635687.5Allocation of resources without limits or throttling in the CMP/CRMF password-based MAC...CVE-2026-635677.5Observable discrepancy in IesEngine.DecryptBlock in Legion of the Bouncy Castle Inc. bc...CVE-2026-635667.5Memory allocation with excessive size value in the DTLS handshake reassembly (DtlsRelia...CVE-2026-596517.5In Bouncy Castle for Java before 1.85, BKS keystore accepts legacy version with 16-bit ...CVE-2026-596497.5In Bouncy Castle for Java before 1.85, OpenPGP user-attribute subpacket length bounded ...CVE-2026-596467.5In Bouncy Castle for Java before 1.85, DTLS handshake reassembler allocates buffer from...CVE-2026-596457.5In Bouncy Castle for Java before 1.85, OER parser recurses without depth limit on self-...CVE-2026-596447.5In Bouncy Castle for Java before 1.85, MLS hash-ratchet honours arbitrary 32-bit genera...CVE-2026-596437.5In Bouncy Castle for Java before 1.85, OpenPGP inline-signature policy failures silentl...CVE-2026-596427.5In Bouncy Castle for Java before 1.85, CMS AuthenticatedData content not bound to MAC w...CVE-2026-596397.5In Bouncy Castle for Java before 1.85, CMS verifySignatures returns true for SignedData...CVE-2026-580617.5In Bouncy Castle for Java before 1.85, CCM-family modes write plaintext to caller buffe...CVE-2026-580607.5In Bouncy Castle for Java before 1.85, HSS public-key level count unbounded, enabling h...CVE-2026-580597.5In Bouncy Castle for Java before 1.85, Quadratic-time escaping when stringifying X.500 ...CVE-2026-175077.5In Bouncy Castle for Java before 1.86, the MLS implementation (org.bouncycastle.mls) ho...CVE-2026-160017.5Exposure of the message authentication key through the encryption keystream in the stre...CVE-2026-160007.5Missing cryptographic step in the DSTU 7624 CCM mode implementation (KCcmBlockCipher) i...CVE-2026-159997.5Improper validation of integrity check value in the AES-CCM implementation (CcmParamete...CVE-2026-146827.5In Bouncy Castle for Java before 1.85, Possible OOM from unbounded up-front allocation ...CVE-2026-135867.5In Bouncy Castle for Java before 1.85, PKCS#12 MAC and bag-decryption KDF iteration-cou...CVE-2026-135067.5In Bouncy Castle for Java before 1.85, Lazy ASN.1 sequence forcing resets nesting-depth...CVE-2026-128527.5In Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opa...CVE-2026-128167.5In Bouncy Castle for Java before 1.85, IESEngine stream-mode MAC forgery via length-dep...CVE-2026-128037.5In Bouncy Castle for Java before 1.85, KCCMBlockCipher MAC does not bind nonce when AAD...CVE-2026-128027.5In Bouncy Castle for Java before 1.85, CMS AuthEnvelopedData fails to enforce tag-lengt...CVE-2026-1036047.5Inefficient algorithmic complexity in X.509 distinguished name string conversion (X509N...CVE-2026-1036037.5Memory allocation with excessive size value in the HSS/LMS signature code (HssPublicKey...CVE-2026-1036017.5Release of unverified plaintext in the CCM (CcmBlockCipher) and DSTU 7624 CCM (KCcmBloc...CVE-2026-1036007.5Uncontrolled recursion in the ASN.1 parser (Asn1InputStream, Asn1StreamParser) in Legio...CVE-2016-10003437.5In the Bouncy Castle JCE Provider version 1.55 and earlier the DSA key pair generator g...CVE-2016-10003427.5In the Bouncy Castle JCE Provider version 1.55 and earlier ECDSA does not fully validat...CVE-2016-10003407.5In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was in...CVE-2016-10003527.4In the Bouncy Castle JCE Provider version 1.55 and earlier the ECIES implementation all...CVE-2016-10003447.4In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES implementation all...CVE-2026-635696.5Improper input validation in DHAgreement.CalculateAgreement (MTI/A0 two-pass Diffie-Hel...CVE-2026-596526.5In Bouncy Castle for Java before 1.85, LDAP filter injection in legacy jdk1.4 LDAPStoreHelper.CVE-2026-596386.5In Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by de...CVE-2024-140415.9In Bouncy Castle for Java from 1.73 to before 1.78, three ML-KEM (CRYSTALS-Kyber) routi...CVE-2020-155225.9Bouncy Castle BC Java before 1.66, BC C# .NET before 1.8.7, BC-FJA before 1.0.1.2, 1.0....CVE-2017-130985.9BouncyCastle TLS prior to version 1.0.3, when configured to use the JCE (Java Cryptogra...CVE-2016-10003455.9In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES/ECIES CBC mode vul...CVE-2016-10003415.9In the Bouncy Castle JCE Provider version 1.55 and earlier DSA signature generation is ...CVE-2023-332025.5Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue w...CVE-2026-596485.3In Bouncy Castle for Java before 1.85, OpenPGP Argon2 S2K honours attacker-chosen memor...CVE-2026-596475.3In Bouncy Castle for Java before 1.85, CRMF/CMP password-MAC honours unbounded iteratio...CVE-2026-596415.3In Bouncy Castle for Java before 1.85, S/MIME validator trusts signer-asserted signingT...CVE-2026-596405.3In Bouncy Castle for Java before 1.85, OpenPGP CFB quick-check oracle active on symmetr...CVE-2026-580635.3In Bouncy Castle for Java before 1.85, BCFKS keystore load honours unbounded KDF cost f...CVE-2026-128605.3In Bouncy Castle for Java before 1.85, RSA PKCS#1 verification skips last two hash byte...CVE-2026-1036025.3Improper certificate validation in PkixNameConstraintValidator in Legion of the Bouncy ...CVE-2023-332015.3Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability. The ...CVE-2020-269395.3In Legion of the Bouncy Castle BC before 1.61 and BC-FJA before 1.0.1.2, attackers can ...CVE-2016-10003395.3In the Bouncy Castle JCE Provider version 1.55 and earlier the primary engine class use...CVE-2018-53824.4The default BKS keystore use an HMAC that is only 16 bits long, which can allow an atta...CVE-2013-16244.0The TLS implementation in the Bouncy Castle Java library before 1.48 and C# library bef...CVE-2016-10003463.7In the Bouncy Castle JCE Provider version 1.55 and earlier the other party DH public ke...
Third-party components in Bouncycastle products
CVEs filed for software that Bouncycastle products include, such as an operating system or library. They affect the Bouncycastle products and versions named on each CVE page.
CVE-2018-10006139.8Netapp, Oracle: Legion of the Bouncy Castle Legion of the Bouncy Castle Java Crypto...CVE-2020-280528.1Apache, Oracle: An issue was discovered in Legion of the Bouncy Castle BC Java 1.65...CVE-2019-173597.5Apache, Netapp: The ASN.1 parser in Bouncy Castle Crypto (aka BC Java) 1.63 can tri...CVE-2018-10001807.5Netapp, Oracle: Bouncy Castle BC 1.54 - 1.59, BC-FJA 1.0.0, BC-FJA 1.0.1 and earlie...CVE-2016-10003387.5Netapp: In Bouncy Castle JCE Provider version 1.55 and earlier the DSA does...CVE-2022-451465.5Oracle: An issue was discovered in the FIPS Java API of Bouncy Castle BC-FJ...CVE-2016-24275.5Google: The AES-GCM specification in RFC 5084, as used in Android 5.x and 6...CVE-2015-79405.0Oracle: The Bouncy Castle Java library before 1.51 does not validate a poin...CVE-2025-9341Associated, Crypto: Uncontrolled Resource Consumption vulnerability in Legion of the Bo...CVE-2025-9340Associated, Program: Out-of-bounds Write vulnerability in Legion of the Bouncy Castle In...CVE-2025-9092Associated, Crypto: Uncontrolled Resource Consumption vulnerability in Legion of the Bo...CVE-2025-8885Associated, Blob: Allocation of Resources Without Limits or Throttling vulnerability ...CVE-2025-12194Associated, Crypto: Uncontrolled Resource Consumption vulnerability in Legion of the Bo...
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bouncycastle","product":"Bc-Java","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.