CVE-2025-66578
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
Exploit Intelligence
Low risk: more likely to be exploited than 12% of all known CVEs.
References
Related Vulnerabilities
Other CWE-248 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2021-37714 | High | 7.5 | 6.9% | - | Fix |
| CVE-2025-53366 | Unscored | - | 5.7% | - | - |
| CVE-2018-11466 | Critical | 9.8 | 4.0% | - | - |
| CVE-2025-59465 | High | 7.5 | 3.8% | - | Fix |
| CVE-2018-7852 | High | 7.5 | 3.6% | - | - |
| CVE-2020-6019 | High | 7.5 | 2.8% | - | Fix |
Embed a live status badge for CVE-2025-66578
Markdown
[](https://tridentstack.com/cve/CVE-2025-66578)HTML
<a href="https://tridentstack.com/cve/CVE-2025-66578"><img src="https://tridentstack.com/cve/badge/CVE-2025-66578.svg" alt="CVE-2025-66578"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-11.