CVE-2025-8885
MEDIUM 6.3CVSS 4.0Bouncy Castle for Java on All (API modules) allows Excessive Allocation
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.
- Published
- 12 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- 91579145-5d7b-4cc5-b925-a0262ff19630
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-67mf-3cr5-8w23
- Sources
- NVDJSONOSV GHSA-67mf-3cr5-8w23JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 91579145-5d7b-4cc5-b925-a0262ff19630 (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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/S:P/R:U/RE:M/U:Amber |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.bouncycastle:bcprov-jdk14 | >= 1.0, < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15to18 | >= 1.0, < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bcprov-jdk18on | >= 1.0, < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk14 | >= 1.0, < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk15to18 | >= 1.0, < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk18on | >= 1.0, < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bc-fips | >= 1.0.0, < 1.0.2.6 | 1.0.2.6 |
| OSV | Maven | org.bouncycastle:bc-fips | >= 2.0.0, < 2.0.1 | 2.0.1 |
References
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908885 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-8885 · ADVISORY
- https://github.com/bcgit/bc-java/commit/3790993df5d28f661a64439a8664343437ed3865 · WEB
- https://github.com/bcgit/bc-java · PACKAGE
- https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdentifier.java · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 12 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Aug 2025)