目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-71887— OpenPGP 签名子键无交叉认证漏洞

一分钟漏洞结论

影响对象
Legion of the Bouncy Castle Inc. BC-JAVA
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

以下是对该漏洞描述信息的中文翻译: 在 Bouncy Castle for Java 1.86 版本之前,其高层 OpenPGP API 接受了一种由子签名密钥(signing subkey)生成的数据签名,该子密钥的子密钥绑定签名(Subkey Binding signature)中不包含嵌入的主密钥绑定签名(Primary Key Binding signature,即交叉认证签名),前提是这种绑定中省略了密钥标志(Key Flags)子包。RFC 9580 第 5.2.1.8 节和第 10.1.3 节规定,任

CVSS 8.2 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-71887 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
OpenPGP data signature accepted from a signing subkey without cross-certification
来源: CVE Program / CVE List V5
Vulnerability 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.
来源: CVE Program / CVE List V5
CVSS Information
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
来源: CVE Program / CVE List V5
Vulnerability Type
密码学签名的验证不恰当
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Legion of the Bouncy Castle Inc. BC-JAVA 1.81 ~ 1.86 -

二、漏洞 CVE-2026-71887 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-71887 的情报信息

请登录查看更多情报信息。

CVE-2026-71887 其他参考 (2)

同批安全公告 · Legion of the Bouncy Castle Inc. · 2026-10-03 · 共 12 条

CVE-2026-71885 9.2 CRITICAL MLS X.509凭证未绑定到LeafNode签名密钥
CVE-2026-71888 8.7 HIGH CMS 认证数据暴露攻击者插入的authAttrs
CVE-2026-71889 8.7 HIGH PKIXCertPathReviewer X.509名称约束绕过漏洞
CVE-2026-71890 8.7 HIGH MLS外部提交可移除任意组成员漏洞
CVE-2026-85515 8.2 HIGH OpenPGP消息截断未报告,绕过SEIPDv1完整性检查
CVE-2026-71883 8.2 HIGH Native AES密文解析器泄露原始AES密钥
CVE-2026-71886 8.2 HIGH OpenPGP 子键无证书认证漏洞
CVE-2026-71891 7.1 HIGH BLS12-381 密钥验证接受基于外部曲线的公钥
CVE-2026-71892 6.9 MEDIUM RFC 9709 HKDF派生密钥未执行CMS密钥传输接收方密钥大小验证
CVE-2026-18040 5.9 MEDIUM HQC 通过秘密索引表和采样器泄露私钥信息
CVE-2026-97873 5.3 MEDIUM JCA原始提供程序未限制PBES1和PKCS#12迭代次数

IV. Related Vulnerabilities

V. Comments for CVE-2026-71887

暂无评论


发表评论