CVE-2025-40934: XML-Sig prior to 0.68 for Perl improperly validates XML without signatures

Published Nov 26, 2025
·
Updated

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 Software

2 affected components
XML-Sig XML-Sig<0.68, >=0.27<0.67
Xml\ \>=0.27<=0.67

Remediation

Information

Upgrade to version 0.68

Event History

Nov 26, 2025
CVE Published
via MITRE·10:34 PM
Data Sourced
via MITRE·10:34 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-40934?

CVE-2025-40934 is considered a high severity vulnerability due to its potential to allow attackers to bypass XML signature validation.

2

How do I fix CVE-2025-40934?

To fix CVE-2025-40934, update to XML-Sig version 0.68 or later where the validation of signatures has been corrected.

3

Who is affected by CVE-2025-40934?

CVE-2025-40934 affects users of XML-Sig versions 0.27 through 0.67 for Perl.

4

What is the impact of CVE-2025-40934?

The impact of CVE-2025-40934 allows an attacker to submit unsigned XML documents that pass verification, potentially leading to unauthorized actions.

5

What is XML-Sig in relation to CVE-2025-40934?

XML-Sig is a Perl module designed to validate signatures on XML documents, which is compromised in CVE-2025-40934 if the required signatures are omitted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203