Home / Legion of the Bouncy Castle Inc. / BC-FJA / CVE-2026-8798
CVE-2026-8798: is it exploited, and which versions of Legion of the Bouncy Castle Inc. BC-FJA are affected and fixed?
CVE-2026-8798 is an infinite loop (denial of service) vulnerability in Legion of the Bouncy Castle Inc. BC-FJA. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: org.bouncycastle:bc-fips from 2.1.0 before 2.1.3 (GitHub advisory GHSA-v6w3-qrh8-qccc). Fixed in 2.1.3 (GitHub advisory GHSA-v6w3-qrh8-qccc). Severity: High (8.7, CVSS 4.0, from bcorg).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-8798?
Native entropy source retries the CPU entropy instructions without limit
In Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 2.1.3, the native entropy source used on Intel platforms retried the CPU entropy instructions without any bound. RDSEED and RDRAND report failure through their carry flag, and the JNI seeding routine spun re-issuing the instruction for as long as that flag stayed clear, so a persistent failure of the on-chip entropy source - whether from a hardware fault, from the underlying DRBG being exhausted by contention across many cores, or from a hypervisor that does not provide the instruction - left the calling thread looping indefinitely inside the JNI call, where it could be neither interrupted nor timed out. Any operation drawing from the native entropy source could therefore hang, denying service to the application. The retry loops are now bounded (200 attempts for RDSEED and 20 for RDRAND, twice the baselines given in Intel's Digital Random Number Generator software implementation guide), pausing between attempts and, on exhaustion, clearing any partially written buffer and throwing rather than continuing to spin. The clear is performed by an un-elidable memzero, which uses a volatile pointer and an assembly memory barrier so that a compiler cannot optimise the erase away as a dead store. Bouncy Castle for Java (bcprov) is not affected, as it has no native entropy source; the 1.0.X and 2.0.X FIPS series are not affected.
From the CVE record by bcorg, last updated August 10, 2026, 18:23 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Legion of the Bouncy Castle Inc. | BC-FJA bc-fips x86, x86-64 | from 2.1.0 before 2.1.3 | 2.1.3 |
As the CVE record by bcorg states it, last updated August 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.bouncycastle:bc-fips | >= 2.1.0, < 2.1.3 | 2.1.3 | GHSA-v6w3-qrh8-qccc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 18, 2026. Summary: Bouncy Castle: the native entropy source used on Intel platforms retried the CPU entropy instructions without any bound.
How severe is CVE-2026-8798?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber | bcorg |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-8798 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, August 10, 2026)
- EPSS
- 0.36% probability of exploitation activity in the next 30 days, percentile 31.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- May 18, 2026
- Published
- August 8, 2026, 00:50 UTC
- CVE record updated
- August 10, 2026, 18:23 UTC by bcorg
- NVD
- Awaiting Analysis, last modified October 24, 2026, 13:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect BC-FJA?
- Oct 3, 2026CVE-2026-71888 Legion of the Bouncy Castle Inc. BC-JAVA: improper Validation of Integrity Check Value
- Oct 3, 2026CVE-2026-71889 Legion of the Bouncy Castle Inc. BC-JAVA: improper certificate validation
- Oct 3, 2026CVE-2026-71892 Legion of the Bouncy Castle Inc. BC-JAVA: incorrect comparison
- Oct 3, 2026CVE-2026-85515 Legion of the Bouncy Castle Inc. BC-JAVA: improper Validation of Integrity Check Value
- Oct 2, 2026CVE-2026-17508 Legion of the Bouncy Castle Inc. BC-JAVA: denial of service (resources allocated without limits)
- Aug 8, 2026CVE-2026-13505 Legion of the Bouncy Castle Inc. BC-FJA: resource not released after use
- Aug 3, 2026CVE-2026-13586 Legion of the Bouncy Castle Inc. BC-JAVA: denial of service (resources allocated without limits)
- Aug 3, 2026CVE-2026-13506 Legion of the Bouncy Castle Inc. BC-JAVA: uncontrolled recursion
Questions about CVE-2026-8798
Is CVE-2026-8798 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Legion of the Bouncy Castle Inc. BC-FJA are affected by CVE-2026-8798?
org.bouncycastle:bc-fips from 2.1.0 before 2.1.3, per the GitHub advisory GHSA-v6w3-qrh8-qccc. The tables above give every range the sources list.
Which version fixes CVE-2026-8798?
2.1.3, per the GitHub advisory GHSA-v6w3-qrh8-qccc. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-8798?
High (8.7, CVSS 4.0, from bcorg). The severity table above shows each score with its source.
Where is the official record of CVE-2026-8798?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.