Bouncycastle Bc Java vulnerabilities

53 vulnerabilities

Known vulnerabilities in Bouncycastle Bc Java, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

PrioritiseCVE-2026-17507legion of the bouncy castle inc. · bc-java +8 moreMLS membership checks compare a uint32 leaf_index as signed, admitting an out-of-range senderIn 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 decode, since the MLS interop test vectors round-trip the full range. GroupKeySet.SecretTree.hasLeaf and Group.validateRemove compared the decoded value directly against the tree's leaf count, and a signed comparison treats any negative int as less than a positive bound, so an out-of-range sender passed the membership check. In the hasLeaf case the SenderData of an unprotected PrivateMessage could then drive LeafIndex.directPath through NodeIndex.parent() arithmetic that never reaches the tree root, growing the resulting node list without bound until the JVM exhausted its heap. A single small message from any current group member could therefore deny service to every other member of the group. Both comparisons now interpret the value as unsigned via Integer.toUnsignedLong, rejecting an out-of-range sender however it was encoded; well-formed leaf indices are unaffected.CVSS8.7HighEPSS0.42%RoutineCVE-2026-13586legion of the bouncy castle inc. · bc-fja +8 morePKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS)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 (2.1.X series).CVSS7.5HighEPSS0.35%PrioritiseCVE-2026-13506legion of the bouncy castle inc. · bc-fja +172 moreLazy ASN.1 sequence forcing resets nesting-depth guardIn 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 series).CVSS8.7HighEPSS0.48%PrioritiseCVE-2026-12860legion of the bouncy castle inc. · bc-java +6 moreRSA PKCS#1 verification skips last two hash bytes in NULL-omitted pathIn 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.CVSS8.7HighEPSS0.17%PrioritiseCVE-2026-12852legion of the bouncy castle inc. · bc-java +4 moreMLS wire decoder allocates attacker-declared opaque length before bounds checkIn Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opaque length before bounds check.CVSS8.7HighEPSS0.31%PrioritiseCVE-2026-12817legion of the bouncy castle inc. · bc-fja +8 moreOpenPGP AEAD decryption skips final tag on chunk-aligned dataIn Bouncy Castle for Java before 1.85, OpenPGP AEAD decryption skips final tag on chunk-aligned data. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).CVSS8.7HighEPSS0.17%PrioritiseCVE-2026-12816legion of the bouncy castle inc. · bc-java +6 moreIESEngine stream-mode MAC forgery via length-dependent KDF splitIn Bouncy Castle for Java before 1.85, IESEngine stream-mode MAC forgery via length-dependent KDF split. This issue also affects Bouncy Castle for Java LTS before 2.73.12.CVSS8.7HighEPSS0.18%PrioritiseCVE-2026-12803legion of the bouncy castle inc. · bc-java +6 moreKCCMBlockCipher MAC does not bind nonce when AAD is absent (cross-nonce AEAD forgery)In Bouncy Castle for Java before 1.85, KCCMBlockCipher MAC does not bind nonce when AAD is absent (cross-nonce AEAD forgery). This issue also affects Bouncy Castle for Java LTS before 2.73.12.CVSS8.7HighEPSS0.20%PrioritiseCVE-2026-12802legion of the bouncy castle inc. · bc-fja +8 moreCMS AuthEnvelopedData fails to enforce tag-length on decryptionIn Bouncy Castle for Java before 1.85, CMS AuthEnvelopedData fails to enforce tag-length on decryption. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).CVSS8.7HighEPSS0.15%PrioritiseCVE-2026-14682legion of the bouncy castle inc. · bc-fja +9 morePossible OOM from unbounded up-front allocation on a definite-length readIn Bouncy Castle for Java before 1.85, Possible OOM from unbounded up-front allocation on a definite-length read. 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 series), and before bctls-fips 1.0.24.CVSS8.7HighEPSS0.33%PrioritiseCVE-2026-58059legion of the bouncy castle inc. · bc-fja +8 moreQuadratic-time escaping when stringifying X.500 distinguished namesIn Bouncy Castle for Java before 1.85, Quadratic-time escaping when stringifying X.500 distinguished names. 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 series).CVSS8.7HighEPSS0.56%PrioritiseCVE-2026-58060legion of the bouncy castle inc. · bc-fja +8 moreHSS public-key level count unbounded, enabling huge allocation on verifyIn Bouncy Castle for Java before 1.85, HSS public-key level count unbounded, enabling huge allocation on verify. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).CVSS8.7HighEPSS0.65%PrioritiseCVE-2026-58061legion of the bouncy castle inc. · bc-fja +8 moreCCM-family modes write plaintext to caller buffer before tag checkIn Bouncy Castle for Java before 1.85, CCM-family modes write plaintext to caller buffer before tag check. 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 series).CVSS8.7HighEPSS0.28%PrioritiseCVE-2026-58062legion of the bouncy castle inc. · bc-fja +18 moreStapled OCSP response accepted without binding to the checked certificateIn Bouncy Castle for Java before 1.85, Stapled OCSP response accepted without binding to the checked certificate. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).CVSS9.3CriticalEPSS0.36%RoutineCVE-2026-58063legion of the bouncy castle inc. · bc-fja +8 moreBCFKS keystore load honours unbounded KDF cost from untrusted fileIn Bouncy Castle for Java before 1.85, BCFKS keystore load honours unbounded KDF cost from untrusted file. 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 series).CVSS5.3MediumEPSS0.74%PrioritiseCVE-2026-59638legion of the bouncy castle inc. · bc-fja +8 moreJSSE hostname verifier CN-fallback enabled by default despite documented opt-inIn Bouncy Castle for Java before 1.85, JSSE hostname verifier CN-fallback enabled by default despite documented opt-in. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series).CVSS9.3CriticalEPSS0.26%PrioritiseCVE-2026-59639legion of the bouncy castle inc. · bc-fja +8 moreCMS verifySignatures returns true for SignedData with zero signersIn Bouncy Castle for Java before 1.85, CMS verifySignatures returns true for SignedData with zero signers. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).CVSS8.7HighEPSS0.20%PrioritiseCVE-2026-59640legion of the bouncy castle inc. · bc-fja +8 moreOpenPGP CFB quick-check oracle active on symmetric/session-key pathsIn Bouncy Castle for Java before 1.85, OpenPGP CFB quick-check oracle active on symmetric/session-key paths. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).CVSS8.7HighEPSS0.22%PrioritiseCVE-2026-59641legion of the bouncy castle inc. · bc-fja +9 moreS/MIME validator trusts signer-asserted signingTime for path validationIn Bouncy Castle for Java before 1.85, S/MIME validator trusts signer-asserted signingTime for path validation. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcmail-fips and bcjmail-fips 1.0.7 (1.0.X series), 2.0.7 (2.0.X series) and 2.1.7 (2.1.X series).CVSS8.7HighEPSS0.18%PrioritiseCVE-2026-59642legion of the bouncy castle inc. · bc-fja +8 moreCMS AuthenticatedData content not bound to MAC when authAttrs presentIn Bouncy Castle for Java before 1.85, CMS AuthenticatedData content not bound to MAC when authAttrs present. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).CVSS8.7HighEPSS0.30%