{"id":"CVE-2026-59647","summary":"CRMF/CMP password-MAC honours unbounded iteration count","details":"In Bouncy Castle for Java before 1.85, CRMF/CMP password-MAC honours unbounded iteration count. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).","modified":"2026-08-14T18:56:24.700901811Z","published":"2026-08-03T00:46:57.977Z","related":["SUSE-SU-2026:23127-1","SUSE-SU-2026:23150-1","SUSE-SU-2026:3559-1","openSUSE-SU-2026:11445-1","openSUSE-SU-2026:21538-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"1.0.0"},{"fixed":"1.0.12"},{"introduced":"2.0.0"},{"fixed":"2.0.12"},{"introduced":"2.1.0"},{"fixed":"2.1.12"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"bcorg","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59647.json"},"references":[{"type":"WEB","url":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/"},{"type":"WEB","url":"https://www.bouncycastle.org/download/bouncy-castle-java-lts/"},{"type":"WEB","url":"https://www.bouncycastle.org/download/bouncy-castle-java/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59647.json"},{"type":"ADVISORY","url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059647"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59647"},{"type":"FIX","url":"https://github.com/bcgit/bc-java/commit/c99d6427d6818d04165b07b45dfda96f2b384c53"},{"type":"PACKAGE","url":"https://github.com/bcgit/bc-java"},{"type":"PACKAGE","url":"https://github.com/bcgit/bc-lts-java"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bcgit/bc-java","events":[{"introduced":"0"},{"fixed":"57fbd3c501f7a369f64eda311d6a709fc0bcae84"},{"fixed":"c99d6427d6818d04165b07b45dfda96f2b384c53"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.85"}]}},{"type":"GIT","repo":"https://github.com/bcgit/bc-lts-java","events":[{"introduced":"468b5082f3f0971e80bf9edb7029c17b39b9ba0c"},{"fixed":"f101b232c5d3e07ecdd504210a57e43831d6cd65"}],"database_specific":{"extracted_events":[{"introduced":"2.73.0"},{"fixed":"2.73.12"}],"source":"AFFECTED_FIELD"}}],"versions":["r1rv84","r1rv81","r1rv83","r1rv82","r1rv80","r1rv78","r1rv77","r1rv76","r1rv75","r1rv74","r1rv73","r2rv73dot11","r2rv73dot10","r2rv73dot9","r2rv73dot8","r2rv73dot6","r2rv73dot4","r2rv73dot3","r2rv73dot1","r2rv73dot0"],"database_specific":{"vanir_signatures":[{"signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/c99d6427d6818d04165b07b45dfda96f2b384c53","target":{"file":"core/src/main/java/org/bouncycastle/util/Properties.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["311364422625888269058408095146596687366","309579080998695119046925374867626751876","129798592693657596835692987390861036897"]},"id":"CVE-2026-59647-112e1637","signature_type":"Line"},{"target":{"file":"pkix/src/main/java/org/bouncycastle/cert/crmf/PKMACBuilder.java"},"deprecated":false,"digest":{"line_hashes":["282034187603892256663863769691837681373","263521362359616960025411099985319982991","115497456215366362001201246592857730270","46416603333340295309544677322578512512","53889960897588887475492976421895266829","37737357403438712424962845174505027396","47489986048131552733075460851433114733","28419601338975652127744579826109286569","102878209774513247431403751761087297209","77256309732579255215269448706414049418"],"threshold":0.9},"id":"CVE-2026-59647-466b4290","signature_type":"Line","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/c99d6427d6818d04165b07b45dfda96f2b384c53"},{"source":"https://github.com/bcgit/bc-java/commit/c99d6427d6818d04165b07b45dfda96f2b384c53","target":{"file":"pkix/src/test/java/org/bouncycastle/cert/crmf/test/AllTests.java"},"deprecated":false,"digest":{"line_hashes":["332962983452388081120875387603598265973","24547425068298275282899283791829706213","187523879037815365199504240322801473252","289167470408123512763983680959001897817","201658720830234008980522847271740867412","21817322581335455952578260982030694434","308207455669245876460953481043343850053","103596030790652456631271192219372070868"],"threshold":0.9},"id":"CVE-2026-59647-5dec0a9e","signature_type":"Line","signature_version":"v1"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/c99d6427d6818d04165b07b45dfda96f2b384c53","target":{"function":"checkIterationCountCeiling","file":"pkix/src/main/java/org/bouncycastle/cert/crmf/PKMACBuilder.java"},"deprecated":false,"digest":{"function_hash":"57690285400429947527907924685401660647","length":185},"id":"CVE-2026-59647-c33bb89f"}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-59647.json","vanir_signatures_modified":"2026-08-12T15:20:50Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Amber"}]}