{"schemaVersion":3,"id":"CVE-2026-71886","aliases":["UBUNTU-CVE-2026-71886","DEBIAN-CVE-2026-71886"],"status":"published","duplicateOf":null,"title":null,"description":"In Bouncy Castle for Java before 1.86, the high-level OpenPGP certificate API accepted a third-party certification or trust delegation from any component key of the issuing certificate, without requiring that component to have been granted the authority to certify. OpenPGPCertificate.getCertificationBy() and getDelegationBy() resolve a third-party signature by matching its issuer key identifier against every key of the third-party certificate, then verify the issuing component's binding chain and the signature itself; nothing checked that the issuing component carried the RFC 9580 sec. 5.2.3.29 certification key flag (CERTIFY_OTHER) when the signature was created. A subkey bound only with SIGN_DATA - the online signing subkey of exactly the offline-primary arrangement those key flags exist to express - could therefore issue a positive User ID certification over an attacker-controlled identity, or a full-trust depth-one direct-key delegation of introducer trust, and the API returned it as a valid signature chain attributed to the third-party certificate. An application treating getCertificationBy(...).isValid() or getDelegationBy(...) as an identity or trusted-introducer decision would attribute the attacker's assertion to the offline primary key. The same held for a legacy RSA subkey bound only for encryption, whose algorithm is nonetheless able to sign. This does not forge the primary key's signature or recover any private key; it promotes an already-compromised restricted subkey to the primary key's identity-issuing authority, defeating the containment the key-flag separation provides. A third-party certification or delegation is now attributed to the issuing certificate only when the component key that made it is the primary key, or is a subkey holding CERTIFY_OTHER when the signature was created, so certification-capable subkeys continue to be accepted; primary keys are accepted whatever their key flags say, since a primary key is certification-capable by construction and certificates carrying no key flags subpacket at all are common. Third-party revocations are deliberately outside the rule, since declining to honour one would keep trust alive rather than withdraw it.","dates":{"published":"2026-10-03T08:46:33.868Z","modified":"2026-10-05T16:03:23.403Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/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":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/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":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/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":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/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":8.2,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/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}]},"epss":{"probability":0.00167,"percentile":0.05616,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-03T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00167,"percentile":0.05616}],"last30":[{"date":"2026-10-03T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00167,"percentile":0.05616}]},"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-285","name":"Improper Authorization","description":"The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/285.html"},{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"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},{"text":"< 1.86-1","noFixRecorded":false,"fixedIn":null}],"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}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"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.81, < 1.86","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.81, < 1.86","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-java"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071886","label":"github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071886","hostname":"github.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://github.com/bcgit/bc-java/commit/f0d5c8535aeff3f34b7b6b6289ee78c2ea36a3fb","label":"github.com/bcgit/bc-java/commit/f0d5c8535aeff3f34b7b6b6289ee78c2ea36a3fb","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-71886","label":"ubuntu.com/security/CVE-2026-71886","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-71886","label":"www.cve.org/CVERecord?id=CVE-2026-71886","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-71886","label":"security-tracker.debian.org/tracker/CVE-2026-71886","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12090-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12090-1"]},"timeline":[{"kind":"published","date":"2026-10-03T08:46:33.868Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-05T16:03:23.403Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T19:07:58.172Z","stale":false,"partial":false}}