Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-71887

published high CVSS 4.0 · 8.2

OpenPGP data signature accepted from a signing subkey without cross-certification

Published
03 Oct 2026, 08:39:07 UTC
Updated
05 Oct 2026, 16:04:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Legion of the Bouncy Castle Inc. — bcpgBC-JAVA · 1.81 to < 1.86 · Other versions: unaffected · Platforms: all Affected Not stated bcorg
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE SLE-15-SP4 bouncycastlenoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP4 bouncycastle-pgnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP4 bouncycastle-pkixnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP4 bouncycastle-utilnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP5 bouncycastlenoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP5 bouncycastle-pgnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
Show 82 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP5 bouncycastle-pkixnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP5 bouncycastle-utilnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP6 bouncycastlenoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP6 bouncycastle-pgnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP6 bouncycastle-pkixnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP6 bouncycastle-utilnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP7 bouncycastlenoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP7 bouncycastle-pgnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP7 bouncycastle-pkixnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-15-SP7 bouncycastle-utilnoarch Advisory build 1.86-150200.3.41.1 SUSE-SU-2026:4797-1
SUSE / openSUSE SLE-16 bouncycastlenoarch Advisory build 1.86-160000.1.1 SUSE-SU-2026:24461-1
SUSE / openSUSE SLE-16 bouncycastlenoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24888-1
SUSE / openSUSE SLE-16 bouncycastlenoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24943-1
SUSE / openSUSE SLE-16 bouncycastle-javadocnoarch Advisory build 1.86-160000.1.1 SUSE-SU-2026:24461-1
SUSE / openSUSE SLE-16 bouncycastle-javadocnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24888-1
SUSE / openSUSE SLE-16 bouncycastle-javadocnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24943-1
SUSE / openSUSE SLE-16 bouncycastle-jmailnoarch Advisory build 1.86-160000.1.1 SUSE-SU-2026:24461-1
SUSE / openSUSE SLE-16 bouncycastle-jmailnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24888-1
SUSE / openSUSE SLE-16 bouncycastle-jmailnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24943-1
SUSE / openSUSE SLE-16 bouncycastle-mailnoarch Advisory build 1.86-160000.1.1 SUSE-SU-2026:24461-1
SUSE / openSUSE SLE-16 bouncycastle-mailnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24888-1
SUSE / openSUSE SLE-16 bouncycastle-mailnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24943-1
SUSE / openSUSE SLE-16 bouncycastle-pgnoarch Advisory build 1.86-160000.1.1 SUSE-SU-2026:24461-1
SUSE / openSUSE SLE-16 bouncycastle-pgnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24888-1
SUSE / openSUSE SLE-16 bouncycastle-pgnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24943-1
SUSE / openSUSE SLE-16 bouncycastle-pkixnoarch Advisory build 1.86-160000.1.1 SUSE-SU-2026:24461-1
SUSE / openSUSE SLE-16 bouncycastle-pkixnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24888-1
SUSE / openSUSE SLE-16 bouncycastle-pkixnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24943-1
SUSE / openSUSE SLE-16 bouncycastle-tlsnoarch Advisory build 1.86-160000.1.1 SUSE-SU-2026:24461-1
SUSE / openSUSE SLE-16 bouncycastle-tlsnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24888-1
SUSE / openSUSE SLE-16 bouncycastle-tlsnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24943-1
SUSE / openSUSE SLE-16 bouncycastle-utilnoarch Advisory build 1.86-160000.1.1 SUSE-SU-2026:24461-1
SUSE / openSUSE SLE-16 bouncycastle-utilnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24888-1
SUSE / openSUSE SLE-16 bouncycastle-utilnoarch Advisory build 1.86-160100.1.1 SUSE-SU-2026:24943-1
SUSE / openSUSE openSUSE-Leap-16.0 bouncycastlenoarch Advisory build 1.86-160000.1.1 OPENSUSE-SU-2026:22169-1
SUSE / openSUSE openSUSE-Leap-16.0 bouncycastle-javadocnoarch Advisory build 1.86-160000.1.1 OPENSUSE-SU-2026:22169-1
SUSE / openSUSE openSUSE-Leap-16.0 bouncycastle-jmailnoarch Advisory build 1.86-160000.1.1 OPENSUSE-SU-2026:22169-1
SUSE / openSUSE openSUSE-Leap-16.0 bouncycastle-mailnoarch Advisory build 1.86-160000.1.1 OPENSUSE-SU-2026:22169-1
SUSE / openSUSE openSUSE-Leap-16.0 bouncycastle-pgnoarch Advisory build 1.86-160000.1.1 OPENSUSE-SU-2026:22169-1
SUSE / openSUSE openSUSE-Leap-16.0 bouncycastle-pkixnoarch Advisory build 1.86-160000.1.1 OPENSUSE-SU-2026:22169-1
SUSE / openSUSE openSUSE-Leap-16.0 bouncycastle-tlsnoarch Advisory build 1.86-160000.1.1 OPENSUSE-SU-2026:22169-1
SUSE / openSUSE openSUSE-Leap-16.0 bouncycastle-utilnoarch Advisory build 1.86-160000.1.1 OPENSUSE-SU-2026:22169-1
SUSE / openSUSE openSUSE-Leap-16.1 bouncycastlenoarch Advisory build 1.86-160100.1.1 OPENSUSE-SU-2026:22382-1
SUSE / openSUSE openSUSE-Leap-16.1 bouncycastle-javadocnoarch Advisory build 1.86-160100.1.1 OPENSUSE-SU-2026:22382-1
SUSE / openSUSE openSUSE-Leap-16.1 bouncycastle-jmailnoarch Advisory build 1.86-160100.1.1 OPENSUSE-SU-2026:22382-1
SUSE / openSUSE openSUSE-Leap-16.1 bouncycastle-mailnoarch Advisory build 1.86-160100.1.1 OPENSUSE-SU-2026:22382-1
SUSE / openSUSE openSUSE-Leap-16.1 bouncycastle-pgnoarch Advisory build 1.86-160100.1.1 OPENSUSE-SU-2026:22382-1
SUSE / openSUSE openSUSE-Leap-16.1 bouncycastle-pkixnoarch Advisory build 1.86-160100.1.1 OPENSUSE-SU-2026:22382-1
SUSE / openSUSE openSUSE-Leap-16.1 bouncycastle-tlsnoarch Advisory build 1.86-160100.1.1 OPENSUSE-SU-2026:22382-1
SUSE / openSUSE openSUSE-Leap-16.1 bouncycastle-utilnoarch Advisory build 1.86-160100.1.1 OPENSUSE-SU-2026:22382-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastleaarch64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastleppc64le Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastles390x Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastlex86_64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-javadocaarch64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-javadocppc64le Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-javadocs390x Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-javadocx86_64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-jmailaarch64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-jmailppc64le Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-jmails390x Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-jmailx86_64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-mailaarch64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-mailppc64le Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-mails390x Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-mailx86_64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-pgaarch64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-pgppc64le Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-pgs390x Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-pgx86_64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-pkixaarch64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-pkixppc64le Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-pkixs390x Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-pkixx86_64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-tlsaarch64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-tlsppc64le Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-tlss390x Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-tlsx86_64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-utilaarch64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-utilppc64le Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-utils390x Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1
SUSE / openSUSE openSUSE-Tumbleweed bouncycastle-utilx86_64 Advisory build 1.86-1.1 OPENSUSE-SU-2026:12090-1

Description

In Bouncy Castle for Java before 1.86, the high-level OpenPGP API accepted a data signature made by a signing subkey whose Subkey Binding signature carried no embedded Primary Key Binding (cross-certification) signature, in the case where that binding omits a Key Flags subpacket. RFC 9580 sec. 5.2.1.8 and sec. 10.1.3 require the embedded Primary Key Binding signature on any subkey that can issue signatures; it is the subkey's own statement that it belongs to the primary key it is bound under. OpenPGPCertificate resolved the subkey's key flags two different ways. isSigningKey() goes through getKeyFlags() and getApplyingSubpacket(), which falls back to the primary key's direct-key or primary User ID self-signature when the binding signature omits the subpacket, so the subkey inherited the primary's SIGN_DATA and counted as signing-capable; verifyEmbeddedPrimaryKeyBinding(), which enforces the requirement, reads the binding signature's own hashed subpackets, found no SIGN_DATA there, and returned early as a non-signing key without ever demanding the back signature. The same subkey was therefore signing-capable - so its signatures were attributed to the certificate and OpenPGPSignature.OpenPGPDocumentSignature.isValid() returned true - while being exempt from cross-certification, where GnuPG refuses the identical certificate and message. An attacker needs only the victim's public signing subkey, which is public material: they bind it to their own primary key with a Subkey Binding signature they are able to make, carrying no Key Flags and no embedded Primary Key Binding signature, which they cannot make without the subkey's private key, and a relying party verifying one of the victim's genuinely signed messages against that certificate is told the signature is valid and given the attacker's certificate as its issuer. Because a certificate's User IDs are self-asserted, a verifier that pins on the subkey's fingerprint or key ID while taking the identity from the enclosing certificate reports a real signature under an attacker-chosen identity. This is misattribution of a genuine signature rather than forgery of a new one: no private key is recovered, and the signature must be one the grafted subkey actually made. The low-level PGPSignature / PGPPublicKeyRing API performs no binding checks by design and is unaffected. Key Flags are a statement about the key the carrying signature refers to (RFC 9580 sec. 5.2.3.29), so a subkey no longer inherits them from the certificate-wide signatures of the primary key: a Subkey Binding signature that omits the subpacket now leaves the subkey with no capabilities rather than the primary's, which makes the flags the cross-certification check consults the same flags every other decision consults. Preferences and the other subpackets a direct-key signature carries are inherited as before, and the primary key itself, whose flags legitimately come from its own direct-key or User ID self-signature, is unaffected.

en · bcorg · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.2 / 10
Severity
high
Provider
bcorg · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Legion of the Bouncy Castle Inc. BC-JAVA 1.81 to < 1.86 (affected · maven)Default: unaffected bcorg · cna

Weaknesses

2
  • CWE-347 CWE-347 Improper Verification of Cryptographic Signature (bcorg · cna)
  • CWE-345 CWE-345 Insufficient Verification of Data Authenticity (bcorg · cna)

References

2

Provider assertions

2

bcorg · cna

OpenPGP data signature accepted from a signing subkey without cross-certification

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
52d207a4a7fb8070b66ef8d5faeea88427a7524b961c386b06c3d793e5a8cf92
Ingested
05 Oct 2026, 17:10:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected