Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcmail-fips
  4. ›
  5. CVE-2026-59641

CVE-2026-59641: S/MIME validator trusts signer-asserted signingTime for path validation

August 3, 2026 (updated September 16, 2026)

Affects Bouncy Castle for Java FIPS (BC-FJA) bcmail-fips before 1.0.7 (1.0.X series), 2.0.7 (2.0.X series) and 2.1.7 (2.1.X series). The S/MIME validator takes the signingTime signed attribute and uses it as the validation date for certificate expiry and CRL checks. Because the signer chooses that timestamp, and it is never compared against the current time nor required to come from an RFC 3161 token, an instant before the revocation date downgrades revocation to a notification rather than an error. An attacker holding an expired or revoked key can back-date signatures and have them reported as valid.

References

  • github.com/bcgit/bc-java/commit/2f81b22d559b3a1b026388e1ca78dd547384def8
  • github.com/bcgit/bc-java/commit/fd89fe918b37fea1c71e95fae50284a325b09721
  • github.com/bcgit/bc-java/wiki/CVE-2026-59641
  • nvd.nist.gov/vuln/detail/CVE-2026-59641

Code Behaviors & Features

Detect and mitigate CVE-2026-59641 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.0.7, all versions starting from 2.0.5 before 2.0.7, all versions starting from 2.1.6 before 2.1.7

Fixed versions

  • 1.0.7
  • 2.0.7
  • 2.1.7

Solution

Upgrade to versions 1.0.7, 2.0.7, 2.1.7 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

maven/org.bouncycastle/bcmail-fips/CVE-2026-59641.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:37 +0000.