Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Xml\ | \ | >= 0.27, <= 0.67, sig_project |
Related Weaknesses (CWE)
References
- https://github.com/perl-net-saml2/perl-XML-Sig/issues/63Issue TrackingPatch
- https://github.com/perl-net-saml2/perl-XML-Sig/pull/64Issue Tracking
FAQ
What is CVE-2025-40934?
CVE-2025-40934 is a vulnerability with a CVSS score of 9.3 (CRITICAL). 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 chec...
How severe is CVE-2025-40934?
CVE-2025-40934 has been rated CRITICAL with a CVSS base score of 9.3/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-40934?
Check the references section above for vendor advisories and patch information. Affected products include: Xml\ \.