Skip to main content
← All vulnerabilities
CVE-2025-40934

XML-Sig prior to 0.68 for Perl improperly validates XML without signatures

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.68
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • XML-Sig

    From 0.27 · fixed in 0.68

References 2

GitHub · perl-net-saml2/perl-XML-Sig