Unrated severityNVD Advisory· Published Nov 26, 2025· Updated Nov 28, 2025
XML-Sig prior to 0.68 for Perl improperly validates XML without signatures
CVE-2025-40934
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.
Affected products
1- TIMLEGGE/XML::Sigv5Range: 0.27
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- github.com/perl-net-saml2/perl-XML-Sig/pull/64mitrepatch
- github.com/perl-net-saml2/perl-XML-Sig/issues/63mitreissue-tracking
News mentions
0No linked articles in our index yet.