All CVEs / Legion of the Bouncy Castle Inc.
CVE-2025-8885Legion of the Bouncy Castle Inc. BC Java
Medium 6.3 No auth needed
Follow: this CVE · Legion of the Bouncy Castle Inc. · Legion of the Bouncy Castle Inc. BC Java We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Aug 12, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:X/R:U/V:X/RE:M/U:Amber
What happens
Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BC-FJA bc-fips on All allows Excessive Allocation. This vulnerability is associated with program files https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdenti... https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdentifier.Java .
This issue affects BC Java: from 1.0 through 1.77; BC-FJA: from 1.0.0 through 1.0.2.5, from 2.0.0 through 2.0.1.
What to do
- Apply the vendor's security update for BC Java.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.bouncycastle:bc-fips |
≥ 1.0.0 < 1.0.2.6 |
1.0.2.6 |
— |
| Maven | org.bouncycastle:bc-fips |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
— |
| Maven | org.bouncycastle:bcprov-jdk14 |
≥ 1.0 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk15to18 |
≥ 1.0 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk18on |
≥ 1.0 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bctls-jdk14 |
≥ 1.0 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bctls-jdk15to18 |
≥ 1.0 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bctls-jdk18on |
≥ 1.0 < 1.78 |
1.78 |
— |
Per OSV / GitHub Advisories (GHSA-67mf-3cr5-8w23). Check the version in your lockfile before upgrading.
Affected products
- Legion of the Bouncy Castle Inc. · BC Java
- Legion of the Bouncy Castle Inc. · BC-FJA
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.