{"schemaVersion":3,"id":"CVE-2026-8798","aliases":["UBUNTU-CVE-2026-8798","CGA-prjf-5cfx-wwh5","CGA-wmwh-qvx6-mffm","CGA-234c-q8c3-7vr3","CGA-27h6-hgqp-75pp","CGA-36cg-xxjw-hp97","CGA-45qw-77p6-56fh","CGA-56gc-p5vp-q5cp","CGA-6x79-v7ww-jjqm","CGA-8c5x-77jq-j35p","CGA-c3q8-6gq8-rw6f","CGA-ch8c-rgvm-f3f3","CGA-chqv-5rm5-rjmm","CGA-g477-v9c6-h22m","CGA-h4cg-g97h-pcw8","CGA-mqxr-jx59-3hpq","CGA-p3j2-hwq2-7gcf","GHSA-v6w3-qrh8-qccc","CGA-qmmv-vv77-v5w7","CGA-qwq5-7v5c-93q4","CGA-w33g-x9fc-4465","CGA-w7w8-9733-gmj3","CGA-w8p6-2r28-qv2v","CGA-x6vf-w5cx-vp6g"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-08-08T00:50:56.956Z","modified":"2026-08-10T18:23:28.568Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","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/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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00428,"percentile":0.35988,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.099,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00329},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00428,"percentile":0.35988}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00428,"percentile":0.35988}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition ('Infinite Loop')","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"chainguard","product":"bouncycastle-fips","name":"bouncycastle-fips","label":"bouncycastle-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/bouncycastle-fips","purlType":"apk","versions":[{"text":"< 2.1.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.3-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"guacamole-client-extensions","name":"guacamole-client-extensions","label":"guacamole-client-extensions","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/guacamole-client-extensions","purlType":"apk","versions":[{"text":"< 1.6.0-r16","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.0-r16","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-fips-26.6","name":"keycloak-fips-26.6","label":"keycloak-fips-26.6","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.6","purlType":"apk","versions":[{"text":"< 26.6.7-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.6.7-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-fips-26.6-iamguarded-fips","name":"keycloak-fips-26.6-iamguarded-fips","label":"keycloak-fips-26.6-iamguarded-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.6-iamguarded-fips","purlType":"apk","versions":[{"text":"< 26.6.7-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.6.7-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-fips-26.7","name":"keycloak-fips-26.7","label":"keycloak-fips-26.7","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.7","purlType":"apk","versions":[{"text":"< 26.7.4-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.7.4-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-fips-26.7-iamguarded-fips","name":"keycloak-fips-26.7-iamguarded-fips","label":"keycloak-fips-26.7-iamguarded-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-fips-26.7-iamguarded-fips","purlType":"apk","versions":[{"text":"< 26.7.4-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.7.4-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"opensearch-2","name":"opensearch-2","label":"opensearch-2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opensearch-2","purlType":"apk","versions":[{"text":"< 2.19.6-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.6-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"opensearch-2-ml-commons","name":"opensearch-2-ml-commons","label":"opensearch-2-ml-commons","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opensearch-2-ml-commons","purlType":"apk","versions":[{"text":"< 2.19.6-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.6-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"wazuh-indexer","name":"wazuh-indexer","label":"wazuh-indexer","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wazuh-indexer","purlType":"apk","versions":[{"text":"< 4.14.7-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.7-r6","eol":null,"hubHref":null},{"vendor":"chainguard","product":"wazuh-indexer-plugin-ml-commons","name":"wazuh-indexer-plugin-ml-commons","label":"wazuh-indexer-plugin-ml-commons","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wazuh-indexer-plugin-ml-commons","purlType":"apk","versions":[{"text":"< 4.14.7-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.7-r6","eol":null,"hubHref":null},{"vendor":"wolfi","product":"opensearch-2","name":"opensearch-2","label":"opensearch-2","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/opensearch-2","purlType":"apk","versions":[{"text":"< 2.19.6-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.6-r11","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bouncycastle","name":"bouncycastle","label":"bouncycastle","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bouncycastle","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"legion of the bouncy castle inc.","product":"bc-fja","name":"BC-FJA","label":"bc-fja","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.1.0, < 2.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.1.0, < 2.1.3","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-fja"},{"vendor":"org.bouncycastle","product":"bc-fips","name":"org.bouncycastle:bc-fips","label":"bc-fips","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.bouncycastle/bc-fips","purlType":"maven","versions":[{"text":"≥ 2.1.0, < 2.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.1.0, < 2.1.3","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908798","label":"github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908798","hostname":"github.com","tags":["Vendor Advisory","REPORT","WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-8798","label":"ubuntu.com/security/CVE-2026-8798","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-8798","label":"www.cve.org/CVERecord?id=CVE-2026-8798","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8798","label":"nvd.nist.gov/vuln/detail/CVE-2026-8798","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/bcgit/bc-java","label":"github.com/bcgit/bc-java","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-7W5W-37J4-V5VH"]},"timeline":[{"kind":"published","date":"2026-08-08T00:50:56.956Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-10T18:23:28.568Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T16:32:08.432Z","stale":false,"partial":false}}