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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-48057— Botan matches_dn 目录名约束绕过漏洞

一分钟漏洞结论

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

Botan 是一个 C++ 密码学库。在 3.13.0 版本之前,Botan 的 X.509 可区分名称(Distinguished Name, DN)解码器会将每个相对可区分名称(Relative Distinguished Name, RDN)中的属性 - 值断言(Attribute-Value Assertions)进行扁平化处理,从而在实施 DN 名称约束(name-constraint)之前丢失了多值 RDN 的分组信息。若攻击者控制了一个设置了名称约束的中间证书颁发机构(CA),则其可签发一份包含多值

CVSS 2.1 · Low

可能的 ATT&CK 技术 1 AI

T1603
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Botan: directoryName nameConstraint bypass via multi-AVA RDN flattening in matches_dn
来源: CVE Program / CVE List V5
Vulnerability Description
Botan is a C++ cryptography library. Prior to 3.13.0, Botan's X.509 Distinguished Name decoder flattens the Attribute-Value Assertions in each Relative Distinguished Name and loses multi-value RDN grouping before DN name-constraint enforcement. An attacker controlling a name-constrained intermediate CA can issue a certificate with a multi-value RDN whose first Common Name matches the permitted constraint and whose second Common Name is attacker-chosen, causing the constraint check to accept the flattened first value. If the certificate contains no subjectAlternativeName extension, the second Common Name can then be accepted as a hostname; Botan does not fall back to Common Name hostname matching when any subjectAlternativeName is present. The exposure is limited to deployments using DN name constraints, which are uncommon outside internal PKIs, and to certificates without a subjectAlternativeName. This issue is fixed in version 3.13.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
证书验证不恰当
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
randombit botan < 3.13.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-48057 其他参考 (3)

IV. Related Vulnerabilities