Security mailing lists by PureSourceCode

CVE-2025-66578

HIGH 7.5CVSS 3.1

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

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.

Published
9 Dec 2025
Last modified
7 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-248
Also known as
GHSA-c4cc-x928-vjw9
Sources
NVDJSONOSV GHSA-c4cc-x928-vjw9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD xmlseclibs_project xmlseclibs
cpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:*
< 3.1.4 3.1.4
OSV Packagist robrichards/xmlseclibs < 3.1.4 3.1.4

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 9 Dec 2025)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.