Security Advisories (1)
CVE-2025-40934 (2025-11-26)

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.

Changes for version 0.27

  • First release of XML::Sig since 2009
  • Includes all changes from Net::SAML2::XML::Sig. Please see History.md for the details of how XML::Sig has evolved
  • Fixes: RSA|DSAKeyValue have KeyValue element which prevented signatures from validating Fix issue validating with xmlsec in the test suite

Modules