BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-66578 in Xmlseclibs Project Xmlseclibs

High 7.5

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS0.4%
EPSS percentile26th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Xmlseclibs Project Xmlseclibs < 3.1.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-66578
BreachSpider IDBS-2025-GLOBAL-028946-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2025-12-09
Last modified2026-10-07
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-248: CWE-248

Analysis AI-written, not human-reviewed

xmlseclibs version 3.1.3 contains an authentication bypass vulnerability due to a flaw in the libxml2 canonicalization process during document transformation, which can lead to unauthorized access.

An attacker can exploit this vulnerability by providing an invalid XML input to the libxml2 canonicalization process, causing it to return an empty string. xmlseclibs then incorrectly processes this empty string, potentially bypassing authentication checks.

Questions

What is CVE-2025-66578?

xmlseclibs version 3.1.3 contains an authentication bypass vulnerability due to a flaw in the libxml2 canonicalization process during document transformation, which can lead to unauthorized access.

What is the CVSS score for CVE-2025-66578?

CVE-2025-66578 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.4%.

Is CVE-2025-66578 actively exploited?

No confirmed active exploitation of CVE-2025-66578 as of 2026-10-08.

How do I remediate CVE-2025-66578?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2025-66578?

CVE-2025-66578 affects Xmlseclibs Project Xmlseclibs.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Xmlseclibs Project","product":"Xmlseclibs","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-07.