{"schemaVersion":4,"id":"CVE-2026-71892","aliases":["UBUNTU-CVE-2026-71892","DEBIAN-CVE-2026-71892","CGA-whv9-cwvp-rfcf","CGA-53r4-hm9j-7r3w"],"status":"published","duplicateOf":null,"title":"CMS key-transport recipient key-size validation never runs for RFC 9709 HKDF-derived keys","description":"In Bouncy Castle for Java before 1.86, the opt-in key-size validation on CMS key-transport recipients, org.bouncycastle.cms.jcajce.JceKeyTransRecipient.setKeySizeValidation(true), never ran for a message using RFC 9709 content-encryption key derivation (id-alg-cek-hkdf-sha256). The branch that should have selected the actual content-encryption algorithm carried in the key derivation AlgorithmIdentifier's parameters compared the encrypted-key byte array against the id-alg-cek-hkdf-sha256 object identifier, a comparison between a byte array and an ASN1ObjectIdentifier that is false for every possible input, so the check fell through to a key-size lookup on the outer wrapper OID. That OID identifies a key-derivation construction rather than a cipher and has no registered key size, so the size comparison was skipped entirely. A key-transport EnvelopedData or AuthEnvelopedData whose transported, HKDF-derived content-encryption key did not match the key size of the advertised content-encryption algorithm was therefore accepted even with validation explicitly enabled, silently defeating the only mechanism the API offers for enforcing recovered key size. The recipient now dispatches on the content-encryption AlgorithmIdentifier's algorithm OID, so validation checks the recovered key against the inner content-encryption algorithm. Messages with a matching key size, non-HKDF messages, and recipients that do not enable validation are unaffected. This issue also affects Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).","dates":{"published":"2026-10-03T08:30:26.982Z","modified":"2026-10-05T16:58:40.411Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/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":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/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},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00173,"percentile":0.07019,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00173},"history":[{"date":"2026-10-03T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00173,"percentile":0.07019}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00173,"percentile":0.07019}]},"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-697","name":"Incorrect Comparison","description":"The product compares two entities in a security-relevant context, but the comparison is incorrect.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/697.html"}],"affected":[{"vendor":"chainguard","product":"pinot","name":"pinot","label":"pinot","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/pinot","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"bouncycastle","name":"bouncycastle","label":"bouncycastle","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bouncycastle","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1.86-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.86-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1.86-1","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,"bounds":{"kind":"all"}}],"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.0.7, < 2.0.13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.0.7","startInclusive":true,"end":"2.0.13","endInclusive":false}},{"text":"≥ 2.1.0, < 2.1.13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.1.0","startInclusive":true,"end":"2.1.13","endInclusive":false}}],"versionsText":"≥ 2.0.7, < 2.0.13 | ≥ 2.1.0, < 2.1.13","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-fja"},{"vendor":"legion of the bouncy castle inc.","product":"bc-java","name":"BC-JAVA","label":"bc-java","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.78, < 1.86","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"1.78","startInclusive":true,"end":"1.86","endInclusive":false}}],"versionsText":"≥ 1.78, < 1.86","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-java"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071892","label":"github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071892","hostname":"github.com","tags":["Vendor Advisory","REPORT","Advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/be0a7d925c818ef2f338bcec55178b9b6336dfc3","label":"github.com/bcgit/bc-java/commit/be0a7d925c818ef2f338bcec55178b9b6336dfc3","hostname":"github.com","tags":["Patch","REPORT","FIX"]},{"url":"https://ubuntu.com/security/CVE-2026-71892","label":"ubuntu.com/security/CVE-2026-71892","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-71892","label":"www.cve.org/CVERecord?id=CVE-2026-71892","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-71892","label":"security-tracker.debian.org/tracker/CVE-2026-71892","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","label":"www.bouncycastle.org/download/bouncy-castle-java-fips/","hostname":"www.bouncycastle.org","tags":["WEB"]},{"url":"https://www.bouncycastle.org/download/bouncy-castle-java/","label":"www.bouncycastle.org/download/bouncy-castle-java/","hostname":"www.bouncycastle.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71892.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71892.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71892","label":"nvd.nist.gov/vuln/detail/CVE-2026-71892","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":["OPENSUSE-SU-2026:12090-1","OPENSUSE-SU-2026:22169-1","OPENSUSE-SU-2026:22382-1","SUSE-SU-2026:24461-1","SUSE-SU-2026:24888-1","SUSE-SU-2026:24943-1","SUSE-SU-2026:4797-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12090-1","OPENSUSE-SU-2026:22169-1","OPENSUSE-SU-2026:22382-1","SUSE-SU-2026:24461-1","SUSE-SU-2026:24888-1","SUSE-SU-2026:24943-1","SUSE-SU-2026:4797-1"]},"timeline":[{"kind":"published","date":"2026-10-03T08:30:26.982Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-05T16:58:40.411Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,69],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00173,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-05T16:58:40.411Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber","version":"4.0","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-10-05T16:58:40.411Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber","version":"4.0"},{"type":"cvss","source":"osv_debian","date":"2026-10-05T16:58:40.411Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-10-05T16:58:40.411Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/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","version":"4.0"},{"type":"cvss","source":"osv_chainguard","date":"2026-10-05T16:58:40.411Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-10-05T16:58:15.636Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00173,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:39:10.756Z","stale":false,"partial":false}}