{"id":"CVE-2026-59640","summary":"OpenPGP CFB quick-check oracle active on symmetric/session-key paths","details":"In Bouncy Castle for Java before 1.85, OpenPGP CFB quick-check oracle active on symmetric/session-key paths. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).","modified":"2026-08-14T18:56:41.577863278Z","published":"2026-08-03T00:55:19.062Z","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":{"cna_assigner":"bcorg","cwe_ids":["CWE-203"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59640.json","unresolved_ranges":[{"extracted_events":[{"introduced":"1.0.0"},{"fixed":"1.0.13"},{"introduced":"2.0.0"},{"fixed":"2.0.13"},{"introduced":"2.1.0"},{"fixed":"2.1.13"}],"source":"AFFECTED_FIELD"}]},"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-59640.json"},{"type":"ADVISORY","url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059640"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59640"},{"type":"FIX","url":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e"},{"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":"6b94b1c146cec1f565d9a85847fae511af77503e"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.85"}],"source":["DESCRIPTION","REFERENCES"]}},{"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":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-59640.json","vanir_signatures_modified":"2026-08-12T15:20:49Z","vanir_signatures":[{"digest":{"line_hashes":["50671578365308108760643708027735425608","150742747253640397634823343255313346329","39678005526965916117473944015363706759","141863827011499454410954670095034628019","51875940390146466152230553609664151542","39781507606215086323376859966086771922","160037360228391233706860524767532318468"],"threshold":0.9},"id":"CVE-2026-59640-041c810f","signature_type":"Line","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e","target":{"file":"pg/src/main/java/org/bouncycastle/openpgp/PGPEncryptedData.java"},"deprecated":false},{"deprecated":false,"digest":{"function_hash":"102217122924963623284000505256155763149","length":159},"id":"CVE-2026-59640-1f35606a","signature_type":"Function","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e","target":{"file":"pg/src/test/java/org/bouncycastle/openpgp/test/PGPSessionKeyTest.java","function":"performTest"}},{"signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e","target":{"file":"pg/src/main/java/org/bouncycastle/openpgp/PGPSymmetricKeyEncryptedData.java"},"deprecated":false,"digest":{"line_hashes":["270756521905740553887922822009730154934","234388666347519758750509571604153776725","186505597916280378535338349028662214152","241771544909389106236817305913309577419","13591022619069070617113074367045861918","228108888634461591009170065151840663379"],"threshold":0.9},"id":"CVE-2026-59640-213b76f2","signature_type":"Line"},{"deprecated":false,"digest":{"line_hashes":["291997531259243721554778469529864575235","125357033757300460215718238563511460534"],"threshold":0.9},"id":"CVE-2026-59640-3cdd526d","signature_type":"Line","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e","target":{"file":"pg/src/main/java/org/bouncycastle/openpgp/PGPSessionKeyEncryptedData.java"}},{"signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e","target":{"file":"pg/src/main/java/org/bouncycastle/openpgp/PGPEncryptedData.java","function":"processSymmetricEncIntegrityPacketDataStream"},"deprecated":false,"digest":{"function_hash":"70742711808403761908924858800751936865","length":875},"id":"CVE-2026-59640-45493e94","signature_type":"Function"},{"digest":{"function_hash":"83441929714388771371226748584049524064","length":393},"id":"CVE-2026-59640-87f421f1","signature_type":"Function","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e","target":{"file":"pg/src/main/java/org/bouncycastle/openpgp/PGPSymmetricKeyEncryptedData.java","function":"getDataStream"},"deprecated":false},{"signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e","target":{"file":"pg/src/test/java/org/bouncycastle/openpgp/test/PGPSessionKeyTest.java"},"deprecated":false,"digest":{"line_hashes":["222791434545271003907937225506870061428","45585583239989964999744826137913605462","129884966089975909637959526802652473732","61283690759457485155136639222281420349","183104424519333394051224003255451837299","31930687478730054376312307805538298031","103669351217101807287418918564995380837","201039243211669276128169041085650540890"],"threshold":0.9},"id":"CVE-2026-59640-947d6bbe","signature_type":"Line"},{"target":{"file":"pg/src/main/java/org/bouncycastle/openpgp/PGPPublicKeyEncryptedData.java","function":"getDataStream"},"deprecated":false,"digest":{"length":1071,"function_hash":"67033837579540121131550698997503611142"},"id":"CVE-2026-59640-f2137970","signature_type":"Function","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/6b94b1c146cec1f565d9a85847fae511af77503e","target":{"file":"pg/src/main/java/org/bouncycastle/openpgp/PGPPublicKeyEncryptedData.java"},"deprecated":false,"digest":{"line_hashes":["305361709649942376249027324123947514264","7792288907536211309222250240666824290","105322056043517333653379010132210981475","132139126631006945857346243928888669677","286730860600336451126653747961348522337","261238490834440320109408716932374928776","98506360198953903387018901131207726344","9588676783076511769144434898873774"],"threshold":0.9},"id":"CVE-2026-59640-fdda4721"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:Amber"}]}