CVE & CISA-KEV Catalog

CVE-2025-66578

MEDIUM
6.0
CVSS v3
NVD

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.

How to fix

Remediation Available
xmlseclibsNVD
Affected:< 3.1.4Fixed in:3.1.4CVE-2025-66578derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L

Exploit Intelligence

0.22%probability of exploitation in 30 days
12thpercentile

Low risk: more likely to be exploited than 12% of all known CVEs.

References

Exploit1
Product1

Related Vulnerabilities

Other CWE-248 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-37714High7.56.9%-Fix
CVE-2025-53366Unscored-5.7%--
CVE-2018-11466Critical9.84.0%--
CVE-2025-59465High7.53.8%-Fix
CVE-2018-7852High7.53.6%--
CVE-2020-6019High7.52.8%-Fix
Embed a live status badge for CVE-2025-66578
CVE-2025-66578 severity badge

Markdown

[![CVE-2025-66578](https://tridentstack.com/cve/badge/CVE-2025-66578.svg)](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 free

This 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.