Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer
Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcpkix on All (API modules), Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BCPKIX FIPS bcpkix-fips on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files https://github.Com/bcgit/bc-java/blob/main/pkix/src/main/java/org/bouncycastle/pkix/jcajce/PKIXCertPathReviewer.Java, https://github.Com/bcgit/bc-java/blob/main/prov/src/main/java/org/bouncycastle/x509/PKIXCertPathReviewer.Java. This issue affects BC Java: from 1.44 through 1.78; BC Java: from 1.44 through 1.78; BCPKIX FIPS: from 1.0.0 through 1.0.7, from 2.0.0 through 2.0.7.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-8916
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:26 UTC · Revision 1
Source evidence
Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer
core-osv · Original sourcePublished 13 Aug 2025, 09:31 UTC
Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcpkix on All (API modules), Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BCPKIX FIPS bcpkix-fips on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files https://github.Com/bcgit/bc-java/blob/main/pkix/src/main/java/org/bouncycastle/pkix/jcajce/PKIXCertPathReviewer.Java, https://github.Com/bcgit/bc-java/blob/main/prov/src/main/java/org/bouncycastle/x509/PKIXCertPathReviewer.Java. This issue affects BC Java: from 1.44 through 1.78; BC Java: from 1.44 through 1.78; BCPKIX FIPS: from 1.0.0 through 1.0.7, from 2.0.0 through 2.0.7.
osv:CVE-2025-8916
Complete source record
{
"id": "c0d21b45fcd0e5be87e09c90079607afe0d4fe9c16bb28b760c7bc8539228137",
"url": "https://osv.dev/vulnerability/CVE-2025-8916",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer",
"summary": "Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcpkix on All (API modules), Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BCPKIX FIPS bcpkix-fips on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files https://github.Com/bcgit/bc-java/blob/main/pkix/src/main/java/org/bouncycastle/pkix/jcajce/PKIXCertPathReviewer.Java, https://github.Com/bcgit/bc-java/blob/main/prov/src/main/java/org/bouncycastle/x509/PKIXCertPathReviewer.Java. This issue affects BC Java: from 1.44 through 1.78; BC Java: from 1.44 through 1.78; BCPKIX FIPS: from 1.0.0 through 1.0.7, from 2.0.0 through 2.0.7.",
"evidence": "osv:CVE-2025-8916",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-8916",
"aliases": [
"CVE-2025-8916",
"GHSA-4cx2-fc23-5wg6"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bcgit/bc-java",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "30c6cc60ef5aa9062a083a8cea3e5c4f96d91a2a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.44"
},
{
"last_affected": "1.78"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"r1rv78",
"r1rv77",
"r1rv76",
"r1rv75",
"r1rv74",
"r1rv73"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8916.json"
}
}
],
"modified": "2026-10-28T02:30:48.779764984Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-032379.html",
"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908916",
"https://repo1.maven.org/maven2/org/bouncycastle",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8916.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-8916",
"https://github.com/bcgit/bc-java"
],
"provider_metadata": {
"cwe_ids": [
"CWE-770"
],
"cna_assigner": "bcorg",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "1.0.0"
},
{
"last_affected": "1.0.7"
},
{
"introduced": "2.0.0"
},
{
"last_affected": "2.0.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8916.json"
}
},
"related_cves": [
{
"value": "CVE-2025-8916",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516968,
"published_at": "2025-08-13T09:31:21.181+00:00"
}