CVE-2026-59641

S/MIME validator trusts signer-asserted signingTime for path validation

Published Aug 3, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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).

Analysis

AI-generated

Technical impact

In Bouncy Castle for Java prior to version 1.85, the S/MIME validator uses the signingTime presented by the signer as part of the certificate path validation. This flaw means an attacker can deliver a signature with a manipulated signingTime, which the validator accepts. The result is a bypass of certificate life‑time checks, potentially allowing certificates that should be expired or revoked to be treated as valid. The weakness falls under CWE-345, a flaw that allows an attacker to manipulate a signed data field to subvert validation logic.

Affected Systems

Affected products are Bouncy Castle for Java (BC-JAVA) before 1.85, Bouncy Castle for Java LTS (BC-LTS-JAVA) before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before specific releases: 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). All these products are distributed by the Legion of the Bouncy Castle Inc.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. EPSS information is not available, so the exact likelihood of exploitation cannot be quantified, but the vulnerability is not listed in CISA's KEV catalog. Attackers can exploit the flaw by supplying an S/MIME message that contains an attacker‑crafted signingTime to influence path validation. If a vulnerable application accepts such a message, it may later trust a forged certificate chain, compromising authentication and integrity of communications.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade all Bouncy Castle Java libraries to a fixed release: version 1.85 or later for BC-JAVA, 2.73.12 or later for BC-LTS-JAVA, and bcmail‑fips/ bcjmail‑fips 1.0.7 or later, 2.0.7 or later, or 2.1.7 or later for BC-FJA.
  • Replace the old JARs and rebuild the application to ensure the updated libraries are in use.
  • After the upgrade, validate S/MIME path validation by testing with a message that includes a forged signingTime to confirm the validator no longer trusts signer‑asserted values.

Generated by OpenCVE AI on August 3, 2026 at 09:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Bouncycastle
Bouncycastle bc-java
Bouncycastle bcjmail-fips
Bouncycastle bcmail-fips
Bouncycastle bouncy Castle For Java Lts
CPEs cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bcjmail-fips:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bcmail-fips:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*
Vendors & Products Bouncycastle
Bouncycastle bc-java
Bouncycastle bcjmail-fips
Bouncycastle bcmail-fips
Bouncycastle bouncy Castle For Java Lts
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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).
Title S/MIME validator trusts signer-asserted signingTime for path validation
Weaknesses CWE-345
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity

Sources

Status
PUBLISHED
Assigner
bcorg
Published
Updated
Aug 3, 2026, 1:26 PM
Reserved
Jul 6, 2026, 6:58 AM
Status
Analyzed
Published
Aug 3, 2026, 1:16 AM
Modified
Aug 28, 2026, 6:09 PM