CVE-2025-66578

MEDIUM
中文标题:
(暂无数据)
英文标题:
robrichards/xmlseclibs has an Libxml2 Canonicalization error which can bypass Digest/Signature validation
CVSS分数: 6.0
发布时间: 2025-12-09 02:41:19
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v2
漏洞描述
中文描述:

(暂无数据)

英文描述:

xmlseclibs is a library written in PHP for working with XML Encryption and Signatures. Versions 3.1.3 contain an authentication bypass vulnerability due to a flaw in the libxml2 canonicalization process during document transformation. When libxml2’s canonicalization is invoked on an invalid XML input, it may return an empty string rather than a canonicalized node. xmlseclibs then proceeds to compute the DigestValue over this empty string, treating it as if canonicalization succeeded. This issue is fixed in version 3.1.4. Workarounds include treating canonicalization failures (exceptions or nil/empty outputs) as fatal and aborting validation, and/or adding explicit checks to reject when canonicalize returns nil/empty or raises errors.

CWE类型:
CWE-248
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
robrichards xmlseclibs < 3.1.4 - - cpe:2.3:a:robrichards:xmlseclibs:<_3.1.4:*:*:*:*:*:*:*
xmlseclibs_project xmlseclibs * - - cpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9 x_refsource_CONFIRM
cve.org
访问
https://github.com/robrichards/xmlseclibs/commit/69fd63080bc47a8d51bc101c30b7cb756862d1d6 x_refsource_MISC
cve.org
访问
https://github.com/robrichards/xmlseclibs/blob/f4131320c6dcd460f1b0c67f16f8bf24ce4b5c3e/src/XMLSecurityDSig.php#L296 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
6.0
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
机密性
HIGH
完整性
LOW
可用性
LOW
时间信息
发布时间:
2025-12-09 02:41:19
修改时间:
2025-12-09 15:24:42
创建时间:
2026-01-12 02:12:25
更新时间:
2026-01-12 02:28:04
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-66578 2025-12-11 03:30:32 2026-01-12 02:12:25
NVD nvd_CVE-2025-66578 2025-12-12 03:21:36 2026-01-12 02:28:04
版本与语言
当前版本: v2
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v2 NVD
2026-01-12 02:28:04
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']