CVE-2026-8798
Last modified
CVE-2026-8798 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
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.
Metrics
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/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:X/AU:X/R:X/V:X/RE:X/U:Amber
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Legion of the Bouncy Castle Inc. | BC-FJA | >= 2.1.0, < 2.1.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-8798?
How severe is CVE-2026-8798?
How do I fix CVE-2026-8798?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8791The Booking System Trafft plugin for WordPress is vulnerable…6.4
- CVE-2026-8793PaperCut NG/MF does not properly restrict excessive authenti…6.9
- CVE-2026-8794PaperCut NG/MF contains an observable timing discrepancy in …6.9
- CVE-2026-8795A YAML injection vulnerability exists in the Windows.Collect…7.8
- CVE-2026-8796Sereal::Decoder versions before 5.005 for Perl allow heap ou…8.1
- CVE-2026-8797An access control deficiency vulnerability exists in Express…8.5
- CVE-2026-8800Incorrect Authorization vulnerability in Progress MOVEit Tra…8.8
- CVE-2026-8801Path equivalence: vulnerability in Progress MOVEit Transfer …9.8
- CVE-2026-8802A vulnerability was detected in opensourcepos Open Source Po…5.3
- CVE-2026-8803A flaw has been found in opensourcepos Open Source Point of …6.3
- CVE-2026-8804Puppet resource_api (shipped in Puppet Core 8.x and Puppet E…6.7
- CVE-2026-8805Integer Overflow or Wraparound vulnerability in the EtherNet…8.7
Are you affected by CVE-2026-8798?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
