VDB

CVE-2025-66578

CVE-2025-66578 PUBLISHED CVSS 6 MEDIUM

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.

EPSS 0.03% · 9.7th percentile

Risk Scores

CVSS 3.1
6
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
EPSS Score
0.03%
9.7th percentile

Affected Products

VendorProductVersions
robrichardsxmlseclibs< 3.1.4
robrichardsxmlseclibs0
xmlseclibs_projectxmlseclibs0

Timeline

  • Dec 8, 2025 CVE Published
  • Dec 9, 2025 CVE Updated
  • Dec 9, 2025 EPSS Score
  • Dec 13, 2025 EPSS Score
  • Dec 17, 2025 EPSS Score
  • Dec 22, 2025 EPSS Score
  • Dec 26, 2025 EPSS Score
  • Dec 30, 2025 EPSS Score
  • Jan 3, 2026 EPSS Score
  • Jan 7, 2026 EPSS Score
  • Jan 12, 2026 EPSS Score
  • Jan 16, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›