Home

Description

XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted. An attacker can remove the signature from the XML document to make it pass the verification check. XML-Sig is a Perl module to validate signatures on XML files.  An unsigned XML file should return an error message.  The affected versions return true when attempting to validate an XML file that contains no signatures.

PUBLISHED Reserved 2025-04-16 | Published 2025-11-26 | Updated 2025-11-28 | Assigner CPANSec

Problem types

CWE-347 Improper Verification of Cryptographic Signature

Product status

Default status
unaffected

0.27 (custom) before 0.68
affected

Credits

gttds finder

References

github.com/perl-net-saml2/perl-XML-Sig/issues/63 issue-tracking

github.com/perl-net-saml2/perl-XML-Sig/pull/64 patch

cve.org (CVE-2025-40934)

nvd.nist.gov (CVE-2025-40934)

Download JSON