CVE-2025-8885
EPSS 0.12%Bouncy Castle for Java on All (API modules) allows Excessive Allocation
Published: 8/12/2025Modified: 4/28/2026
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.
Affected packages (8)
- Debian/bouncycastlefrom 0
- Maven/org.bouncycastle:bc-fips>= 1.0.0, < 1.0.2.6
- Maven/org.bouncycastle:bcprov-jdk14>= 1.0, < 1.78
- Maven/org.bouncycastle:bcprov-jdk15to18>= 1.0, < 1.78
- Maven/org.bouncycastle:bcprov-jdk18on>= 1.0, < 1.78
- Maven/org.bouncycastle:bctls-jdk14>= 1.0, < 1.78
- Maven/org.bouncycastle:bctls-jdk15to18>= 1.0, < 1.78
- Maven/org.bouncycastle:bctls-jdk18on>= 1.0, < 1.78
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-8885
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-8885
- PATCHhttps://github.com/bcgit/bc-java
- WEBhttps://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdentifier.java
- WEBhttps://github.com/bcgit/bc-java/commit/3790993df5d28f661a64439a8664343437ed3865
- WEBhttps://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908885