ZeroDay Brief
CVE-2026-8798

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 en…

CVSS
8.7High
Chance of exploitation (EPSS)
0.43%
Published
Aug 8, 2026
In the news
Not yet

What to do

A serious security flaw that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 2.1.3

Affected versions
Legion Of The Bouncy Castle Bc-fja
2.1.0 to before 2.1.3

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.

CWE-835

Affected products

Get alerts for these →

No product list yet. It usually appears within a few days of publication.

Timeline 3

Latest change: Tenable Container Security plugin 461922: Echo: org.bouncycastle:bc-fips: security update to 2.1.3 (Nov 23, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 1

  • github.com /bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908798

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”