CVE-2025-8885: Legion of the Bouncy Castle BC Java · Unthrottled Resource Allocation
Affects Legion of the Bouncy Castle BC JavaSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium.
Data as of 26 Oct 2026, 15:59 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:AmberExploitation evidence
Disclosed: evidence found.
CVE published 12 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Legion of the Bouncy Castle Inc. BC Java | Affected
| Fixed in– |
AI-suggested
European organizations should proactively audit their software supply chains and identify any use of the affected BC Java versions (1.0 through 1.77) and BC-FJA versions (1.0.0 through 1.0.2.5 and 2.0.0 through 2.0.1). Immediate mitigation steps include: 1) Upgrading to the latest patched versions of BC Java and BC-FJA once available from Legion of the Bouncy Castle Inc. 2) Implementing resource usage monitoring and limits on applications using these libraries to detect and throttle abnormal ASN.1 parsing operations. 3) Employing application-level input validation and limiting the size and complexity of ASN.1 data processed to reduce the risk of triggering excessive resource allocation. 4) Utilizing runtime protections such as Java Security Manager policies or container resource limits to prevent resource exhaustion. 5) Conducting penetration testing and fuzzing focused on ASN.1 parsing components to identify potential exploitation vectors. 6) Maintaining robust incident response plans to quickly mitigate denial of service events. Since no patches are currently linked, organizations should engage with the vendor for timelines and consider temporary compensating controls such as network-level rate limiting or application firewalls to block suspicious traffic patterns targeting ASN.1 processing endpoints.
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.