{"id":"CVE-2026-59641","summary":"S/MIME validator trusts signer-asserted signingTime for path validation","details":"In Bouncy Castle for Java before 1.85, S/MIME validator trusts signer-asserted signingTime for path validation. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcmail-fips and bcjmail-fips 1.0.7 (1.0.X series), 2.0.7 (2.0.X series) and 2.1.7 (2.1.X series).","modified":"2026-09-04T08:12:02.699685Z","published":"2026-08-03T00:54:21.151Z","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-345"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59641.json","unresolved_ranges":[{"extracted_events":[{"introduced":"1.0.0"},{"fixed":"1.0.7"},{"introduced":"2.0.0"},{"fixed":"2.0.7"},{"introduced":"2.1.0"},{"fixed":"2.1.7"},{"introduced":"1.0.4"},{"fixed":"1.0.7"},{"introduced":"2.0.0"},{"fixed":"2.0.7"},{"introduced":"2.1.0"},{"fixed":"2.1.7"}],"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-59641.json"},{"type":"ADVISORY","url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059641"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59641"},{"type":"FIX","url":"https://github.com/bcgit/bc-java/commit/2f81b22d559b3a1b026388e1ca78dd547384def8"},{"type":"FIX","url":"https://github.com/bcgit/bc-java/commit/fd89fe918b37fea1c71e95fae50284a325b09721"},{"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":"2f81b22d559b3a1b026388e1ca78dd547384def8"},{"fixed":"fd89fe918b37fea1c71e95fae50284a325b09721"}],"database_specific":{"cpe":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.85"}],"source":["CPE_RANGE","REFERENCES"]}},{"type":"GIT","repo":"https://github.com/bcgit/bc-lts-java","events":[{"introduced":"468b5082f3f0971e80bf9edb7029c17b39b9ba0c"},{"fixed":"f101b232c5d3e07ecdd504210a57e43831d6cd65"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.73.0"},{"fixed":"2.73.12"},{"introduced":"0"},{"last_affected":"2.73.11"}]}}],"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-59641.json","vanir_signatures_modified":"2026-09-04T08:12:02Z","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/2f81b22d559b3a1b026388e1ca78dd547384def8","target":{"file":"mail/src/main/java/org/bouncycastle/mail/smime/validator/SignedMailValidator.java","function":"validateSignatures"},"deprecated":false,"digest":{"function_hash":"155941734944056653406735003052750441390","length":3295},"id":"CVE-2026-59641-4ce1d97a"},{"digest":{"line_hashes":["207747212477977674939160107484409524562","107893303612767664607659532509950872690","294478676154263065746793644695584953367","332400467954034174403488105896051707945","166684533282393669024848663329306582191","96550477364359879753081134070507738357","168657255977431037477757282589490177995","37561944842681533658117429161957455635","2424365952130970358314372267581488836","117233453173016214895009441861771869818"],"threshold":0.9},"id":"CVE-2026-59641-500e27e4","signature_type":"Line","signature_version":"v1","source":"https://github.com/bcgit/bc-java/commit/2f81b22d559b3a1b026388e1ca78dd547384def8","target":{"file":"mail/src/main/java/org/bouncycastle/mail/smime/validator/SignedMailValidator.java"},"deprecated":false},{"source":"https://github.com/bcgit/bc-java/commit/2f81b22d559b3a1b026388e1ca78dd547384def8","target":{"file":"mail/src/test/java/org/bouncycastle/mail/smime/test/SignedMailValidatorTest.java"},"deprecated":false,"digest":{"line_hashes":["228157656341731385850742172751817324824","290129525889320755044275395950464241156","294668419834152063851279272971834535051","253161207035509057598500743690836244561","94813197025758984023770005944599136668","178355299770964173506783650204454382780","56451136722370907714138023583556541414","204760115266163874667798439061488386767","155473473083933483057874227626324505678","331709184139310507183578503100177529422","253480188392965481826996684238270823098","92171346442195647531110981406242470117","268605583759103205374674123933920557055"],"threshold":0.9},"id":"CVE-2026-59641-ebfae1b3","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"}]}