CVE-2026-59643

OpenPGP inline-signature policy failures silently ignored

Published Aug 3, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
In Bouncy Castle for Java before 1.85, OpenPGP inline-signature policy failures silently ignored. This issue also affects Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 2.0.13.

Analysis

AI-generated

Technical impact

Bouncy Castle for Java (BC-JAVA) and the Java FIPS variant (BC-FJA) contain a flaw in which policy failures for OpenPGP inline signatures are silently ignored. The library commits to a signature policy but falls back to processing the data without notifying the caller when the policy is violated. This means that a malformed or unsigned inline signature can be accepted as valid, effectively bypassing integrity checks. The issue has no restrictions on the attacker’s location; any source that can supply data to the affected application can trigger the failure.

Affected Systems

All installations of Bouncy Castle for Java older than version 1.85 and Bouncy Castle for Java FIPS (BC-FJA) before bcpg‑fips 2.0.13 that handle OpenPGP data with inline signatures are affected. Any Java application relying on these libraries to parse or validate PGP messages without additional policy enforcement is at risk.

Risk and Exploitability

The vulnerability scores a CVSS of 8.7, indicating high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers, whether local or remote, can craft data that appears to satisfy signature rules yet actually contains malicious content. If the consuming application accepts such data, it can lead to privilege escalation, premature execution of unauthenticated code, or other integrity‑related compromises. The lack of explicit notification makes detection difficult, increasing the likelihood that exploitation goes unnoticed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Bouncy Castle for Java 1.85 or later; for BC‑FJA upgrade to bcpg‑fips 2.0.13 or later. This is the official solution and removes the policy‑failure bug.
  • Verify that your application’s configuration explicitly enforces signature policy checks or enables the library’s strict mode if available. This mitigates any residual or undiscovered policy failures.
  • If an upgrade cannot be performed immediately, employ temporary containment by disabling inline signature handling or routing OpenPGP processing through a trusted isolated service that applies manual validation.

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 bcpg-fips
CPEs cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bcpg-fips:*:*:*:*:*:*:*:*
Vendors & Products Bouncycastle
Bouncycastle bc-java
Bouncycastle bcpg-fips
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-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, OpenPGP inline-signature policy failures silently ignored. This issue also affects Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 2.0.13.
Title OpenPGP inline-signature policy failures silently ignored
Weaknesses CWE-347
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-347

    Improper Verification of Cryptographic Signature

Sources

Status
PUBLISHED
Assigner
bcorg
Published
Updated
Aug 3, 2026, 1:28 PM
Reserved
Jul 6, 2026, 6:58 AM
Status
Analyzed
Published
Aug 3, 2026, 1:16 AM
Modified
Sep 10, 2026, 7:02 PM