CVE-2025-66578
Last modified
CVE-2025-66578 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xmlseclibs Project | Xmlseclibs | < 3.1.4 |
References
- https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-66578?
How severe is CVE-2025-66578?
How do I fix CVE-2025-66578?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-66572Loaded Commerce 6.6 contains a client-side template injectio…6.9
- CVE-2025-66573Solstice Pod API (version 5.5, 6.2) contains an unauthentica…7.5
- CVE-2025-66574TranzAxis 3.2.41.10.26 allows authenticated users to inject …5.4
- CVE-2025-66575VeeVPN 1.6.1 contains an unquoted service path vulnerability…7.8
- CVE-2025-66576Remote Keyboard Desktop 1.0.1 enables remote attackers to ex…9.8
- CVE-2025-66577cpp-httplib is a C++11 single-file header-only cross platfor…5.3
- CVE-2025-6658PDF-XChange Editor PRC File Parsing Out-Of-Bounds Read Infor…3.3
- CVE-2025-66580Dive is an open-source MCP Host Desktop Application that ena…9.6
- CVE-2025-66581Frappe Learning Management System (LMS) is a learning system…6.5
- CVE-2025-66584Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-66585In AzeoTech DAQFactory release 20.7 (Build 2555), a use afte…7.8
- CVE-2025-66586In AzeoTech DAQFactory release 20.7 (Build 2555), an access …7.8
Are you affected by CVE-2025-66578?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
