CVE-2025-8885Possible DOS in processing specially formed ASN.1 Object Identifiers
- 6.3MediumCVSS base score
- 0.64%Exploitation in 30 daysEPSS · top 49% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By bcorg
Published
- 31 days later
· 31 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| bcorgCNA (assigner) | 4.0 | Medium6.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/S:P/R:U/RE:M/U:Amber |
| NVDNVD · Deferred | 4.0 | Medium6.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 |
- EPSS (exploitation in 30 days)
- 0.64% · top 49% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Affected products
Legion of the Bouncy Castle Inc. · BC Java
- affected 1.0 – ≤ 1.77
Legion of the Bouncy Castle Inc. · BC-FJA
- affected 1.0.0 – ≤ 1.0.2.5
- affected 2.0.0 – ≤ 2.0.1
Affected packages
Affected packages7
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.bouncycastle:bc-fipsGHSA-67mf-3cr5-8w23 (opens in a new tab)
- Mavenorg.bouncycastle:bcprov-jdk14GHSA-67mf-3cr5-8w23 (opens in a new tab)
- Mavenorg.bouncycastle:bcprov-jdk15to18GHSA-67mf-3cr5-8w23 (opens in a new tab)
- Mavenorg.bouncycastle:bcprov-jdk18onGHSA-67mf-3cr5-8w23 (opens in a new tab)
- Mavenorg.bouncycastle:bctls-jdk14GHSA-67mf-3cr5-8w23 (opens in a new tab)
- Mavenorg.bouncycastle:bctls-jdk15to18GHSA-67mf-3cr5-8w23 (opens in a new tab)
- Mavenorg.bouncycastle:bctls-jdk18onGHSA-67mf-3cr5-8w23 (opens in a new tab)
What to do
Workaround: Limiting the size of ASN.1 objects that can be loaded from "the wild", or putting in place some other validation for such objects, will mitigate the risk of an exploit by automatically putting a cap on the maximum size of an ASN.1 OBJECT IDENTIFIER.
References
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-24231 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-67mf-3cr5-8w23 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-8885)Record last updated .