---
title: "CVE-2026-8798\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-8798?format=md
keywords: index, follow
---

# CVE-2026-8798

Publication date 8 August 2026

Last updated 14 August 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| bouncycastle | 26.04 LTS resolute | Needs evaluation |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v4.0

**Base score**

8.7 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Attack requirements | None |
  | Privileges required | None |
  | User interaction | None |
  | Vulnerable system - Confidentiality impact | None |
  | Vulnerable system - Integrity impact | None |
  | Vulnerable system - Availability impact | High |
  | Subsequent system - Confidentiality impact | None |
  | Subsequent system - Integrity impact | None |
  | Subsequent system - Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.7 · High |
  | Base + Threat score | - |
  | Base + Environmental score | - |
  | Base + Threat + Environmental score | - |

**Vector:** 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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-8798)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-8798)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-8798)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-8798)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-8798>
* <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908798>
