CVE-2025-8885 Details
Description
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.
A vulnerability in Bouncy Castle for Java, affecting versions 1.0 through 1.77 and 1.0.0 through 2.0.0 of Bouncy Castle FJA, allows for excessive allocation of resources. This issue arises from the uncapped creation of ASN.1 Object Identifiers (OIDs) from encodings, which, while technically valid, could be exploited for a denial-of-service attack. The vulnerability is present in all Java Virtual Machine (JVM) platforms)
Users can upgrade to Bouncy Castle for Java version 1.78, where this vulnerability has been addressed. Instructions for downloading this version are available on the Bouncy Castle GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 12, 2025CISA-ADP
Assessed Aug 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908885 | bcorg | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | bcorg |
Affected Products
| Product | Versions |
|---|---|
| Legion of the Bouncy Castle Inc. Bouncy Castle | >= 1.0, <= 1.77 >= 1.0.0, <= 2.0.0 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | bcorg |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 12, 2025 | CVE Modified | bcorg |
| Aug 16, 2025 | CVE Modified | bcorg |
| Aug 12, 2025 | New CVE Received | bcorg |
Volerion