Skip to main content
CVE-2025-66578VulnerabilityPublished Updated

robrichards/xmlseclibs has an Libxml2 Canonicalization error which can bypass Digest/Signature validation

Affects robrichards/xmlseclibsSource GCVE Database

0
Compare
Authoritative record:CVE-2025-66578· Medium 6.0

Not known to be exploited · CVSS 6.0 Medium : upgrade to 3.1.4 when convenient.

Data as of 27 Nov 2026, 05:06 UTC

CVSS 3.1 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.0
Patch
Available – fixed in 3.1.4
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade robrichards/xmlseclibs to 3.1.4.

Affected software

ProductAffectedFixed in
Packagistrobrichards/xmlseclibsAffected
  • <3.1.4
Fixed in
  • 3.1.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in version 3.1.4 of robrichards/xmlseclibs that fixes this issue. Users should upgrade to version 3.1.4 or later. The recommended remediation is to treat canonicalization failures—such as exceptions or empty/nil outputs—as fatal and abort validation. Explicit checks should be added to reject or raise errors when canonicalization returns an empty or nil result.

Description

A vulnerability in robrichards/xmlseclibs prior to version 3.1.4 allows an attacker to bypass digest and signature validation due to a flaw in libxml2's canonicalization process. When canonicalization returns an empty string on invalid XML input, xmlseclibs incorrectly treats this as valid, enabling signature replay attacks. This can allow reuse of a previously valid signature to bypass authentication checks.

References

Community reviews

Loading reviews…