{"id":"CVE-2026-59639","summary":"CMS verifySignatures returns true for SignedData with zero signers","details":"In Bouncy Castle for Java before 1.85, CMS verifySignatures returns true for SignedData with zero signers. 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:23.620055534Z","published":"2026-08-03T00:56:24.394Z","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":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59639.json","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-347"]},"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-59639.json"},{"type":"ADVISORY","url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059639"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59639"},{"type":"FIX","url":"https://github.com/bcgit/bc-java/commit/99ddc6dcc6782e6a76b0dd587c77e62eb7096ad0"},{"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":"99ddc6dcc6782e6a76b0dd587c77e62eb7096ad0"}],"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":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"2.73.0"},{"fixed":"2.73.12"}]}}],"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-59639.json","vanir_signatures_modified":"2026-08-12T13:45:43Z","vanir_signatures":[{"digest":{"function_hash":"248172216731417060037426735506958763855","length":683},"id":"CVE-2026-59639-6cb902cd","signature_type":"Function","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/99ddc6dcc6782e6a76b0dd587c77e62eb7096ad0","target":{"file":"pkix/src/main/java/org/bouncycastle/cms/CMSSignedData.java","function":"verifySignatures"},"deprecated":false},{"id":"CVE-2026-59639-82ae9abc","signature_type":"Line","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/99ddc6dcc6782e6a76b0dd587c77e62eb7096ad0","target":{"file":"pkix/src/main/java/org/bouncycastle/cms/CMSSignedData.java"},"deprecated":false,"digest":{"line_hashes":["185519618309092291115967925554021490639","285498038949261599755481916216714326362","121530941554298604575725951597369116772"],"threshold":0.9}},{"source":"https://github.com/bcgit/bc-java/commit/99ddc6dcc6782e6a76b0dd587c77e62eb7096ad0","target":{"file":"pkix/src/test/java/org/bouncycastle/cms/test/NewSignedDataTest.java"},"deprecated":false,"digest":{"line_hashes":["233145579337384555099388054335852575167","21237510385395960419545504823732864560","265941787911752798204147949586928044707","173357824411875291744095258129490624732","262883071587641562138437333417383305146","167582624819181027626166757036210382268"],"threshold":0.9},"id":"CVE-2026-59639-f647c08e","signature_type":"Line","signature_version":"v1"}]}}],"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:H/VA:N/SC:N/SI:N/SA:N/U:Amber"}]}