Legion of the Bouncy Castle Inc. BC-LTS-JAVA vulnerabilities (CVE)

CVE records published for Legion of the Bouncy Castle Inc. BC-LTS-JAVA, newest first. Follow to get an email when a new one appears.

35 results
8.2High
CVE-2026-71883

Native AES packet cipher returns the raw AES key on an alias

Legion of the Bouncy Castle Inc. BC-LTS-JAVA

In Bouncy Castle for Java LTS before 2.73.13, the one-shot native packet ciphers for AES-CBC, CCM, CFB, CTR, GCM and GCM-SIV released the caller's key, IV and additional authenticated data arrays with JNI's ReleaseByteArrayElements in mode 0, which commits th…

8.7High
CVE-2026-71888

CMS AuthenticatedData exposes attacker-inserted authAttrs when digestAlgorithm is absent

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In Bouncy Castle for Java before 1.86, the streaming CMS AuthenticatedData parser accepted a message whose digestAlgorithm and authAttrs fields disagreed about whether authenticated attributes were present. RFC 5652 sec. 9.1 pairs the two, requiring that auth…

8.7High
CVE-2026-71889

PKIXCertPathReviewer does not apply X.509 name constraints to the target certificate

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In Bouncy Castle for Java before 1.86, neither copy of PKIXCertPathReviewer - org.bouncycastle.pkix.jcajce.PKIXCertPathReviewer nor the legacy org.bouncycastle.x509.PKIXCertPathReviewer - applied X.509 name constraints to the end-entity certificate. checkName…

8.2High
CVE-2026-85515

OpenPGP message truncation not reported, bypassing the SEIPDv1 integrity check

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In Bouncy Castle for Java before 1.86, a truncated OpenPGP encrypted message was accepted with no error reported, and on the SEIPD version 1 path with no integrity check performed at all. RFC 9580 sec. 13.7 permits an implementation to release the cleartext o…

5.3Medium
CVE-2026-17508

Password-based KDF cost parameters honoured unbounded from untrusted input across the remaining PBE entry points

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In Bouncy Castle for Java before 1.86, several password-based key derivation entry points ran the KDF with cost parameters taken from the untrusted input being processed, without bounding them, so a small input could dictate an arbitrary amount of work before…

5.3Medium
CVE-2026-13586

PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS)

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

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.…

8.7High
CVE-2026-13506

Lazy ASN.1 sequence forcing resets nesting-depth guard

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

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 seri…

8.7High
CVE-2026-12817

OpenPGP AEAD decryption skips final tag on chunk-aligned data

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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…

8.7High
CVE-2026-12802

CMS AuthEnvelopedData fails to enforce tag-length on decryption

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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.1…

8.7High
CVE-2026-14682

Possible OOM from unbounded up-front allocation on a definite-length read

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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)…

8.7High
CVE-2026-58059

Quadratic-time escaping when stringifying X.500 distinguished names

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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.…

8.7High
CVE-2026-58060

HSS public-key level count unbounded, enabling huge allocation on verify

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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) an…

8.7High
CVE-2026-58061

CCM-family modes write plaintext to caller buffer before tag check

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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…

9.3Critical
CVE-2026-58062

Stapled OCSP response accepted without binding to the checked certificate

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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) a…

5.3Medium
CVE-2026-58063

BCFKS keystore load honours unbounded KDF cost from untrusted file

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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…

9.3Critical
CVE-2026-59638

JSSE hostname verifier CN-fallback enabled by default despite documented opt-in

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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…

8.7High
CVE-2026-59639

CMS verifySignatures returns true for SignedData with zero signers

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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.…

8.7High
CVE-2026-59640

OpenPGP CFB quick-check oracle active on symmetric/session-key paths

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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.…

8.7High
CVE-2026-59641

S/MIME validator trusts signer-asserted signingTime for path validation

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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…

8.7High
CVE-2026-59642

CMS AuthenticatedData content not bound to MAC when authAttrs present

Legion of the Bouncy Castle Inc. BC-JAVA; Legion of the Bouncy Castle Inc. BC-LTS-JAVA; Legion of the Bouncy Castle Inc. BC-FJA

In 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),…