{"schemaVersion":3,"id":"CVE-2026-63570","aliases":[],"status":"published","duplicateOf":null,"title":"Pkcs12Store.GetCertificateChain loops forever on cyclic issuer links","description":"Loop with unreachable exit condition in Pkcs12Store.GetCertificateChain in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can supply a crafted PKCS#12 file to an application that loads it and requests a key entry's certificate chain to cause a denial of service, in which the call never returns and consumes CPU and memory until an OutOfMemoryException, via certificates whose issuer links form a cycle, for example two certificates whose AuthorityKeyIdentifier extensions each identify the other's public key. This happens because the chain-building loop stops only when no issuer is found or a certificate links to itself, and keeps no record of certificates already visited. The key-identifier links are followed without checking signatures.","dates":{"published":"2026-10-02T07:01:18.029Z","modified":"2026-10-02T19:13:27.192Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00213,"percentile":0.11073,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-02T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00213,"percentile":0.11073}],"last30":[{"date":"2026-10-02T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00213,"percentile":0.11073}]},"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":"legion of the bouncy castle inc.","product":"bc-csharp","name":"bc-csharp","label":"bc-csharp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.0","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-csharp"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63570","label":"github.com/bcgit/bc-csharp/wiki/CVE-2026-63570","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/bcgit/bc-csharp/commit/1b8fad04df4953230c9951c57678ee45c8aead85","label":"github.com/bcgit/bc-csharp/commit/1b8fad04df4953230c9951c57678ee45c8aead85","hostname":"github.com","tags":["Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-02T07:01:18.029Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-02T19:13:27.192Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:42:20.156Z","stale":false,"partial":false}}