CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.36% in 30 days
higher than 31% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
Legion of the Bouncy Castle Inc.BC-FJA bc-fips
x86, x86-64
from 2.1.0 before 2.1.32.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?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.bouncycastle:bc-fips>= 2.1.0, < 2.1.32.1.3GHSA-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?

ScoreVersionVectorSource
High 8.7CVSS 4.0CVSS: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:Amberbcorg

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?

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?

Every CVE in BC-FJA

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.